-
-
Notifications
You must be signed in to change notification settings - Fork 28
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 - default button look #19
Comments
yes, looks great! |
I will work on a smarter way to change colors |
Hi @lilili87222, Ok I try to remove the projection effect and the icon will be removed in all the JOptionPane |
HI @lilili87222, No, I like the effect that joption bread has without edges, but you can set the border you like the most by editing UIManager, like this |
This bug is still present? |
The default button looks the same as a button in Focus. And it loses it's look as soon as a different button gains focus. So yes, I would say this hasn't been addressed completely. |
I will return to it |
Hi @lilili87222, I had an idea for creating the Joption pane cool, it's just an idea, I have to study the code to see if it's possible and I have to see if I can fix an error in swingx core, but I can try when I have time, in fact, if you want to help me we can work together to create an OpenSwingX ahahah. Sorry if I resume the speech, but I am native to java because in my course of study this language is dealt with swing technology and I dislike to know that I do not have the cool media available for my applications. |
@lilili87222, I tried to follow your advice with the JDialog look, I am happy is you send me the example for the effect button where this is the focus there are my last commit |
Swingx is another big project. As you said, keeping the skin properties of the material-ui-swing project, reducing the dependency as much as possible, and making the old project available, may be a good choice. Just like https://github.com/bulenkov/Darcula, a small jar can be used in various swing projects, which is great. |
I added this change This is the reference for the changes |
Hi @vincenzopalazzo, |
Hi @zanderson9, This change is in the program but get a version personalizable with swing in more difficult. Sorry. I have a question for you, can you open an issue with the screenshot the tabbed pane component material so I add the new label if any person wants to collaborate with us that adding a new support component. Thanks |
yes, I posted New Issue for the tabbed pane component. |
When using JOptionPane in Swing and specifying Ok and Cancel buttons in its constructor, Swing UI renders the buttons such that it is visually obvious which button is "default", for example, by drawing a rectangle around default (OK) button in a background.
Swing code example:
JOptionPane op =
new JOptionPane(
loginDialogContents,
JOptionPane.PLAIN_MESSAGE,
JOptionPane.OK_CANCEL_OPTION
);
This visual indicator of a default button is lost when using material-ui-swing library.
Same Option Pane displays both OK and Cancel the same way, user cannot tell which button is default.
Can the visual indicator of which button is default be restored with the "material" look under material-ui-swing?
The text was updated successfully, but these errors were encountered: