import javax.swing.UIManager; public class SetLookAndFeelExample { public static void main(String[] args) { try { String className = UIManager.getSystemLookAndFeelClassName(); UIManager.setLookAndFeel(className); // set the look and feel } catch (Exception e) { e.printStackTrace(); } // your application code here } }In this example, the getSystemLookAndFeelClassName() method is used to get the fully qualified class name of the system's current look and feel. Then, the setLookAndFeel() method is used to set the application's look and feel to the same design that is used by the operating system. The package library for javax.swing.UIManager is the Java Development Kit (JDK), which is included in the Java Standard Edition (SE) package.