-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JOptionPane is not working with FlatLight or FlatDark Look and Feel #955
Comments
Thanks for the feedback. The example works for me too. Unfortunately, the same code doesn't work in the LibreOffice OXT that I'm programming. I have no idea what else I could try. |
Also have no idea... Did you use same JRE/JDK in both cases? Runs your LibreOffice OXT only in LibreOffice? |
The OXT runs only in LibreOffice. |
I tried your Example in the easiest way. Just open the OptionPane at a call of a button. The function is: I got the following error message: java.lang.Error: no ComponentUI class for: javax.swing.JOptionPane[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,icon=,initialValue=,message=Hello World,messageType=INFORMATION_MESSAGE,optionType=DEFAULT_OPTION,wantsInput=false] Do you have any idea? |
First of all, great work. I have integrated FlatLaf into my WritingTool project. My self-written dialogs work perfectly with FlatLaf. But when I open JOptionPane for short messages, error messages, etc., only the titles of the dialogs are displayed under Windows. Under Linux, the dialogs are so small that they are barely visible.
Is there a way (or a workaround) to get the JOptionPane methods to work?
The text was updated successfully, but these errors were encountered: