Is it a good idea to edit a JButton's interface by using css? If no, please specify alternatives. Thanks in advance.
Asked
Active
Viewed 468 times
1
-
possible duplicate of [CSS on Java Swing from Java Code](http://stackoverflow.com/questions/18398178/css-on-java-swing-from-java-code) – Hauke Ingmar Schmidt Jan 18 '14 at 08:00
1 Answers
1
Is it a good idea to edit a JButton's interface by using CSS?
No. While some Swing controls support HTML and simple styles, a button styled that way will lose the default disabled appearance.
If no, please specify alternatives.
Adjust the Pluggable Look and Feel.

Andrew Thompson
- 168,117
- 40
- 217
- 433