1 2 3 4 5 6 | private void cmdsubmitbuttonActionPerformed(java.awt.event.ActionEvent evt) { //GEN-FIRST:event_cmdsubmitbuttonActionPerformed // TODO add your handling code here: String name = JOptionPane.showInputDialog( "Type your name please" ); JOptionPane.showMessageDialog( null , "Hello " + name); //JOptionPane.showMessageDialog(null, "Hello World"); } //GEN-LAST:event_cmdsubmitbuttonActionPerformed |
article
Sunday, June 30, 2019
How to create simple Java Swing GUI with Netbeans IDE
How to create simple Java Swing GUI with Netbeans IDE