Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.89 KB | None | 0 0
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5.  
  6. /*
  7.  * MtGox_UI.java
  8.  *
  9.  * Created on 21.May.2011, 18:52:58
  10.  */
  11.  
  12. package UI;
  13.  
  14. import java.util.logging.Level;
  15. import java.util.logging.Logger;
  16. import javax.swing.UIManager;
  17. import javax.swing.UnsupportedLookAndFeelException;
  18.  
  19. /**
  20.  *
  21.  * @author Superbest
  22.  */
  23. public class MtGox_UI extends javax.swing.JFrame {
  24.  
  25.     /** Creates new form MtGox_UI */
  26.     public MtGox_UI() {
  27.         initComponents();
  28.         try {
  29.             UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
  30.         } catch (Exception ex) {
  31.         }
  32.     }
  33.  
  34.     /** This method is called from within the constructor to
  35.      * initialize the form.
  36.      * WARNING: Do NOT modify this code. The content of this method is
  37.      * always regenerated by the Form Editor.
  38.      */
  39.     @SuppressWarnings("unchecked")
  40.     // <editor-fold defaultstate="collapsed" desc="Generated Code">
  41.     private void initComponents() {
  42.  
  43.         jScrollPane1 = new javax.swing.JScrollPane();
  44.         jButton1 = new javax.swing.JButton();
  45.  
  46.         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
  47.  
  48.         jButton1.setText("jButton1");
  49.  
  50.         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
  51.         getContentPane().setLayout(layout);
  52.         layout.setHorizontalGroup(
  53.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  54.             .addGroup(layout.createSequentialGroup()
  55.                 .addContainerGap()
  56.                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
  57.                     .addComponent(jButton1)
  58.                     .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
  59.                 .addContainerGap(432, Short.MAX_VALUE))
  60.         );
  61.         layout.setVerticalGroup(
  62.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  63.             .addGroup(layout.createSequentialGroup()
  64.                 .addContainerGap()
  65.                 .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
  66.                 .addGap(115, 115, 115)
  67.                 .addComponent(jButton1)
  68.                 .addContainerGap(119, Short.MAX_VALUE))
  69.         );
  70.  
  71.         pack();
  72.     }// </editor-fold>
  73.  
  74.     /**
  75.     * @param args the command line arguments
  76.     */
  77.     public static void main(String args[]) {
  78.         java.awt.EventQueue.invokeLater(new Runnable() {
  79.             public void run() {
  80.                 new MtGox_UI().setVisible(true);
  81.             }
  82.         });
  83.     }
  84.  
  85.     // Variables declaration - do not modify
  86.     private javax.swing.JButton jButton1;
  87.     private javax.swing.JScrollPane jScrollPane1;
  88.     // End of variables declaration
  89.  
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement