Skip to content

Commit

Permalink
sacado defaults de tablas
Browse files Browse the repository at this point in the history
  • Loading branch information
franquitt committed Sep 16, 2017
1 parent b190186 commit 1bd728d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
13 changes: 2 additions & 11 deletions src/MadTeam/MainWindow.form
Original file line number Diff line number Diff line change
Expand Up @@ -784,18 +784,9 @@
<Component class="javax.swing.JTable" name="jTable1">
<Properties>
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
<Table columnCount="4" rowCount="1">
<Table columnCount="1" rowCount="1">
<Column editable="true" title="A" type="java.lang.Object">
<Data value="hola"/>
</Column>
<Column editable="true" title="B" type="java.lang.Object">
<Data value="manola todo"/>
</Column>
<Column editable="true" title="C" type="java.lang.Object">
<Data value="bien amigo"/>
</Column>
<Column editable="true" title="D" type="java.lang.Object">
<Data value="nuestro"/>
<Data value=""/>
</Column>
</Table>
</Property>
Expand Down
4 changes: 2 additions & 2 deletions src/MadTeam/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,10 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {

jTable1.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{"hola", "manola todo", "bien amigo", "nuestro"}
{""}
},
new String [] {
"A", "B", "C", "D"
"A"
}
));
jScrollPane3.setViewportView(jTable1);
Expand Down

0 comments on commit 1bd728d

Please sign in to comment.