📄 splashdialog.java
字号:
/* * SplashDialog.java * * Created on 9 ottobre 2004, 11.19 */package it.businesslogic.ireport.gui;/** * * @author Administrator */public class SplashDialog extends javax.swing.JDialog { /** Creates new form SplashDialog */ public SplashDialog(java.awt.Frame parent, boolean modal) { super(parent, modal); initComponents(); this.setSize(320,261); it.businesslogic.ireport.util.Misc.centerFrame(this); } public void updateLoadingStatus(int status, String label) { jProgressBar1.setValue(status); if (label != null) jProgressBar1.setString( label); } /** 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. */ private void initComponents() {//GEN-BEGIN:initComponents jLabel1 = new javax.swing.JLabel(); jProgressBar1 = new javax.swing.JProgressBar(); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); setResizable(false); setUndecorated(true); jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/it/businesslogic/ireport/icons/logo4.png"))); jLabel1.setIconTextGap(0); getContentPane().add(jLabel1, java.awt.BorderLayout.CENTER); jProgressBar1.setOpaque(false); jProgressBar1.setString("Loading"); jProgressBar1.setStringPainted(true); getContentPane().add(jProgressBar1, java.awt.BorderLayout.SOUTH); pack(); }//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JLabel jLabel1; private javax.swing.JProgressBar jProgressBar1; // End of variables declaration//GEN-END:variables }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -