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

javaswinguser interfacewindows

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.

Best Answer

Use the following:

UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

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