public class TestSwing extends JFrame {
private static final long serialVersionUID = 1L;
public TestSwing() {
this.setTitle("SubstanceLookAndFeel");
this.setVisible(true);
this.setSize(600, 400);
this.setLocationRelativeTo(this.getOwner());
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setIconImage(Toolkit.getDefaultToolkit().createImage(TestSwing.class.getResource("image388.png")));
// });
}
public static void main(String[] args) {
JFrame.setDefaultLookAndFeelDecorated(true);
// try {
// UIManager.setLookAndFeel(new SubstanceMistAquaLookAndFeel());
// }
// catch (Exception e) {
// System.out.println("Substance Raven Graphite failed to initialize");
// }
SubstanceLookAndFeel.setSkin(new BusinessBlackSteelSkin());
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new TestSwing();
// ts.setVisible(true);
}
});
}
}
private static final long serialVersionUID = 1L;
public TestSwing() {
this.setTitle("SubstanceLookAndFeel");
this.setVisible(true);
this.setSize(600, 400);
this.setLocationRelativeTo(this.getOwner());
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setIconImage(Toolkit.getDefaultToolkit().createImage(TestSwing.class.getResource("image388.png")));
// });
}
public static void main(String[] args) {
JFrame.setDefaultLookAndFeelDecorated(true);
// try {
// UIManager.setLookAndFeel(new SubstanceMistAquaLookAndFeel());
// }
// catch (Exception e) {
// System.out.println("Substance Raven Graphite failed to initialize");
// }
SubstanceLookAndFeel.setSkin(new BusinessBlackSteelSkin());
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new TestSwing();
// ts.setVisible(true);
}
});
}
}