question: public void addClearGraphDataButton ( ) { JButton clearButton = new JButton ( "Clear" ) ; clearButton . setAction ( RasterPlotActions . getClearGraphAction ( this ) ) ; buttonPanel . add ( clearButton ) ; }
target:  Add button for clearing graph data.