Look and feel in java

I work a lot with the look in Java and it works well, but the only problem is that the only component that has no changes is the caption, which still has the same os look (Windows as platform example)

I want to know what is the reason and how to fix it? any body helps ..........

early

+3
source share
4 answers

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

You can change the appearance of the header and maintain it using the support tools.

Here are some screenshots:

alt text

alt text

+6
source

PL & Fs , - . , - PL- Sun (, Metal) , PLtfrom-specific PL & F (, Windows) .

. , JFrame.setDefaultLookAndFeelDecorated. API , .

+1

, Frame/JFrame Window/JWindow. Frame/JFrame - Window/JWindow, , . , .

0

JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);

JFrame JDialog. .

0

Source: https://habr.com/ru/post/1731710/


All Articles