源代码:
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 );
}
------解决方案--------------------
com.sun.java.swing.plaf.windows.WindowsLookAndFeel
大小写问题
------解决方案--------------------
同意楼上说的~~~~~~~
w-〉W