This is about java. I would appreciate your help! Please do not provide a “copy and paste answer”!  Among other things, the purpose of this assignment is

This is about java. I would appreciate your help!

Please do not provide a “copy and paste answer”! 

Among other things, the purpose of this assignment is to assess the student’s ability to write a program dealing with window events, mouse events, and the Delegation Event Model.

PROGRAM SPECIFICATIONS

Beginning with the file that you downloaded named Proj06.java, create a new file named Proj06Runner.java to meet the specifications given below.

Note that the code in the file named Proj06.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 Proj06.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 Frame object as shown in the images below. When you click the mouse in the working area of the Frame, the coordinates of the mouse pointer must be shown in RED above the mouse pointer. (Multiple images are shown below to show the result of clicking at different locations in the working area of the Frame. Note that the 0,0 coordinate location is at the outer upper-left corner of the Frame, which is beyond the reach of the mouse pointer.)

When you click the X-button in the upper-right corner of the Frame object, the program must terminate and MUST RETURN CONTROL TO THE OPERATING SYSTEM.

You may find it necessary to consult the Java documentation and take class inheritance into account to meet these specifications.

Output:

Proj06.java (can’t be modified)

/*File Proj06

The purpose of this assignment is to assess the student’s

ability to write a program dealing with window events,

mouse events, and the Delegation Event Model.

************************************************************/

// Student must not modify the code in this file.

public class Proj06 {

public static void main(String[] args){

new Proj06Runner();

}//end main

}//end class Proj06

//========================================================//

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Mutex  locks and semaphores, as discussed in class, are different techniques to  solve the race condition and to ensure an efficient synchronization

Mutex  locks and semaphores, as discussed in class, are different techniques to  solve the race condition and to ensure an efficient synchronization  between cooperating threads and processes. you will use semaphores to  solve a number of synchronization problems between cooperating threads. important to note that: •  Semaphore, in literature, uses

(Financial application: compute the future  investment value) Write a method that computes future investment value  at a given interest rate for a

(Financial application: compute the future  investment value) Write a method that computes future investment value  at a given interest rate for a specified number of years. The future  investment is determined using the formula in Programming Exercise 2.21.  Use the following method header: public static double  futureInvestmentValue(double investmentAmount, double  monthlyInterestRate,

Task 2: Text Counter (USING JAVAFX) Develop a class TextCounter that extends javafx.scene.text.Text and implements Runnable. Your layout should appear

Task 2: Text Counter (USING JAVAFX) Develop a class TextCounter that extends javafx.scene.text.Text and implements Runnable. Your layout should appear similar to the image below.  Next, develop a class IntCounter that has an integer counter intialised to 0, and methods incrementCount, getCount and setCount.  For this application, create Start, Pause