para cambiar el puro skin:
Código:
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
try {
SubstanceLookAndFeel.setSkin(skin);
} catch (Exception ex) {
}
}
});
para cambiar tambien el look and feel:
Código:
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
try {
UIManager.setLookAndFeel(lookAndFeel);
SubstanceLookAndFeel.setSkin(skin);
} catch (Exception ex) {
}
}
});