|
|
|
@ -11,6 +11,7 @@ import javax.swing.SwingConstants;
|
|
|
|
|
import javax.swing.event.ListSelectionEvent; |
|
|
|
|
import javax.swing.event.ListSelectionListener; |
|
|
|
|
import javax.swing.table.AbstractTableModel; |
|
|
|
|
import javax.swing.table.DefaultTableCellRenderer; |
|
|
|
|
|
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.dialog.BasicDialog; |
|
|
|
@ -19,7 +20,6 @@ import com.fr.design.dialog.DialogActionListener;
|
|
|
|
|
|
|
|
|
|
import com.fr.design.mainframe.ElementCasePane; |
|
|
|
|
import com.fr.design.selection.SelectionListener; |
|
|
|
|
import sun.swing.table.DefaultTableCellHeaderRenderer; |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
* SmartJTablePane用于在Grid上面选单元格时编辑JTable |
|
|
|
@ -73,7 +73,7 @@ public abstract class SmartJTablePane extends BasicPane {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
DefaultTableCellHeaderRenderer headerRenderer = new DefaultTableCellHeaderRenderer(); |
|
|
|
|
DefaultTableCellRenderer headerRenderer = new DefaultTableCellRenderer(); |
|
|
|
|
headerRenderer.setHorizontalAlignment(SwingConstants.LEFT); |
|
|
|
|
table.getTableHeader().setDefaultRenderer(headerRenderer); |
|
|
|
|
|
|
|
|
|