You're probably seeing the output from the classloader. Add a main
method to display the JFrame
itself
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
Design design = new Design();
design.pack();
design.setVisible(true);
}
});
}
You should see