@Override
    public void run() {
        this.setPreferredSize(new Dimension(1024, 800));

        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

        luoKomponentit(this.getContentPane());

        this.pack();
        this.setVisible(true);
    }