代码GUI类将记录添加到表中 [英] code GUI class to add record to table
问题描述
我的第一个问题是我在一个名为EmployeeList的单独类中创建了一个添加员工按钮的初始方法,但我仍然对在GUI类中编写的内容感到困惑。我会发布相关代码。任何帮助都会非常感激,因为这是我在学期的最后一次任务,我的考试减少了我可以投入这项任务的时间。我有点紧张,因为我需要完成这个以通过该单位。谢谢。
展开 | 选择 | Wrap | 行号
展开 | 选择 | Wrap | 行号
现在请忽略这篇文章......我的错误,
-blazed
Hey all. My program reads from a file which contains information about employees(ID, name, address, salary, HourlyRate, etc...). It then stores them in an array of objects and writes and displays the info in a GUI where the ID is listed in a listbox, and the corresponding info about the employee is displayed when an ID is selected. I have a few problems but I will try to solve 1 at a time rather than posting em all at once.
My 1st problem is that I''ve created an initial method for the add employee button in a seperate class called EmployeeList but I''m still alittle confused as what to write in the GUI class. I will post the relevant code. Any help would be much appreciated as this is my last assignment of the semester and I have exams which reduce the amount of time I can dedicate to this assignment.I''m a little nervy as I need to complete this to pass the unit. Thanks.解决方案Expand|Select|Wrap|Line Numbers
Expand|Select|Wrap|Line Numbers
Please ignore this post for now... my mistake,
-blazed
这篇关于代码GUI类将记录添加到表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆