use of com.servoy.j2db.preference.ApplicationPreferences in project servoy-client by Servoy.
the class J2DBClient method showAppPrefs.
/**
* Show the application dialog
*/
public void showAppPrefs() {
if (ap == null) {
// $NON-NLS-1$
blockGUI(Messages.getString("servoy.client.status.loading.preferencepanels"));
// show cursor / hide menu
SwingHelper.dispatchEvents(300);
try {
ap = new ApplicationPreferences(this);
// Load all default tabs
loadPreferecesPanels(ap);
// Load plugins tabs
((ClientPluginManager) pluginManager).addPreferenceTabs(ap);
ap.pack();
ap.setLocationRelativeTo(mainPanel);
} finally {
releaseGUI();
}
}
ap.setVisible(true);
}
Aggregations