/** * 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") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jButton1 = new javax.swing.JButton(); aRadBtn = new javax.swing.JRadioButton(); bRadBtn = new javax.swing.JRadioButton(); cRadBtn = new javax.swing.JRadioButton(); dRadBtn = new javax.swing.JRadioButton(); wordLbl = new javax.swing.JLabel(); promptLbl = new javax.swing.JLabel(); jButton2 = new javax.swing.JButton(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); jButton1.setFont(new java.awt.Font("Helvetica", 0, 13)); jButton1.setText("Finished"); jButton1.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); aRadBtn.setText("Choice A"); aRadBtn.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { aRadBtnActionPerformed(evt); } }); bRadBtn.setText("Choice B"); bRadBtn.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { bRadBtnActionPerformed(evt); } }); cRadBtn.setText("Choice C"); cRadBtn.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { cRadBtnActionPerformed(evt); } }); dRadBtn.setText("Choice D"); dRadBtn.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { dRadBtnActionPerformed(evt); } }); wordLbl.setFont(new java.awt.Font("Helvetica", 0, 36)); wordLbl.setText("Word"); promptLbl.setFont(new java.awt.Font("Helvetica", 0, 18)); promptLbl.setText("Prompt"); jButton2.setText("Next"); jButton2.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton2ActionPerformed1(evt); } }); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .addContainerGap() .add( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .add(jButton1) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add( jButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 85, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add( layout .createSequentialGroup() .add(promptLbl) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED, 126, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add( layout .createSequentialGroup() .add( layout .createParallelGroup( org.jdesktop.layout.GroupLayout.LEADING) .add(dRadBtn) .add(bRadBtn) .add(cRadBtn) .add(aRadBtn)) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED, 95, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add( layout .createSequentialGroup() .add(wordLbl) .addPreferredGap( org.jdesktop.layout.LayoutStyle.RELATED, 98, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addContainerGap(34, Short.MAX_VALUE))); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .addContainerGap() .add(wordLbl) .add(18, 18, 18) .add(promptLbl) .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED) .add(aRadBtn) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(bRadBtn) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(cRadBtn) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(dRadBtn) .add(21, 21, 21) .add( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add( jButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add( jButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap( org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); pack(); } // </editor-fold>//GEN-END: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") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel3 = new javax.swing.JPanel(); btnFinish = new javax.swing.JButton(); btnBack = new javax.swing.JButton(); ifInfobox = new javax.swing.JInternalFrame(); lblInfobox = new javax.swing.JLabel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); jPanel3.setBackground(new java.awt.Color(255, 255, 255)); jPanel3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); btnFinish.setFont(new java.awt.Font("Lucida Grande", 0, 18)); // NOI18N btnFinish.setText("generate Vagrantfile"); btnFinish.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnFinishActionPerformed(evt); } }); jPanel3.add(btnFinish, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 170, 350, 60)); btnBack.setText("<"); btnBack.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnBackActionPerformed(evt); } }); jPanel3.add(btnBack, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 10, 60, 60)); ifInfobox.setClosable(true); ifInfobox.setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE); ifInfobox.setTitle("VagrantDestructor"); ifInfobox.setVisible(false); lblInfobox.setText(" "); org.jdesktop.layout.GroupLayout ifInfoboxLayout = new org.jdesktop.layout.GroupLayout(ifInfobox.getContentPane()); ifInfobox.getContentPane().setLayout(ifInfoboxLayout); ifInfoboxLayout.setHorizontalGroup( ifInfoboxLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( ifInfoboxLayout .createSequentialGroup() .addContainerGap() .add( lblInfobox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 266, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(14, Short.MAX_VALUE))); ifInfoboxLayout.setVerticalGroup( ifInfoboxLayout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( ifInfoboxLayout .createSequentialGroup() .add(27, 27, 27) .add(lblInfobox) .addContainerGap(41, Short.MAX_VALUE))); jPanel3.add(ifInfobox, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 310, 130)); jLabel1.setFont(new java.awt.Font("Lucida Grande", 0, 16)); // NOI18N jLabel1.setText("VagrantDeductor"); jPanel3.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 30, 180, -1)); jLabel2.setFont(new java.awt.Font("Lucida Grande", 0, 18)); // NOI18N jLabel2.setForeground(new java.awt.Color(102, 102, 102)); jLabel2.setText("7/7"); jPanel3.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 30, -1, -1)); jLabel11.setText(":.."); jPanel3.add(jLabel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 370, -1, -1)); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 510, Short.MAX_VALUE)); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)); pack(); } // </editor-fold>//GEN-END:initComponents