this.setLocationByPlatform(true);
utils.setDefWinPos(this);
    private void initialize(boolean adminState) {        createActions(adminState);                this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);        this.setJMenuBar(getJJMenuBar());        this.setSize(644, 466);        this.setContentPane(getJContentPane());        this.setTitle(utils.AppName);        this.addWindowListener(new java.awt.event.WindowAdapter() {            private boolean saved = false;                        public void windowClosing(java.awt.event.WindowEvent e) {                doLogout();                menuViewListener.saveToOptions();                myopts.mainWinBounds = getBounds();                myopts.mainwinLastTab = getTabMain().getSelectedIndex();                                myopts.storeToFile(FaxOptions.getDefaultConfigFileName());                saved = true;                Launcher.releaseLock();                System.exit(0);            }                        @Override            public void windowClosed(WindowEvent e) {                if (!saved)                    windowClosing(null);            }        });        setIconImage(Toolkit.getDefaultToolkit().getImage(mainwin.class.getResource("icon.png")));                MyInit();                if (myopts.mainWinBounds != null)            this.setBounds(myopts.mainWinBounds);        else            this.setLocationByPlatform(true);                TabMain.setSelectedIndex(myopts.mainwinLastTab);        actChecker.doEnableCheck();            }