Closedown
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
<Properties>
|
||||
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
|
||||
<Table columnCount="6" rowCount="4">
|
||||
<Column editable="false" title="Select" type="java.lang.Boolean"/>
|
||||
<Column editable="true" title="Select" type="java.lang.Boolean"/>
|
||||
<Column editable="true" title="Title 1" type="java.lang.Object"/>
|
||||
<Column editable="true" title="Title 3" type="java.lang.Object"/>
|
||||
<Column editable="true" title="Title 4" type="java.lang.Object"/>
|
||||
@@ -55,7 +55,7 @@
|
||||
</Property>
|
||||
<Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
|
||||
<TableColumnModel selectionModel="0">
|
||||
<Column maxWidth="-1" minWidth="-1" prefWidth="10" resizable="false">
|
||||
<Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="false">
|
||||
<Title/>
|
||||
<Editor/>
|
||||
<Renderer/>
|
||||
|
||||
@@ -153,7 +153,7 @@ jTable1.setValueAt(icon, rowD, COL_ICON);
|
||||
java.lang.Boolean.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class
|
||||
};
|
||||
boolean[] canEdit = new boolean [] {
|
||||
false, true, true, true, true, false
|
||||
true, true, true, true, true, false
|
||||
};
|
||||
|
||||
public Class getColumnClass(int columnIndex) {
|
||||
@@ -167,7 +167,6 @@ jTable1.setValueAt(icon, rowD, COL_ICON);
|
||||
jScrollPane2.setViewportView(jTable1);
|
||||
if (jTable1.getColumnModel().getColumnCount() > 0) {
|
||||
jTable1.getColumnModel().getColumn(0).setResizable(false);
|
||||
jTable1.getColumnModel().getColumn(0).setPreferredWidth(10);
|
||||
jTable1.getColumnModel().getColumn(5).setResizable(false);
|
||||
jTable1.getColumnModel().getColumn(5).setPreferredWidth(10);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user