// Con queste definizioni dico che tutti i frame e i dialog prendono il tema Metal
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);
//
try
{
// Con questa imposto il tema
UIManager.setLookAndFeel(new MetalLookAndFeel());
}
catch(UnsupportedLookAndFeelException e)
{
e.printStackTrace();
}
// In questo modo tutte le finestre avranno il tema Metal
windows
Leave a Reply
You must be logged in to post a comment.