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") // //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(); }// //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 }