DasSourceBrowser dasSource;
+ private WsPreferences wsPrefs;
+
/**
* Creates a new Preferences object.
*/
frame.setContentPane(this);
dasSource = new DasSourceBrowser();
dasPanel.add(dasSource, BorderLayout.CENTER);
-
+ wsPrefs = new WsPreferences();
+ wsPanel.add(wsPrefs, BorderLayout.CENTER);
int width = 500, height = 420;
if (new jalview.util.Platform().isAMac())
{
.toString(padGaps.isSelected()));
dasSource.saveProperties(Cache.applicationProperties);
-
+ wsPrefs.updateWsMenuConfig(false);
Cache.saveProperties();
try
{
{
try
{
+ wsPrefs.updateWsMenuConfig(true);
frame.setClosed(true);
} catch (Exception ex)
{