Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSIS - 2 2 5 , Advanced Programming Lab 1 : Java RefresherAdvanced Programming: Lab Exam Version 1 Employee Management System Write a class public

CSIS-225, Advanced Programming Lab 1: Java RefresherAdvanced Programming:
Lab Exam Version1
Employee Management System
Write a class public EmployeeManagementInterface that extends JFrame, the class implement a GUI
interface for employee management system.
The interface looks like the following
The class attributes as the following :
JLabel firstNameLabel, lastNameLabel, typeLabel, dataLabel;
JTextField firstName, lastName, employeeType;
JTextArea employeeData;
JButton enterButton, fileButton, printEmployee;
implement the ActionPerformed method to do the following:
when pressing on Create File button, your program should create a sequential access file with name
employeefile.
When pressing on Enter button, your program should construct an employee object according to the
employee type entered by the user in the employeeType text field (Boss, ComissionWorker,
HourlyWorker, PieceWorker) with first and last name entered from the text fields, such that when
pressing enter button the employee object is created and added to the sequential file.
When pressing on print employee data bottom your program should open the file and add to the text
area the data of the employee object with first and last name in the text fields.
Not using AI (CHATGPT 4)
image text in transcribed

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions