} if (source.equals(stampFilenames)) {
} else if (source.equals(stampFilenames)) {
    public void itemStateChanged(ItemEvent event) {        Object source = event.getItemSelectable();        if (source.equals(keepGameLog)) {            gameLogFilename.setEnabled(keepGameLog.isSelected());            //gameLogMaxSize.setEnabled(keepGameLog.isSelected());        }        if (source.equals(stampFilenames)) {            stampFormat.setEnabled(stampFilenames.isSelected());        }        if (event.getSource().equals(keys) && event.getStateChange() == ItemEvent.SELECTED) {            value.setText(GUIPreferences.getInstance().getString("Advanced" + keys.getSelectedItem()));            keysIndex = keys.getSelectedIndex();        }    }