📄 frame6.java
字号:
package untitled;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.*;
import javax.swing.*;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2008</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class Frame6 extends JFrame {
public Frame6() {
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
getContentPane().setLayout(null);
jLabel1.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12));
jLabel1.setText("在此,您可以设置精确的查询条件来查询用户。");
jLabel1.setBounds(new Rectangle(193, 24, 276, 16));
this.getContentPane().setBackground(SystemColor.menu);
jButton2.setBounds(new Rectangle(363, 287, 67, 25));
jButton2.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12));
jButton2.setForeground(SystemColor.inactiveCaption);
jButton2.setText("关闭");
jButton1.setBackground(SystemColor.control);
jButton1.setBounds(new Rectangle(259, 288, 71, 25));
jButton1.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12));
jButton1.setForeground(SystemColor.inactiveCaption);
jButton1.setText("查找");
jLabel6.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12));
jLabel6.setText("当前在线人数:");
jLabel6.setBounds(new Rectangle(134, 246, 96, 21));
jTextField2.setBounds(new Rectangle(253, 149, 150, 25));
jLabel5.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12));
jLabel5.setText("对方昵称:");
jLabel5.setBounds(new Rectangle(184, 152, 63, 16));
jTextField1.setBounds(new Rectangle(252, 107, 150, 24));
jLabel4.setFont(new java.awt.Font("Dialog", Font.PLAIN, 12));
jLabel4.setText("对方账号:");
jLabel4.setBounds(new Rectangle(187, 111, 66, 16));
jLabel3.setFont(new java.awt.Font("Dialog", Font.PLAIN, 13));
jLabel3.setText("精确条件");
jLabel3.setBounds(new Rectangle(166, 75, 58, 16));
jLabel7.setText("");
jLabel7.setBounds(new Rectangle( -26, 0, 169, 282));
jLabel8.setText("");
jLabel8.setBounds(new Rectangle( -51, 272, 553, 64));
this.getContentPane().add(jLabel7);
this.getContentPane().add(jLabel3);
this.getContentPane().add(jLabel4);
this.getContentPane().add(jLabel5);
this.getContentPane().add(jTextField2);
this.getContentPane().add(jTextField1);
this.getContentPane().add(jLabel2);
this.getContentPane().add(jLabel1);
this.getContentPane().add(jLabel6);
this.getContentPane().add(jButton1);
this.getContentPane().add(jButton2);
this.getContentPane().add(jLabel8);
jLabel2.setText("");
jLabel2.setBounds(new Rectangle(143, 15, 44, 35));
}
JLabel jLabel1 = new JLabel();
JLabel jLabel2 = new JLabel(new ImageIcon("i:/java/j-qq/src/untitled/j-qq7.jpg"));
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JTextField jTextField1 = new JTextField();
JLabel jLabel5 = new JLabel();
JTextField jTextField2 = new JTextField();
JLabel jLabel6 = new JLabel();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JLabel jLabel7 = new JLabel(new ImageIcon("i:/java/j-qq/src/untitled/j-qq8.jpg"));
JLabel jLabel8 = new JLabel(new ImageIcon("i:/java/J-QQ/src/untitled/j-qq9.jpg"));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -