setupButtonsmethod (doesn't matter where):
setupButtonsthat you created
It should now look as follows
Create a copy of the background image and make it darker (using a paint program),
then set up each button such that when the user rolls over the button,
this new background image is displayed.
Remember: setting the rollover image on a JButton requires you to reference an ImageIcon object.
setupButtonsmethod get called?
setupButtonsbefore you call the
addmethod to add the buttons to the applet? What happens if you call
setupButtonsafter you call the
addmethod to add the buttons to the applet? Make sure you followed the instructions in this assignment exactly to be able to answer this question!
What To Electronically Submit:
Using the RamCT Assignment Submission System, submit:
Click Here for how to use the RamCT Submission System.