Question: A java program using Jframe, graphics (you can use a jpanel). perferably in border layout The GUI must have a button and a shape like

A java program using Jframe, graphics (you can use a jpanel). perferably in border layout

The GUI must have a button and a shape like a rectangle or circle.

When the button on the gui is pressed the shape that is on the screen gets bigger. The change in size should be a predefined in the button action performed method for the button. Please do not make a method that randomly selects a size that is bigger everytime the button is clicked.

Try to keep it very simple. I just need to see how this can be done.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!