Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

look and feel in java

I work a lot with look and feel in java and it works well but the only problem that the only component that has no change is the title bar(caption) still have the same native look and feel of os(windows platform as example)

i want to know what's is the reason and how to fix this? any body help..........

thanks in advance

like image 670
ironman Avatar asked Dec 02 '25 21:12

ironman


2 Answers

Check out Substance https://substance.dev.java.net/see.html

You can change the title bar look and feel with substance support.

Here are a few screenshots:

alt text

alt text

like image 148
Massimo Fazzolari Avatar answered Dec 04 '25 11:12

Massimo Fazzolari


Some PL&Fs support rendering frame decorations, and some do not. I believe the Sun cross-platform PL&Fs (for instance Metal) support it, but platfrom-specific PL&F (for instance Windows) do not.

The feature is not on by default. To switch it on for all new frames use JFrame.setDefaultLookAndFeelDecorated. The API docs for the method show how to switch it on for frames individually.

like image 26
Tom Hawtin - tackline Avatar answered Dec 04 '25 11:12

Tom Hawtin - tackline



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!