import java.awt.BorderLayout; import java.awt.Container; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.SwingUtilities; import frames.MainFrame; import panels.*; public class Main { // ------------------------------------------------------------------------- // public static void main(String[] args) { // ------------------------------------------------------------------------- // SwingUtilities.invokeLater(new Runnable() { public void run() { // generate window JFrame mainFrame = new MainFrame(); } }); // ------------------------------------------------------------------------- } }