* Create the GUI and show it. For thread safety,
* this method should be invoked from the
* event-dispatching thread.
*/
private static void createAndShowGUI() {
Main.frame = new MainFrame();
Main.frame.setSize(800, 600);
Main.frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
Main.frame.setLocationRelativeTo(frame.getParent());
Main.frame.setIconImage(new ImageIcon(Main.imgPath("stock_id.png")).getImage());
Main.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);