Listing 6 shows
Listing 6. Completion of the anonymous listener class. |
---|
setLocation(0,pix.getHeight() + 128); jFrameObj.setDefaultCloseOperation( WindowConstants.EXIT_ON_CLOSE); }//end action performed }//end newActionListener );//end addActionListener //--------------------------------------------------// }//end constructor //----------------------------------------------------// }//end class Prob11Runner |
File: at.htm | [Next] | [Prev] |