src/demo/TSP.java
private void initWindow() {
        JFrame.setDefaultLookAndFeelDecorated(true);
        jFrame = new JFrame("Travelling Salesman Problem (" + tour.size() + " cities)");
        jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        jFrame.setBackground(Color.white);
        jFrame.setSize(xWindowSize, yWindowSize);
        jFrame.add(tspPanel);
        jFrame.setVisible(true);
    }
/**
     * Initialized window for travelling salesman problem.
     *
     */
Initialized window for travelling salesman problem.
Initialized window for travelling salesman problem .
private void initWindow() {
        JFrame.setDefaultLookAndFeelDecorated(true);
        jFrame = new JFrame("Travelling Salesman Problem (" + tour.size() + " cities)");
        jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        jFrame.setBackground(Color.white);
        jFrame.setSize(xWindowSize, yWindowSize);
        jFrame.add(tspPanel);
        jFrame.setVisible(true);
    }
private void initWindow ( ) { JFrame . setDefaultLookAndFeelDecorated ( true ) ; jFrame = new JFrame ( "Travelling Salesman Problem (" + tour . size ( ) + " cities)" ) ; jFrame . setDefaultCloseOperation ( JFrame . EXIT_ON_CLOSE ) ; jFrame . setBackground ( Color . white ) ; jFrame . setSize ( xWindowSize , yWindowSize ) ; jFrame . add ( tspPanel ) ; jFrame . setVisible ( true ) ; }
Initialized window for travelling salesman problem.
Initialized window for travelling salesman problem .