else { sound.setIcon(IconManager.getInstance().getIcon("soundoff"));
if (!memoryMonitorDialog.isVisible()) { memoryMonitorDialog.show();
            public void actionPerformed(ActionEvent ae) {                OptionsManager om = PropertiesManager.getOptionsManager();                om.enableSound(!om.isSoundEnabled());                if (om.isSoundEnabled()) {                    sound.setIcon(IconManager.getInstance().getIcon("soundon"));                }                else {                    sound.setIcon(IconManager.getInstance().getIcon("soundoff"));                }            }