This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 173649
Collapse All | Expand All

(-)editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/storage/ui/CodeTemplatesPanel.form (+1 lines)
Lines 117-122 Link Here
117
      <SubComponents>
117
      <SubComponents>
118
        <Component class="javax.swing.JTable" name="tTemplates">
118
        <Component class="javax.swing.JTable" name="tTemplates">
119
          <Properties>
119
          <Properties>
120
            <Property name="autoCreateRowSorter" type="boolean" value="true"/>
120
            <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
121
            <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
121
              <Table columnCount="3" rowCount="4">
122
              <Table columnCount="3" rowCount="4">
122
                <Column editable="false" title="Abbreviation" type="java.lang.String"/>
123
                <Column editable="false" title="Abbreviation" type="java.lang.String"/>
(-)editor.codetemplates/src/org/netbeans/lib/editor/codetemplates/storage/ui/CodeTemplatesPanel.java (+2 lines)
Lines 65-70 Link Here
65
import javax.swing.JList;
65
import javax.swing.JList;
66
import javax.swing.JPanel;
66
import javax.swing.JPanel;
67
import javax.swing.JTabbedPane;
67
import javax.swing.JTabbedPane;
68
import javax.swing.JTable;
68
import javax.swing.KeyStroke;
69
import javax.swing.KeyStroke;
69
import javax.swing.ListCellRenderer;
70
import javax.swing.ListCellRenderer;
70
import javax.swing.ListModel;
71
import javax.swing.ListModel;
Lines 594-599 Link Here
594
        lTemplates.setLabelFor(tTemplates);
595
        lTemplates.setLabelFor(tTemplates);
595
        lTemplates.setText("Templates:");
596
        lTemplates.setText("Templates:");
596
597
598
        tTemplates.setAutoCreateRowSorter(true);
597
        tTemplates.setModel(new javax.swing.table.DefaultTableModel(
599
        tTemplates.setModel(new javax.swing.table.DefaultTableModel(
598
            new Object [][] {
600
            new Object [][] {
599
                {null, null, null},
601
                {null, null, null},

Return to bug 173649