private void changeBackground() { String background = (String) comboDisplayBackground_.getSelectedItem(); opts_.displayBackground_ = background; setBackground(guiColors_.background.get(background)); if (parent_ != null) // test for null just to avoid crashes (should never be null) { // set background and trigger redraw of parent and its descendant windows MMStudioMainFrame.getInstance().setBackgroundStyle(background); } }
public void dispose() { super.dispose(); savePosition(); gui_.refreshGUI(); gui_.selectConfigGroup(groupName_); }