package net.classicube.selfupdater; import javax.swing.border.EmptyBorder; public class ProgressIndicator extends javax.swing.JFrame { /** * Creates new form ProgressIndicator */ public ProgressIndicator() { this.getRootPane().setBorder(new EmptyBorder(8,8,8,8)); initComponents(); setLocationRelativeTo(null); } /** * 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() { java.awt.GridBagConstraints gridBagConstraints; jLabel1 = new javax.swing.JLabel(); jProgressBar1 = new javax.swing.JProgressBar(); jLabel2 = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); getContentPane().setLayout(new java.awt.GridBagLayout()); jLabel1.setText("<html><center>Thanks for checking out ClassiCube client!<br>\nYou will be able to sign in and play as soon<br>\nas this one-time download finishes."); jLabel1.setToolTipText(""); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; getContentPane().add(jLabel1, gridBagConstraints); jProgressBar1.setIndeterminate(true); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.insets = new java.awt.Insets(8, 0, 8, 0); getContentPane().add(jProgressBar1, gridBagConstraints); jLabel2.setText("Preparing..."); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; getContentPane().add(jLabel2, gridBagConstraints); pack(); }// </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel2; private javax.swing.JProgressBar jProgressBar1; // End of variables declaration//GEN-END:variables }