源代码:
public void jMenuItem1_actionPerformed(ActionEvent e) {
        
        this.plafName="com.sun.java.swing.plaf.windows.windowsLookAndFeel" ; 
        try{
            UIManager.setLookAndFeel(this.plafName ) ;
            SwingUtilities.updateComponentTreeUI(this);
            this.pack() ;
      
    }catch(Exception err){
       err.printStackTrace() ;
       
    }
    this.jTextField1 .setText(this.plafName ); 
    }