Пример #1
0
 /** Saves the values to the preferences */
 @Override
 public boolean ok() {
   pnlApiUrlPreferences.saveToPreferences();
   pnlAuthPreferences.saveToPreferences();
   pnlProxyPreferences.saveToPreferences();
   return false;
 }
Пример #2
0
 /** Initializes the configuration panel with values from the preferences */
 public void initFromPreferences() {
   pnlApiUrlPreferences.initFromPreferences();
   pnlAuthPreferences.initFromPreferences();
   pnlProxyPreferences.initFromPreferences();
 }