Swing Exercise
Create a Java Application or Applet using Swing that has 3 buttons in it
and looks like the following:
And operates as follows:
Left Button:
-
Has an Icon image of a right arrow (you can make this yourself)
-
When this button is hit will disable itself and the middle button
Middle Button
-
Has Icon image of star symbol (you can make yourself)
-
Does nothing when hit
Right Button
-
Has an Icon image of a left arrow (you can make this yourself)
-
When this button is hit will disable itself and enable the middle button