Anirudh Rayabharam Anirudh Rayabharam - 2 months ago 14
Java Question

How to get the windows native look in Java GUI programming?

I am new to Java programming and want to whether it is possible to get the windows native look in Java GUI applications. Obviously Swing won't work.

Answer

Use the following:

UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

Read UIManager and How to Set the Look and Feel for more information.

Comments