Why is my swing GUI different in design than at runtime?

When I draw my GUI using swing, the Swing control buttons are gray and the text is easy for them. However, when I run the program, the buttons turn partially blue and the text is no longer suitable for them. Why does my program look different in Swing design than at runtime?

+3
source share
2 answers

Why does my program look different in Swing design than at runtime?

Maybe something has something to do with your Look and Feel .

However, when I run the program, the buttons turn partially blue and the text is no longer suitable for them.

, , . , , LAF.

, , - . , SSCCE, .

+1

, - GUI-. NetBeans gui builder LaF, Metal LaF, . LaF , , .

0

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


All Articles