this.setLocation((scrSize.width-dlgSize.width)/2,(scrSize.height-dlgSize.height)/2);
panelFarm = new PanelVidalFarmEdit(this, true);
tabs.add(panelFarm.getPageTitle(), panelFarm);
panelATC = new PanelVidalAtcEdit(this, true);
tabs.add(panelATC.getPageTitle(), panelATC);
panelMkb10 = new PanelMkb10VidalEdit(this, true);
tabs.add(panelMkb10.getPageTitle(), panelMkb10);
StateSaver.attachTo(this);