class GM extends JFrame implements ActionListener {xecuteQuery("select * from sc,c where =");
} else {
rs = stmt
.executeQuery("select * from sc,c where = and sno='"
+ mxh + "'");
}
while () && j1 <= row) {
kch = ("sno");
kcm = ("cn");
xxkch = ("g");
j1++;
}
} catch (SQLException e) {
();
}
GAdd gadd = new GAdd();
("修改成绩");
();
}
}
public void select() {xecuteQuery("select * from sc,c where = and sno='"
+ mxh + "'");
while ()) {
playerInfo[j][0] = ("sno");
playerInfo[j][1] = ("cn");
playerInfo[j][2] = ("g");
j++;
}
} catch (SQLException e) {
();
}
if (playerInfo[0][1] == null) {
();
(null, "学号不存在!");
new GM("成绩信息管理").display();
} else {
sTable = new JTable(playerInfo, columnNames);
(sTable);
scroll = new JScrollPane(sTable);
(scroll);
}
}
public void actionPerformed(ActionEvent e) {