This commit is contained in:
2025-10-15 10:38:02 +02:00
parent 6da5c05e55
commit 9e46b869e6
2 changed files with 131 additions and 94 deletions

View File

@@ -66,9 +66,6 @@
<Column editable="true" title="Title 4" type="java.lang.Object"/> <Column editable="true" title="Title 4" type="java.lang.Object"/>
</Table> </Table>
</Property> </Property>
<Property name="cellEditor" type="javax.swing.table.TableCellEditor" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="0" type="code"/>
</Property>
<Property name="cellSelectionEnabled" type="boolean" value="true"/> <Property name="cellSelectionEnabled" type="boolean" value="true"/>
<Property name="enabled" type="boolean" value="false"/> <Property name="enabled" type="boolean" value="false"/>
</Properties> </Properties>
@@ -136,6 +133,9 @@
</SubComponents> </SubComponents>
</Container> </Container>
<Container class="javax.swing.JPanel" name="jPanel2"> <Container class="javax.swing.JPanel" name="jPanel2">
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
<Layout> <Layout>
<DimensionLayout dim="0"> <DimensionLayout dim="0">
@@ -153,25 +153,25 @@
<EmptySpace max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0">
<Component id="jTextField1" min="-2" pref="181" max="-2" attributes="0"/> <Component id="txtID" min="-2" pref="181" max="-2" attributes="0"/>
<EmptySpace pref="148" max="32767" attributes="0"/> <EmptySpace pref="148" max="32767" attributes="0"/>
<Component id="jLabel7" min="-2" pref="98" max="-2" attributes="0"/> <Component id="jLabel7" min="-2" pref="98" max="-2" attributes="0"/>
</Group> </Group>
<Group type="102" alignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Component id="jTextField2" min="-2" pref="181" max="-2" attributes="0"/> <Component id="txtNombre" min="-2" pref="181" max="-2" attributes="0"/>
<Component id="jTextField3" min="-2" pref="181" max="-2" attributes="0"/> <Component id="txtDescripcion" min="-2" pref="181" max="-2" attributes="0"/>
<Component id="jTextField4" min="-2" pref="181" max="-2" attributes="0"/> <Component id="txtAlta" min="-2" pref="181" max="-2" attributes="0"/>
<Component id="jTextField5" min="-2" pref="181" max="-2" attributes="0"/> <Component id="txtFechaFin" min="-2" pref="181" max="-2" attributes="0"/>
<Component id="jTextField6" min="-2" pref="181" max="-2" attributes="0"/> <Component id="txtFechaMod" min="-2" pref="181" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/> <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group> </Group>
</Group> </Group>
<EmptySpace max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Component id="jComboBox1" min="-2" pref="136" max="-2" attributes="0"/> <Component id="cbPrioridad" min="-2" pref="136" max="-2" attributes="0"/>
<Component id="jCheckBox1" min="-2" max="-2" attributes="0"/> <Component id="chbDone" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/>
</Group> </Group>
@@ -185,35 +185,35 @@
<Group type="102" attributes="0"> <Group type="102" attributes="0">
<Group type="103" groupAlignment="3" attributes="0"> <Group type="103" groupAlignment="3" attributes="0">
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jTextField1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtID" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jComboBox1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="cbPrioridad" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace min="-2" pref="6" max="-2" attributes="0"/> <EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0"> <Group type="103" groupAlignment="3" attributes="0">
<Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jTextField2" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtNombre" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jCheckBox1" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="chbDone" alignment="3" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/> <EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="jLabel3" min="-2" max="-2" attributes="0"/> <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<Component id="jTextField3" min="-2" max="-2" attributes="0"/> <Component id="txtDescripcion" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/> <EmptySpace type="unrelated" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0"> <Group type="103" groupAlignment="3" attributes="0">
<Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jTextField4" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtAlta" alignment="3" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace min="-2" pref="6" max="-2" attributes="0"/> <EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0"> <Group type="103" groupAlignment="3" attributes="0">
<Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jTextField5" alignment="3" min="-2" max="-2" attributes="0"/> <Component id="txtFechaFin" alignment="3" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace max="-2" attributes="0"/> <EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0"> <Group type="103" groupAlignment="1" attributes="0">
<Component id="jLabel6" min="-2" max="-2" attributes="0"/> <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
<Component id="jTextField6" min="-2" max="-2" attributes="0"/> <Component id="txtFechaMod" min="-2" max="-2" attributes="0"/>
</Group> </Group>
<EmptySpace pref="32" max="32767" attributes="0"/> <EmptySpace pref="32" max="32767" attributes="0"/>
</Group> </Group>
@@ -251,49 +251,72 @@
<Property name="text" type="java.lang.String" value="FECHA MODIFICACI&#xd3;N"/> <Property name="text" type="java.lang.String" value="FECHA MODIFICACI&#xd3;N"/>
</Properties> </Properties>
</Component> </Component>
<Component class="javax.swing.JTextField" name="jTextField1"> <Component class="javax.swing.JTextField" name="txtID">
<Properties> <Properties>
<Property name="text" type="java.lang.String" value="jTextField1"/> <Property name="editable" type="boolean" value="false"/>
<Property name="text" type="java.lang.String" value="ID"/>
</Properties> </Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtIDActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
</Component> </Component>
<Component class="javax.swing.JTextField" name="jTextField2"> <Component class="javax.swing.JTextField" name="txtNombre">
<Properties> <Properties>
<Property name="text" type="java.lang.String" value="jTextField1"/> <Property name="text" type="java.lang.String" value="NOMBRE"/>
</Properties> </Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
</Component> </Component>
<Component class="javax.swing.JTextField" name="jTextField3"> <Component class="javax.swing.JTextField" name="txtDescripcion">
<Properties> <Properties>
<Property name="text" type="java.lang.String" value="jTextField1"/> <Property name="text" type="java.lang.String" value="DESCRIPCI&#xd3;N"/>
</Properties> </Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
</Component> </Component>
<Component class="javax.swing.JTextField" name="jTextField4"> <Component class="javax.swing.JTextField" name="txtAlta">
<Properties> <Properties>
<Property name="text" type="java.lang.String" value="jTextField1"/> <Property name="text" type="java.lang.String" value="FECHA DE ALTA"/>
</Properties> </Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
</Component> </Component>
<Component class="javax.swing.JTextField" name="jTextField5"> <Component class="javax.swing.JTextField" name="txtFechaFin">
<Properties> <Properties>
<Property name="text" type="java.lang.String" value="jTextField1"/> <Property name="text" type="java.lang.String" value="FECHA COMPLETADO"/>
</Properties> </Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
</Component> </Component>
<Component class="javax.swing.JTextField" name="jTextField6"> <Component class="javax.swing.JTextField" name="txtFechaMod">
<Properties> <Properties>
<Property name="text" type="java.lang.String" value="jTextField1"/> <Property name="text" type="java.lang.String" value="FECHA MODIFICACI&#xd3;N"/>
</Properties> </Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
</Component> </Component>
<Component class="javax.swing.JComboBox" name="jComboBox1"> <Component class="javax.swing.JComboBox" name="cbPrioridad">
<Properties> <Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="4"> <StringArray count="4">
<StringItem index="0" value="Item 1"/> <StringItem index="0" value="0"/>
<StringItem index="1" value="Item 2"/> <StringItem index="1" value="1"/>
<StringItem index="2" value="Item 3"/> <StringItem index="2" value="2"/>
<StringItem index="3" value="Item 4"/> <StringItem index="3" value="3"/>
</StringArray> </StringArray>
</Property> </Property>
</Properties> </Properties>
<AuxValues> <AuxValues>
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/> <AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues> </AuxValues>
</Component> </Component>
<Component class="javax.swing.JLabel" name="jLabel7"> <Component class="javax.swing.JLabel" name="jLabel7">
@@ -301,13 +324,16 @@
<Property name="text" type="java.lang.String" value="PRIORIDAD:"/> <Property name="text" type="java.lang.String" value="PRIORIDAD:"/>
</Properties> </Properties>
</Component> </Component>
<Component class="javax.swing.JCheckBox" name="jCheckBox1"> <Component class="javax.swing.JCheckBox" name="chbDone">
<Properties> <Properties>
<Property name="text" type="java.lang.String" value="COMPLETADO"/> <Property name="text" type="java.lang.String" value="COMPLETADO"/>
</Properties> </Properties>
<Events> <Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBox1ActionPerformed"/> <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="chbDoneActionPerformed"/>
</Events> </Events>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="1"/>
</AuxValues>
</Component> </Component>
</SubComponents> </SubComponents>
</Container> </Container>

View File

@@ -44,15 +44,15 @@ public class Vista extends javax.swing.JFrame
jLabel4 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField(); txtID = new javax.swing.JTextField();
jTextField2 = new javax.swing.JTextField(); txtNombre = new javax.swing.JTextField();
jTextField3 = new javax.swing.JTextField(); txtDescripcion = new javax.swing.JTextField();
jTextField4 = new javax.swing.JTextField(); txtAlta = new javax.swing.JTextField();
jTextField5 = new javax.swing.JTextField(); txtFechaFin = new javax.swing.JTextField();
jTextField6 = new javax.swing.JTextField(); txtFechaMod = new javax.swing.JTextField();
jComboBox1 = new javax.swing.JComboBox<>(); cbPrioridad = new javax.swing.JComboBox<>();
jLabel7 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel();
jCheckBox1 = new javax.swing.JCheckBox(); chbDone = new javax.swing.JCheckBox();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
@@ -69,7 +69,6 @@ public class Vista extends javax.swing.JFrame
"Title 1", "Title 2", "Title 3", "Title 4" "Title 1", "Title 2", "Title 3", "Title 4"
} }
)); ));
jTable1.setCellEditor(0);
jTable1.setCellSelectionEnabled(true); jTable1.setCellSelectionEnabled(true);
jTable1.setEnabled(false); jTable1.setEnabled(false);
jScrollPane1.setViewportView(jTable1); jScrollPane1.setViewportView(jTable1);
@@ -137,28 +136,36 @@ public class Vista extends javax.swing.JFrame
jLabel6.setText("FECHA MODIFICACIÓN"); jLabel6.setText("FECHA MODIFICACIÓN");
jTextField1.setText("jTextField1"); txtID.setEditable(false);
txtID.setText("ID");
jTextField2.setText("jTextField1"); txtID.addActionListener(new java.awt.event.ActionListener()
jTextField3.setText("jTextField1");
jTextField4.setText("jTextField1");
jTextField5.setText("jTextField1");
jTextField6.setText("jTextField1");
jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
jLabel7.setText("PRIORIDAD:");
jCheckBox1.setText("COMPLETADO");
jCheckBox1.addActionListener(new java.awt.event.ActionListener()
{ {
public void actionPerformed(java.awt.event.ActionEvent evt) public void actionPerformed(java.awt.event.ActionEvent evt)
{ {
jCheckBox1ActionPerformed(evt); txtIDActionPerformed(evt);
}
});
txtNombre.setText("NOMBRE");
txtDescripcion.setText("DESCRIPCIÓN");
txtAlta.setText("FECHA DE ALTA");
txtFechaFin.setText("FECHA COMPLETADO");
txtFechaMod.setText("FECHA MODIFICACIÓN");
cbPrioridad.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "0", "1", "2", "3" }));
jLabel7.setText("PRIORIDAD:");
chbDone.setText("COMPLETADO");
chbDone.addActionListener(new java.awt.event.ActionListener()
{
public void actionPerformed(java.awt.event.ActionEvent evt)
{
chbDoneActionPerformed(evt);
} }
}); });
@@ -178,21 +185,21 @@ public class Vista extends javax.swing.JFrame
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createSequentialGroup()
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtID, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 148, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 148, Short.MAX_VALUE)
.addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createSequentialGroup()
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtNombre, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtDescripcion, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtAlta, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtFechaFin, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(txtFechaMod, javax.swing.GroupLayout.PREFERRED_SIZE, 181, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(0, 0, Short.MAX_VALUE))) .addGap(0, 0, Short.MAX_VALUE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(cbPrioridad, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jCheckBox1)) .addComponent(chbDone))
.addContainerGap()) .addContainerGap())
); );
jPanel2Layout.setVerticalGroup( jPanel2Layout.setVerticalGroup(
@@ -203,29 +210,29 @@ public class Vista extends javax.swing.JFrame
.addGroup(jPanel2Layout.createSequentialGroup() .addGroup(jPanel2Layout.createSequentialGroup()
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1) .addComponent(jLabel1)
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(cbPrioridad, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel7)) .addComponent(jLabel7))
.addGap(6, 6, 6) .addGap(6, 6, 6)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2) .addComponent(jLabel2)
.addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtNombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jCheckBox1)) .addComponent(chbDone))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel3)) .addComponent(jLabel3))
.addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(txtDescripcion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel4) .addComponent(jLabel4)
.addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(txtAlta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(6, 6, 6) .addGap(6, 6, 6)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel5) .addComponent(jLabel5)
.addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(txtFechaFin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel6) .addComponent(jLabel6)
.addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(txtFechaMod, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(32, Short.MAX_VALUE)) .addContainerGap(32, Short.MAX_VALUE))
); );
@@ -256,10 +263,10 @@ public class Vista extends javax.swing.JFrame
pack(); pack();
}// </editor-fold>//GEN-END:initComponents }// </editor-fold>//GEN-END:initComponents
private void jCheckBox1ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jCheckBox1ActionPerformed private void chbDoneActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_chbDoneActionPerformed
{//GEN-HEADEREND:event_jCheckBox1ActionPerformed {//GEN-HEADEREND:event_chbDoneActionPerformed
// TODO add your handling code here: // TODO add your handling code here:
}//GEN-LAST:event_jCheckBox1ActionPerformed }//GEN-LAST:event_chbDoneActionPerformed
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jButton1ActionPerformed private void jButton1ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jButton1ActionPerformed
{//GEN-HEADEREND:event_jButton1ActionPerformed {//GEN-HEADEREND:event_jButton1ActionPerformed
@@ -276,6 +283,10 @@ public class Vista extends javax.swing.JFrame
// TODO add your handling code here: // TODO add your handling code here:
}//GEN-LAST:event_jButton3ActionPerformed }//GEN-LAST:event_jButton3ActionPerformed
private void txtIDActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtIDActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtIDActionPerformed
/** /**
* @param args the command line arguments * @param args the command line arguments
*/ */
@@ -308,11 +319,11 @@ public class Vista extends javax.swing.JFrame
} }
// Variables declaration - do not modify//GEN-BEGIN:variables // Variables declaration - do not modify//GEN-BEGIN:variables
public javax.swing.JComboBox<String> cbPrioridad;
public javax.swing.JCheckBox chbDone;
private javax.swing.JButton jButton1; private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2; private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3; private javax.swing.JButton jButton3;
private javax.swing.JCheckBox jCheckBox1;
private javax.swing.JComboBox<String> jComboBox1;
private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel3;
@@ -321,14 +332,14 @@ public class Vista extends javax.swing.JFrame
private javax.swing.JLabel jLabel6; private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7; private javax.swing.JLabel jLabel7;
private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2; public javax.swing.JPanel jPanel2;
private javax.swing.JScrollPane jScrollPane1; private javax.swing.JScrollPane jScrollPane1;
public javax.swing.JTable jTable1; public javax.swing.JTable jTable1;
private javax.swing.JTextField jTextField1; public javax.swing.JTextField txtAlta;
private javax.swing.JTextField jTextField2; public javax.swing.JTextField txtDescripcion;
private javax.swing.JTextField jTextField3; public javax.swing.JTextField txtFechaFin;
private javax.swing.JTextField jTextField4; public javax.swing.JTextField txtFechaMod;
private javax.swing.JTextField jTextField5; public javax.swing.JTextField txtID;
private javax.swing.JTextField jTextField6; public javax.swing.JTextField txtNombre;
// End of variables declaration//GEN-END:variables // End of variables declaration//GEN-END:variables
} }