public void updateDialog(int mode, boolean doAutoLoadSelectedGeos) { this.mode = mode; dataSourcePanel.updatePanel(mode, doAutoLoadSelectedGeos); setLabels(); // setLocation(); pack(); }
public void setLabels() { setTitle(app.getMenu(app.getMenu("DataSource"))); lblTitle.setText(app.getToolName(mode)); lblTitle.setIcon(app.getModeIcon(mode)); btnCancel.setText(app.getMenu("Cancel")); btnOK.setText(app.getMenu("Analyze")); dataSourcePanel.setLabels(); }
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == btnOK) { dataSourcePanel.applySettings(); app.getGuiManager().setShowView(true, App.VIEW_DATA_ANALYSIS); app.setMoveMode(); setVisible(false); } else if (source == btnCancel) { app.setMoveMode(); setVisible(false); } }
public void updateFonts(Font font) { setFont(font); dataSourcePanel.updateFonts(font); GuiManagerD.setFontRecursive(this, font); }