if(mainWindow.getWidth() > 250) mainWindow.setSize(250, mainWindow.getHeight());
    public void show()    {        super.show();        readFromRom();        initSelector();        mainWindow.pack();        mainWindow.setVisible(true);    }