Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Java language... Make a windows program in Java that has 4 buttons labeled button 1, button 2. button 3 and button 4 on it.

Using Java language...

Make a windows program in Java that has 4 buttons labeled button 1, button 2. button 3 and button 4 on it. Have these controls in one panel on your frame.

Simulate making controls under a menu to allow real world users to change the screen so they can see it better based on the lighting conditions in the work place and possibly the vision requirements they have. In this case you would change multiple controls at one time.

Feel free to use any controls you wish on another panel to manage color and font changes.

Have controls to make the following changes by the user:

1) Change the Background color of all of the buttons at once to a color the user chooses.

(I would use a color chooser here. You could use a control or controls that gives the user some set choices.)

Note: If you use a JButton (shown in chapter 26) from the Swing control set it will only show with a border line of the color around the button and that is fine. If you use an AWT Button (which is an older control and available in the Netbeans toolbox in a different set) it will change the whole button to the color. Either way is fine as far as grading on this assignment.

2) Change the font size of all of the buttons at once to a font size the user chooses.

(In the real world I would use a list box here but you can have them give the size by a textbox if you would like.)

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

Which form of proof do you find least persuasive? Why?

Answered: 1 week ago