question: public void addPreferencesButton ( ) { JButton prefsButton = new JButton ( "Prefs" ) ; prefsButton . setHideActionText ( true ) ; prefsButton . setAction ( RasterPlotActions . getPropertiesDialogAction ( this ) ) ; buttonPanel . add ( prefsButton ) ; }
target:  Add button for showing preferences.