Reputation: 257
It it possible to change the look and feel on Java GUI into the look and feel of your operating system such as windows? if so, then how do i do it?
Upvotes: 1
Views: 278
Reputation: 3254
See UIManager.
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Upvotes: 1
Reputation: 206776
Yes, see How to Set the Look and Feel in Oracle's Java Tutorials.
To set the look and feel to the current system look and feel:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Upvotes: 2