3. You are required to create a class Task1 that is a JFrame, ,Add a button
to a Frame coloring the frame Red and button white writing “counter=0” with
black color and every time pressing will increase the counter by one. 4.
You are required to create two button when I click to the one of them the
other button will disappear. 5. You are required to create one button when
I click to the button the frame background change to white, When I click to
the frame the button will disappear.
Game Tasks: 1. You are required to create a class Task1 that is a JFrame,
,Add a button to a Frame coloring the frame Red and button white writing
“toggle off” with black color. 2. You are required to create a class Task1
that is a JFrame, and contains only 1 button. This button initially has the
text “toggle off”. Every time you click the button, the text on it switches
between “toggleoff” and “toggle on”.
6. You are required to create two button when I click to the one of them
the other button will disappear. 7. Draw a simple Car on a button and color
it. 8. When Click on the car button change color to blue 9. Draw grid of
buttons 3x3 10. Draw grid of car 3x3
11. A Text on a frame and two buttons one for increment and the other for
decrement. 12. A text and button when click on the button the Text string
on the textfiled will be on the button. 13. Moving a button with the mouse.
14. Dragging a button with mouse.