Advertisement
Guest User

Untitled

a guest
Jul 10th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.86 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6.  
  7. package my.honeypot;
  8.  
  9. /**
  10.  *
  11.  * @author Glenn-Mac
  12.  */
  13. public class Interface extends javax.swing.JFrame {
  14.  
  15.     /**
  16.      * Creates new form Interface
  17.      */
  18.     public Interface() {
  19.         initComponents();
  20.     }
  21.  
  22.     /**
  23.      * This method is called from within the constructor to initialize the form.
  24.      * WARNING: Do NOT modify this code. The content of this method is always
  25.      * regenerated by the Form Editor.
  26.      */
  27.     @SuppressWarnings("unchecked")
  28.     // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
  29.     private void initComponents() {
  30.  
  31.         jPanel1 = new javax.swing.JPanel();
  32.         jSlider1 = new javax.swing.JSlider();
  33.  
  34.         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
  35.  
  36.         jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("poop"));
  37.  
  38.         javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
  39.         jPanel1.setLayout(jPanel1Layout);
  40.         jPanel1Layout.setHorizontalGroup(
  41.             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  42.             .addGap(0, 100, Short.MAX_VALUE)
  43.         );
  44.         jPanel1Layout.setVerticalGroup(
  45.             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  46.             .addGap(0, 100, Short.MAX_VALUE)
  47.         );
  48.  
  49.         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
  50.         getContentPane().setLayout(layout);
  51.         layout.setHorizontalGroup(
  52.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  53.             .addGroup(layout.createSequentialGroup()
  54.                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  55.                     .addGroup(layout.createSequentialGroup()
  56.                         .addGap(36, 36, 36)
  57.                         .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
  58.                     .addGroup(layout.createSequentialGroup()
  59.                         .addGap(78, 78, 78)
  60.                         .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
  61.                 .addContainerGap(132, Short.MAX_VALUE))
  62.         );
  63.         layout.setVerticalGroup(
  64.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  65.             .addGroup(layout.createSequentialGroup()
  66.                 .addGap(22, 22, 22)
  67.                 .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  68.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 94, Short.MAX_VALUE)
  69.                 .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  70.                 .addGap(31, 31, 31))
  71.         );
  72.  
  73.         pack();
  74.     }// </editor-fold>                        
  75.  
  76.     /**
  77.      * @param args the command line arguments
  78.      */
  79.     public static void main(String args[]) {
  80.         /* Set the Nimbus look and feel */
  81.  
  82.  
  83.         /* Create and display the form */
  84.         java.awt.EventQueue.invokeLater(new Runnable() {
  85.             public void run() {
  86.                 new Interface().setVisible(true);
  87.             }
  88.         });
  89.     }
  90.  
  91.     // Variables declaration - do not modify                    
  92.     private javax.swing.JPanel jPanel1;
  93.     private javax.swing.JSlider jSlider1;
  94.     // End of variables declaration                  
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement