@Override
    public void run() {
        frame = new JFrame("Graph Visualizer");
        frame.setPreferredSize(new Dimension(1024, 768));
        
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        
        initializeComponents(frame.getContentPane());
        
        frame.pack();
        frame.setVisible(true);
    }