📄 emptydialog.java
字号:
/* * EmptyDialog. * * JavaZOOM : jlgui@javazoom.net * http://www.javazoom.net * *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *---------------------------------------------------------------------- */package javazoom.jlgui.player.amp.tag.ui;import javax.swing.JFrame;import javazoom.jlgui.player.amp.tag.TagInfo;/** * OggVorbisDialog class implements a DialogBox to diplay OggVorbis info. */public class EmptyDialog extends TagInfoDialog{ private TagInfo _info = null; /** * Creates new form MpegDialog */ public EmptyDialog(JFrame parent, String title, TagInfo mi) { super(parent, title); initComponents(); _info = mi; buttonsPanel.add(_close); pack(); } /** * 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. */ // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { jPanel3 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); buttonsPanel = new javax.swing.JPanel(); getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.Y_AXIS)); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); setResizable(false); jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel1.setText("No Information Available"); jPanel3.add(jLabel1); getContentPane().add(jPanel3); getContentPane().add(buttonsPanel); //pack(); } // </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JPanel buttonsPanel; private javax.swing.JLabel jLabel1; private javax.swing.JPanel jPanel3; // End of variables declaration//GEN-END:variables}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -