Blame view

circus/src/circusRefine/gui/TelaSplash.java 1.78 KB
8d0dc533f   Madiel de Souza Conserva Filho   first
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
  package circusRefine.gui;
  
  /**
   * This class shows a JLotos welcome message.
   * Informations about version and other relative things
   * are placed in this screen.
   * @author diego
   */
  public class TelaSplash extends javax.swing.JFrame {
  
      public TelaSplash() {
          initComponents();
          this.setLocationRelativeTo(null);
      }
  
      @SuppressWarnings("unchecked")
      // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
      private void initComponents() {
  
          jLabel1 = new javax.swing.JLabel();
  
          setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
          setAlwaysOnTop(true);
          setFocusableWindowState(false);
          setUndecorated(true);
  
          jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/circusRefine/img/splash.gif"))); // NOI18N
  
          javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
          getContentPane().setLayout(layout);
          layout.setHorizontalGroup(
              layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jLabel1)
          );
          layout.setVerticalGroup(
              layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
              .addComponent(jLabel1)
          );
  
          pack();
      }// </editor-fold>//GEN-END:initComponents
  
  //    public static void main(String args[]) {
  //        java.awt.EventQueue.invokeLater(new Runnable() {
  //            public void run() {
  //                new SplashLotos().setVisible(true);
  //            }
  //        });
  //    }
  
      // Variables declaration - do not modify//GEN-BEGIN:variables
      private javax.swing.JLabel jLabel1;
      // End of variables declaration//GEN-END:variables
  
  }