Question: Write a GUI program to implement the tasks below: Use radio buttons. You can use buttons to move the message to the left and right

Write a GUI program to implement the tasks below:

Use radio buttons. You can use buttons to move the message to the left and right and use the radio buttons to change the color for the message displayed.

Select geometric figures. Select a figure from a radio button and use a check box to specify whether it is filled.

Traffic lights. Select one of three lights. Only one light can be on at a time. No light is on when the program starts.

Miles/Kilometers Converter. If you enter a value in the Mile text field and press the Enter key, the corresponding kilometer measurement is displayed in the Kilometer text field. Likewise, if you enter a value in the Kilometer text field and press the Enter key, the corresponding miles is displayed in the Mile text field.

Number Converter. When you enter a decimal value in the decimal value text field and press the Enter key, its corresponding hex and binary numbers are displayed in the other two text fields. Likewise, you can enter values in the other fields and convert them accordingly. (Hint: Use the Integer.parseInt(s, radix) method to parse a string to a decimal and use Integer.toHexString(decimal) and Integer.toBinaryString(decimal) to obtain a hex number or a binary number from a decimal.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!