Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. Implement a Java application that has a border layout and labels for each region in the layout. Now defined mouse event to act as

image text in transcribed
. Implement a Java application that has a border layout and labels for each region in the layout. Now defined mouse event to act as the following a. When mouse enters CENTER the program shows a b. When mouse enters WEST the program shows a dialog e. When mouse enters SOUTH the program shows a d. When mouse enters NORTH the program shows a e. When mouse enters EAST the program shows a dialog dialog (Welcome to Riyadh) (Welcome to Jeddah) dialog (Welcome to Abha) dialog (Welcome to Hail) (Welcome to Dhahran) 2. Implement a java program with a JTextArea and Two Menus a. Color: which has three Items: Blue, Red, and Black b. Font: Which has three fonts:"Times New Roman", "MS Sans Serif", "Courier New" and "Bodoni MT Black" You should be able, by using the menus to change the font and the color of the text written in the JTextArea. 3. Design a Program "Shape Factory" that has Buttons to produce a. Random Rectangles with random colors b. Random Ellipses with random colors. e. Random Lines with random colors Whenever user clicks on a button, the corresponding shape will be added to the already drawn shapes in the JFrame 4. Modify the translation example and make it translate the shape left and right

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago