From 0cd6e316560329dc093b7e1fa6901d85ac860440 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Mon, 8 Jun 2015 14:14:26 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.form | 40 ++-------------------------------------- plugins/TestingList.java | 10 ++-------- 2 files changed, 4 insertions(+), 46 deletions(-) diff --git a/plugins/TestingList.form b/plugins/TestingList.form index 96ad678..83b20b4 100644 --- a/plugins/TestingList.form +++ b/plugins/TestingList.form @@ -47,46 +47,10 @@ - + - - - - <Editor/> - <Renderer/> - </Column> - <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> - <Title/> - <Editor/> - <Renderer/> - </Column> - <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> - <Title/> - <Editor/> - <Renderer/> - </Column> - <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> - <Title/> - <Editor/> - <Renderer/> - </Column> - <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> - <Title/> - <Editor/> - <Renderer/> - </Column> - <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> - <Title/> - <Editor/> - <Renderer/> - </Column> - <Column maxWidth="-1" minWidth="-1" prefWidth="10" resizable="false"> - <Title/> - <Editor/> - <Renderer/> - </Column> - </TableColumnModel> + <TableColumnModel selectionModel="0"/> </Property> <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> <TableHeader reorderingAllowed="true" resizingAllowed="true"/> diff --git a/plugins/TestingList.java b/plugins/TestingList.java index ca1b17f..8e9a1ad 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -169,8 +169,8 @@ jTable1.setValueAt(icon, rowD, COL_ICON); public Class getColumnClass(int columnIndex) { switch (columnIndex){ case 0: - return Boolean.class. - casa 6: + return Boolean.class; + case 6: return ImageIcon.class; } return types [columnIndex]; @@ -181,12 +181,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(5); - jTable1.getColumnModel().getColumn(6).setResizable(false); - jTable1.getColumnModel().getColumn(6).setPreferredWidth(10); - } add(jScrollPane2, java.awt.BorderLayout.PAGE_END); }// </editor-fold>//GEN-END:initComponents