Design write and test the java program readstoreshowjava


Assignment

Objective

This project focuses on demonstrating your understanding of Java Collections. Before attempting this project, be sure you have completed all of the reading assignments listed in the syllabus to date, participated in the weekly conferences, and thoroughly understand the examples throughout the chapters. The project requirements include:

Requirements

Design, write and test the Java program ReadStoreShow.java with the following requirements:

1. Invite the user to enter an input file name and a number N (10 <= N <= 20). Read N pairs of unique colors and their unique associated hexadecimal values (for example Red FF0000) from the specified file (each pair color - hexadecimal value should be on a separate line) and store them in appropriate JCF collection(s). Give reasons for the chosen JCF collection(s);

2. Sort the pairs in the increasing order of their hexadecimal values and then use iterators to display the sorted pairs to the console.

3. Using a GUI, display the pairs as radio buttons. When the user selects a radio button, the background of the GUI should change to that color.

Note. Using GUI automatic generation facilities of IDEs is not accepted.

Your programs should compile and run without errors.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Design write and test the java program readstoreshowjava
Reference No:- TGS01723847

Now Priced at $40 (50% Discount)

Recommended (95%)

Rated (4.7/5)