Question: fourth time posting this, should be 3 buttons the names swap center and your name. there should be a oval on start with your name

fourth time posting this, should be 3 buttons the names swap center and your name. there should be a oval on start with your name in the center. with a imagine read in of something random. the button that says center should center the objects. you must be able to drag click both object around the screen.
Write a GUI application in Java using Swing that has a three buttons and a drawing area. The buttons should be at the top of the window. The buttons should be labeled as "swap", "center" and your name. 1. Give the window an initial size of 800 x 600 pixels, and put your name in the menu bar. The drawing area should cover the remainder of the window. an image of an oval). Also, it should show an image of your choice read in from a file 4. When it starts, the program should show an oval with your name in the center of it (that is not mewhere on the screen. The background of the drawing area should be a non-white color. 5. Pressing the "cent er" should cause both the the oval to move to the center of the window You must also be able to click and drag the oval with your name or the image around the screen independently with the mouse 6. en you elick the "swap" button, the oval and image should swap positions on the sereen. When the user presses the button with your name on it, the program should do something else the things you draw: switch the oval to be outlines instead of filled or something like that As always, make sure the proper block comment is at the top of your main file with your nam S. the assignment that is unique to your program, such as change the color of all 9. 10. Onee your program is working, pass it of directly to the instructor or TA. Also, tun in yo code to D2L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
