joel abishai paul
joel abishai paul

Reputation: 257

Changing the look and feel of java gui components into the windows look and feel

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

Answers (2)

Marc-Christian Schulze
Marc-Christian Schulze

Reputation: 3254

See UIManager.

UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

Upvotes: 1

Jesper
Jesper

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

Related Questions