Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Display your name here x Beginning with the file that you downloaded named Proj05.java, create a new file named Proj05Runner.java to meet the specifications

image text in transcribedimage text in transcribed

Display your name here x Beginning with the file that you downloaded named Proj05.java, create a new file named Proj05Runner.java to meet the specifications given below. Note that you must not modify the code in the file named Proj05.java. Be sure to display your name in both locations in the output as indicated. When you place both files in the same folder, compile them both, and run the file named Proj05.java, the program must display the text shown below on the command line screen. I certify that this program is my own work and is not the work of others. I agree not to share my solution with others. Replace this line with your name In addition, your program must display a single 300-pixel by 100-pixel JFrame object as shown in the image below in the upper-left corner of the screen. When you click the ( _ ) button (the left-most button in the group of 3 buttons in the upper-right corner of the JFrame object), the JFrame object drops into the system tray at the bottom of the Windows screen. (Something comparable must occur for other operating systems.) In addition the following text appears in the command-line window: Good Night When you click the icon representing the JFrame object in the system tray (or something comparable in other operating systems), the JFrame object reappears in the upper-left corner of the screen and the following text appears in the command-line window: Good Morning When you click the () button (the right-most button in the group of 3 buttons in the upper-right corner of the JFrame object), the program must terminate and MUST RETURN CONTROL TO THE OPERATING SYSTEM. Display your name here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Programming questions

Question

What community placements are available for practica?

Answered: 1 week ago