tie UI Student table to database student table
[se-panther.git] / gui-playground / src / panther / ui / StudentTable.java
blob2cf65cce14d07b069ac0a4f45e112b0a5de33361
1 package panther.ui;
3 import java.awt.*;
4 import java.awt.event.*;
5 import javax.swing.*;
6 import javax.swing.event.*;
7 import javax.swing.table.*;
9 public class StudentTable
10 extends JTable
12 public StudentTable()
14 setModel(new StudentTableModel());
15 setColumnSelectionAllowed(false);
17 /* limit user selection to only one student at a time */
18 getSelectionModel().setSelectionMode(
19 ListSelectionModel.SINGLE_SELECTION);