User:H3IT

/* * To change this template, choose Tools | Templates * and open the template in the editor. */

/* * plusplusuin.java * * Created on 03 Apr 09, 17:24:18 */

package my.plusplus;

/** * * @author killer Queen */

import javax.swing.JFileChooser; import javax.swing.JOptionPane; import java.io.*; import java.awt.event.*; import java.util.logging.Level; import java.util.logging.Logger; import java.util.Scanner;

public class plusplusuin extends javax.swing.JFrame {

/** Creates new form plusplusuin */ public plusplusuin { 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. */   // //GEN-BEGIN:initComponents private void initComponents {

jFrame2 = new javax.swing.JFrame; jPanel2 = new javax.swing.JPanel; jLabel4 = new javax.swing.JLabel; jLabel5 = new javax.swing.JLabel; jLabel6 = new javax.swing.JLabel; jTextField1 = new javax.swing.JTextField; jTextField2 = new javax.swing.JTextField; jTextField3 = new javax.swing.JTextField; jButton5 = new javax.swing.JButton; jButton6 = new javax.swing.JButton; jButton7 = new javax.swing.JButton; file_saveas1 = new javax.swing.JButton; jButton8 = new javax.swing.JButton; jMenuBar2 = new javax.swing.JMenuBar; jMenu3 = new javax.swing.JMenu; jMenuItem12 = new javax.swing.JMenuItem; jMenuItem13 = new javax.swing.JMenuItem; jMenuItem14 = new javax.swing.JMenuItem; jMenuItem15 = new javax.swing.JMenuItem; jMenuItem16 = new javax.swing.JMenuItem; jMenu4 = new javax.swing.JMenu; jMenuItem17 = new javax.swing.JMenuItem; jMenuItem18 = new javax.swing.JMenuItem; jMenuItem19 = new javax.swing.JMenuItem; jMenuItem20 = new javax.swing.JMenuItem; jMenuItem21 = new javax.swing.JMenuItem; jMenuItem22 = new javax.swing.JMenuItem; pilih = new javax.swing.JFileChooser; jPanel1 = new javax.swing.JPanel; jLabel1 = new javax.swing.JLabel; jLabel2 = new javax.swing.JLabel; jLabel3 = new javax.swing.JLabel; jLabel7 = new javax.swing.JLabel; jLabel8 = new javax.swing.JLabel; jLabel9 = new javax.swing.JLabel; jLabel10 = new javax.swing.JLabel; jButton1 = new javax.swing.JButton;

jFrame2.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Gerak Lurus Beraturan")); jPanel2.setName("Gerak Lurus Beraturan"); // NOI18N

jLabel4.setText("kecepatan");

jLabel5.setText("waktu");

jLabel6.setText("jarak");

jTextField1.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jTextField1ActionPerformed(evt);            }        });

jButton5.setText("hasil"); jButton5.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jButton5ActionPerformed(evt);            }        });

jButton6.setText("hapus"); jButton6.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jButton6ActionPerformed(evt);            }        });

jButton7.setText("open"); jButton7.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jButton7ActionPerformed(evt);            }        });

file_saveas1.setText("save as..."); file_saveas1.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                file_saveas1ActionPerformed(evt);            }        });

javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup(           jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup .addGap(52, 52, 52) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)                   .addComponent(jLabel6)                    .addComponent(jLabel5)                    .addComponent(jLabel4)) .addGap(18, 18, 18) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)                   .addComponent(jTextField3)                    .addComponent(jTextField2)                    .addGroup(jPanel2Layout.createSequentialGroup .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)                   .addGroup(jPanel2Layout.createSequentialGroup .addGap(45, 45, 45) .addComponent(jButton5) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE) .addComponent(jButton6))                   .addGroup(jPanel2Layout.createSequentialGroup .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)                           .addComponent(jButton7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)                            .addComponent(file_saveas1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) .addContainerGap)       ); jPanel2Layout.setVerticalGroup(           jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(jPanel2Layout.createSequentialGroup .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)                   .addGroup(jPanel2Layout.createSequentialGroup .addGap(44, 44, 44) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)                           .addComponent(jLabel4)                            .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(18, 18, 18) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)                           .addGroup(jPanel2Layout.createSequentialGroup .addComponent(jLabel5) .addGap(18, 18, 18) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)                                   .addComponent(jLabel6)                                    .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))                            .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup .addContainerGap .addComponent(jButton7) .addGap(18, 18, 18) .addComponent(file_saveas1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 54, Short.MAX_VALUE) .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)                           .addComponent(jButton5)                            .addComponent(jButton6)))) .addContainerGap)       );

jButton8.setText("keluar"); jButton8.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jButton8ActionPerformed(evt);            }        });

jMenu3.setText("File"); jMenu3.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jMenu3ActionPerformed(evt);            }        });

jMenuItem12.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_O, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem12.setText("open"); jMenuItem12.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jMenuItem12ActionPerformed(evt);            }        }); jMenu3.add(jMenuItem12);

jMenuItem13.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem13.setText("save as..."); jMenuItem13.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jMenuItem13ActionPerformed(evt);            }        }); jMenu3.add(jMenuItem13);

jMenuItem14.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER, 0)); jMenuItem14.setText("hasil"); jMenuItem14.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jMenuItem14ActionPerformed(evt);            }        }); jMenu3.add(jMenuItem14);

jMenuItem15.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_SPACE, 0)); jMenuItem15.setText("hapus"); jMenuItem15.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jMenuItem15ActionPerformed(evt);            }        }); jMenu3.add(jMenuItem15);

jMenuItem16.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_X, 0)); jMenuItem16.setText("keluar"); jMenuItem16.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jMenuItem16ActionPerformed(evt);            }        }); jMenu3.add(jMenuItem16);

jMenuBar2.add(jMenu3);

jMenu4.setText("About Us");

jMenuItem17.setFont(new java.awt.Font("Times New Roman", 0, 12)); jMenuItem17.setText("Andy Satria Damanik"); jMenu4.add(jMenuItem17);

jMenuItem18.setFont(new java.awt.Font("Times New Roman", 0, 12)); jMenuItem18.setText("Handrias Maya Kusuma"); jMenu4.add(jMenuItem18);

jMenuItem19.setFont(new java.awt.Font("Times New Roman", 0, 12)); jMenuItem19.setText("Ikhsan"); jMenu4.add(jMenuItem19);

jMenuItem20.setFont(new java.awt.Font("Times New Roman", 0, 12)); jMenuItem20.setText("Pio Saputra"); jMenuItem20.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jMenuItem20ActionPerformed(evt);            }        }); jMenu4.add(jMenuItem20);

jMenuItem21.setFont(new java.awt.Font("Times New Roman", 0, 12)); jMenuItem21.setText("Weli Andrian"); jMenu4.add(jMenuItem21);

jMenuItem22.setFont(new java.awt.Font("Times New Roman", 0, 12)); jMenuItem22.setText("Z.A Satria al Halimi"); jMenu4.add(jMenuItem22);

jMenuBar2.add(jMenu4);

jFrame2.setJMenuBar(jMenuBar2);

javax.swing.GroupLayout jFrame2Layout = new javax.swing.GroupLayout(jFrame2.getContentPane); jFrame2.getContentPane.setLayout(jFrame2Layout); jFrame2Layout.setHorizontalGroup(           jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(jFrame2Layout.createSequentialGroup .addContainerGap .addGroup(jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)                   .addGroup(jFrame2Layout.createSequentialGroup .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap)                   .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jFrame2Layout.createSequentialGroup .addComponent(jButton8) .addGap(28, 28, 28))))       ); jFrame2Layout.setVerticalGroup(           jFrame2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(jFrame2Layout.createSequentialGroup .addContainerGap .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 30, Short.MAX_VALUE) .addComponent(jButton8) .addContainerGap)       );

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Gerak Lurus Beraturan (Working Group 4 (B Class))"));

jLabel1.setText("by :");

jLabel2.setText("Andy Satria Damanik");

jLabel3.setText("Handrias Maya Kusuma");

jLabel7.setText("Ikhsan");

jLabel8.setText("Pio Saputra");

jLabel9.setText("Weli Andrian");

jLabel10.setText("Z.A Satria Alhalimi");

jButton1.setText("Load Program"); jButton1.addActionListener(new java.awt.event.ActionListener {           public void actionPerformed(java.awt.event.ActionEvent evt) {                jButton1ActionPerformed(evt);            }        });

javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup(           jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(jPanel1Layout.createSequentialGroup .addGap(37, 37, 37) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)                   .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)                    .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)                    .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE)                    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel10, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE))) .addContainerGap(146, Short.MAX_VALUE))           .addGroup(jPanel1Layout.createSequentialGroup .addContainerGap .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(318, Short.MAX_VALUE))           .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup .addContainerGap(253, Short.MAX_VALUE) .addComponent(jButton1) .addContainerGap)       ); jPanel1Layout.setVerticalGroup(           jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(jPanel1Layout.createSequentialGroup .addContainerGap .addComponent(jLabel1) .addGap(7, 7, 7) .addComponent(jLabel2) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel3) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel7) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel8) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel9) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabel10) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 14, Short.MAX_VALUE) .addComponent(jButton1))       );

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane); getContentPane.setLayout(layout); layout.setHorizontalGroup(           layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(layout.createSequentialGroup .addContainerGap .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(33, Short.MAX_VALUE))       ); layout.setVerticalGroup(           layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(layout.createSequentialGroup .addGap(24, 24, 24) .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(31, Short.MAX_VALUE))       );

pack; }// //GEN-END:initComponents

private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed // TODO add your handling code here: }//GEN-LAST:event_jTextField1ActionPerformed

private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed {           float num1,num2,result; num1 = Float.parseFloat(jTextField1.getText); num2 = Float.parseFloat(jTextField2.getText); result = num1*num2; jTextField3.setText(String.valueOf(result)); }   }//GEN-LAST:event_jButton5ActionPerformed

private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed {           jTextField1.setText(""); jTextField2.setText(""); jTextField3.setText(""); }   }//GEN-LAST:event_jButton6ActionPerformed

private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton7ActionPerformed pilih.showOpenDialog(this); int respon2 = JOptionPane.showConfirmDialog(null, "Are You Sure ?", "Tanya Dulu...", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);

java.io.File file = new java.io.File("Save.txt"); Scanner input = null; try { input = new Scanner(file); } catch (FileNotFoundException ex) { Logger.getLogger(plusplusuin.class.getName).log(Level.SEVERE, null, ex); }       input.useDelimiter(";"); while (input.hasNext){ String s = input.next; String t = input.next; jTextField1.setText(s); jTextField2.setText(t); }       input.close; }//GEN-LAST:event_jButton7ActionPerformed

private void file_saveas1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_file_saveas1ActionPerformed pilih.setDialogTitle("Save As"); pilih.showSaveDialog(this); java.io.File file = new java.io.File("Save.txt"); java.io.PrintWriter output = null; try { output = new java.io.PrintWriter(file); } catch (FileNotFoundException ex) { Logger.getLogger(plusplusuin.class.getName).log(Level.SEVERE, null, ex); }      output.print(jTextField1.getText); output.print(jTextField2.getText); output.close;

//option pane JOptionPane.showMessageDialog(null, "Saved Successfully","Success",JOptionPane.WARNING_MESSAGE); }//GEN-LAST:event_file_saveas1ActionPerformed

private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton8ActionPerformed {           System.exit(0); }   }//GEN-LAST:event_jButton8ActionPerformed

private void jMenuItem12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem12ActionPerformed pilih.showOpenDialog(this); int respon2 = JOptionPane.showConfirmDialog(null, "Are You Sure ?", "Tanya Dulu...", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);

java.io.File file = new java.io.File("Save.txt"); Scanner input = null; try { input = new Scanner(file); } catch (FileNotFoundException ex) { Logger.getLogger(plusplusuin.class.getName).log(Level.SEVERE, null, ex); }       input.useDelimiter(";"); while (input.hasNext){ String s = input.next; String t = input.next; jTextField1.setText(s); jTextField2.setText(t); }       input.close; }//GEN-LAST:event_jMenuItem12ActionPerformed

private void jMenuItem13ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem13ActionPerformed pilih.setDialogTitle("Save As"); pilih.showSaveDialog(this); java.io.File file = new java.io.File("Save.txt"); java.io.PrintWriter output = null; try { output = new java.io.PrintWriter(file); } catch (FileNotFoundException ex) { Logger.getLogger(plusplusuin.class.getName).log(Level.SEVERE, null, ex); }      output.print(jTextField1.getText); output.print(jTextField2.getText); output.close;

//option pane JOptionPane.showMessageDialog(null, "Saved Successfully","Success",JOptionPane.WARNING_MESSAGE); }//GEN-LAST:event_jMenuItem13ActionPerformed

private void jMenuItem14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem14ActionPerformed {           float num1,num2,result; num1 = Float.parseFloat(jTextField1.getText); num2 = Float.parseFloat(jTextField2.getText); result = num1*num2; jTextField3.setText(String.valueOf(result)); }   }//GEN-LAST:event_jMenuItem14ActionPerformed

private void jMenuItem15ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem15ActionPerformed {           jTextField1.setText(""); jTextField2.setText(""); jTextField3.setText(""); }   }//GEN-LAST:event_jMenuItem15ActionPerformed

private void jMenuItem16ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem16ActionPerformed {           System.exit(0); }   }//GEN-LAST:event_jMenuItem16ActionPerformed

private void jMenu3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenu3ActionPerformed // TODO add your handling code here: }//GEN-LAST:event_jMenu3ActionPerformed

private void jMenuItem20ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem20ActionPerformed // TODO add your handling code here: }//GEN-LAST:event_jMenuItem20ActionPerformed

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed jFrame2.show(true); }//GEN-LAST:event_jButton1ActionPerformed

/**   * @param args the command line arguments */   public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable {           public void run {                new plusplusuin.setVisible(true);            }        }); }

// Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JButton file_saveas1; private javax.swing.JButton jButton1; private javax.swing.JButton jButton5; private javax.swing.JButton jButton6; private javax.swing.JButton jButton7; private javax.swing.JButton jButton8; private javax.swing.JFrame jFrame2; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel10; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel3; private javax.swing.JLabel jLabel4; private javax.swing.JLabel jLabel5; private javax.swing.JLabel jLabel6; private javax.swing.JLabel jLabel7; private javax.swing.JLabel jLabel8; private javax.swing.JLabel jLabel9; private javax.swing.JMenu jMenu3; private javax.swing.JMenu jMenu4; private javax.swing.JMenuBar jMenuBar2; private javax.swing.JMenuItem jMenuItem12; private javax.swing.JMenuItem jMenuItem13; private javax.swing.JMenuItem jMenuItem14; private javax.swing.JMenuItem jMenuItem15; private javax.swing.JMenuItem jMenuItem16; private javax.swing.JMenuItem jMenuItem17; private javax.swing.JMenuItem jMenuItem18; private javax.swing.JMenuItem jMenuItem19; private javax.swing.JMenuItem jMenuItem20; private javax.swing.JMenuItem jMenuItem21; private javax.swing.JMenuItem jMenuItem22; private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel2; private javax.swing.JTextField jTextField1; private javax.swing.JTextField jTextField2; private javax.swing.JTextField jTextField3; private javax.swing.JFileChooser pilih; // End of variables declaration//GEN-END:variables

}