Trabajo De Algebra

Páginas: 7 (1658 palabras) Publicado: 3 de octubre de 2011
Es un trabajo de final de algebra sobre generar tablas de verdad sobre las funciones logicas en netbeans espero que les sea de gran utilidad...............................* JFramePrincipal.java
public class JFramePrincipal extends javax.swing.JFrame {

/** Creates new form JFramePrincipal */
public JFramePrincipal() {
initComponents();
setLocationRelativeTo(this);setVisible(true);
}
@SuppressWarnings("unchecked")
//
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu1 = new javax.swing.JMenu();
jMItSalir = new javax.swing.JMenuItem();
jMenu2 = new javax.swing.JMenu();
jMItFuncion = newjavax.swing.JMenuItem();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/util/imagen.jpg"))); // NOI18N
jMenu1.setText("File");
jMenu1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {jMenu1ActionPerformed(evt);
}
});

jMItSalir.setText("Salir");
jMItSalir.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMItSalirActionPerformed(evt);
}
});
jMenu1.add(jMItSalir);
jMenuBar1.add(jMenu1);jMenu2.setText("Edit");
jMItFuncion.setText("Funciones");
jMItFuncion.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMItFuncionActionPerformed(evt);
}
});
jMenu2.add(jMItFuncion);
jMenuBar1.add(jMenu2);
setJMenuBar(jMenuBar1);javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 456, javax.swing.GroupLayout.PREFERRED_SIZE)
);layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 282, Short.MAX_VALUE)
);
pack();
}//
private void jMItSalirActionPerformed(java.awt.event.ActionEvent evt) {
//boton salirSystem.exit(0);
}
private void jMItFuncionActionPerformed(java.awt.event.ActionEvent evt) {
//boton que nos lleva a elegir la cantidad de variables que queremos utilizar
this.setVisible(false);
JDCantdeVar a = new JDCantdeVar(this,true);
}private void jMenu1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {public void run() {
new JFramePrincipal().setVisible(true);
}
});
}

// Variables declaration - do not modify
private javax.swing.JLabel jLabel1;
private javax.swing.JMenuItem jMItFuncion;
private javax.swing.JMenuItem jMItSalir;
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Trabajo de algebra
  • Trabajo algebra
  • Trabajo De Algebra
  • Trabajo algebra
  • Trabajo Algebra
  • TRABAJO DE ALGEBRA
  • trabajo de algebra
  • Trabajo Algebra

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS