【发布时间】:2011-08-26 23:26:36
【问题描述】:
对不起,奇怪的标题,但这里是解释。 因此,我有一个类 StudentRepository,其中包含学生列表,这些学生是在 GUI 上选择的(通过 TableModel)。 学生对象的属性是:
int studentid
string name,surname
List<Absent> absents
List<ClassRoom> classes (as in classroom)
所以我想调用一个在 StudentRepository 中运行的方法,该方法检查学生是否缺勤,如果可以删除,则应该有一个提示,并且在提示时应该显示缺勤。就像一个 jDialog。
希望我让自己可以理解, 哈伦·明哈斯
【问题讨论】:
-
JOptionPane呢?