Codigo java - programa simple para desplegar mensajes en la pantalla
sideciden trabarlo en neatbeans como yo solo tendran que tener en cuenta las biblotecas importadas y los metodos que basicamente es con lo que trabajamos en neat beans.no es mucho pero espero les sirva de algo =D
____________________________________________________________
________
import javax.swing.JOptionPane;
public class NewJFrame extendsjavax.swing.JFrame {
/** Creates new form NewJFrame */
public NewJFrame() {
initComponents();
}
/** This method is called from within the constructor to
*initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
////GEN-BEGIN:initComponents
private void initComponents() {
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();jButton4 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jButton1.setText("Dialogo1");jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});...
Regístrate para leer el documento completo.