Olá
Estou tendo problema com Look and Fee, não estou conseguindo mudar a aparecia.
Estou usando um JDK jdk1.7.0_07
Estou usando o seguinte código:
public static void main( String args[] )
{
GuiJMenu menu = new GuiJMenu();
[b] try {
for ( LookAndFeelInfo info : UIManager.getInstalledLookAndFeels() ) {
if ( "CDE/Motif".equals( info.getName() ) ) {
UIManager.setLookAndFeel( info.getClassName() );
break;
}
}
} catch ( UnsupportedLookAndFeelException exc ) {
exc.printStackTrace();
} catch ( ClassNotFoundException exc ) {
exc.printStackTrace();
} catch ( InstantiationException exc ) {
exc.printStackTrace();
} catch ( IllegalAccessException exc ) {
exc.printStackTrace();
} [/b]
menu.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
menu.setSize( 580, 200 );
menu.setVisible( true );
}
}