Jatin
Jatin

Reputation: 31724

JFrame theme and appearance

I have a swing application. Below is a small screenshot. enter image description here

OS: Win 7

What is irritating is the theme. I have tried several other screens but they all have such appearance. Eclipse and Netbeans for example have a much better UI. The FileChooser and Frame is general is much pleasing. How do I have such a theme.

Thanks.

Upvotes: 8

Views: 27067

Answers (4)

oday
oday

Reputation: 31

there is many look and feels packages like :

1)JTattoo

2)BlueLight

3)joxy

4)Nimrod

5)Oyoaha

6)TinyLaf

....etc

you have to read about previous types

Upvotes: 3

Richard Taylor
Richard Taylor

Reputation: 2742

This will give you everything you want to know

http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html

UIManager.getSystemLookAndFeelClassName() will give you the most appropriate for the OS it's running on

Upvotes: 3

sreejit
sreejit

Reputation: 131

Looks like you are using the Metal Look and Feel. Try using some other look and feel that might interest you.

Refer http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html, for more information.

Upvotes: 3

Guillaume Polet
Guillaume Polet

Reputation: 47608

Change the look and feel to the Windows one before creating anything UI-related in your program:

UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

Upvotes: 20

Related Questions