Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Use java to develop a project so that student can choose a number of courses for advising and save the information into a text file.

Use java to develop a project so that student can choose a number of courses for advising and save the information into a text file. The advising window will look like the following Develop a project so that student can choose a number of courses for advising and save the information into a text file. The advising window will look like the following
User will choose a course from the courses list, then click on Add button to add the course detail in the table shown in the figure. The total credit will be automatically updated based on the courses added. User
can remove a course from the list by selecting the course and then click on Remove button. Once a number of courses are added into the list, user can save the information into a text file by clicking on the Save
button.
Create a Course class that has id, title and credit attributes.
Create the AdvisingFrame class to draw the GUI, where add the course ids into the course list combo box. Maintain a HashMap
User will choose a course from the courses list, then click on Add button to add the course detail in the table shown in the figure. The total credit will be automatically updated based on the courses added. User can remove a course from the list by selecting the course and then click on Remove button. Once a number of courses are added into the list, user can save the information into a text file by clicking on the Save button.
Create a Course class that has id
,
title and credit attributes.
Create the AdvisingFrame class to draw the GUI, where add the course ids into the course list combo box.
Maintain a HashMap
Stirng, Course
>
that will map That will Map course ID to course objects so that when a user select course ID from the list and add the course details can be picked from the hash map and added to the course list table
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions