📄 dialog6.java~4~
字号:
package ct;import java.awt.*;import javax.swing.*;import com.borland.jbcl.layout.*;import javax.swing.border.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Dialog6 extends JDialog { JPanel jPanel1 = new JPanel(); XYLayout xYLayout1 = new XYLayout(); Border border1; JLabel jLabel1 = new JLabel(); public Dialog6(Frame frame, String title, boolean modal) { super(frame, title, modal); try { jbInit(); pack(); } catch(Exception ex) { ex.printStackTrace(); } } public Dialog6() { this(null, "", false); } private void jbInit() throws Exception { border1 = new MatteBorder(null); jPanel1.setLayout(xYLayout1); jPanel1.setBorder(border1); jLabel1.setDoubleBuffered(true); jLabel1.setOpaque(true); jLabel1.setText("jLabel1"); this.getContentPane().add(jPanel1, BorderLayout.CENTER); jPanel1.add(jLabel1, new XYConstraints(149, 54, 241, 154)); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -