⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientmainui.java

📁 一个java登录注册代码
💻 JAVA
字号:
package MYclass;

import java.awt.*;

import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Rectangle;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class ClientmainUI 
{
	JFrame  j;
	JLabel jLabel1;
	JLabel jLabel2;
    JTree jTree1;
    JComboBox jComboBox1;
    Icon i;
    Icon i2;
    public ClientmainUI() 
    {
    	j=new JFrame("QQ");
        j.setLayout(null);
        j.setSize(251,500);
        jLabel1 = new JLabel();
        jLabel1.setBounds(17, 16, 67, 63);
        i=new ImageIcon("tu/b.jpg");
        jLabel1.setIcon(i);
        
        jLabel2=new JLabel();
        jLabel2.setBounds(0, 0, 255, 491);
        i2=new ImageIcon("tu/g.jpg");
        jLabel2.setIcon(i2);
        jTree1 = new JTree(); 
        jTree1.setBounds(40, 80, 180, 370);
        jComboBox1 = new JComboBox();
        jComboBox1.setBounds(174, 24, 64, 22);
        j.add(jLabel1);
        
        j.add(jTree1);
        j.add(jComboBox1);
        j.add(jLabel2);
        j.setLocation(700,0);
        j.setResizable(false);
        j.setVisible(true);
        j.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    
    public static void main(String a[])
    {
    	ClientmainUI c=new ClientmainUI();
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -