Java Production QQ Login interface

Source: Internet
Author: User

Package org.eclipse.wb.swing;

Import Java.awt.BorderLayout;
Import Java.awt.EventQueue;

Import Javax.swing.ImageIcon;
Import Javax.swing.JFrame;
Import Javax.swing.JLabel;
Import Javax.swing.JPanel;
Import Javax.swing.border.EmptyBorder;
Import Javax.swing.JTextField;
Import Javax.swing.JPasswordField;

Import Java.awt.Label;
Import Java.awt.Color;

Import Javax.swing.JCheckBox;

Import Java.awt.Button;

Import Javax.swing.border.CompoundBorder;
Import Javax.swing.JComboBox;
Import Javax.swing.Icon;
Import Javax.swing.JProgressBar;
Import javax.swing.JTable;
Import Com.jgoodies.forms.factories.DefaultComponentFactory;
Import Javax.swing.JScrollBar;
Import Java.awt.event.ActionListener;
Import java.awt.event.ActionEvent;

public class QQ Login extends JFrame {

Private JPanel ContentPane;
Private JPasswordField Passwordfield;

/**
* Launch the application.
*/
public static void Main (string[] args) {
Eventqueue.invokelater (New Runnable () {
public void Run () {
try {
QQ Login frame = new QQ login ();
Frame.setvisible (TRUE);
} catch (Exception e) {
E.printstacktrace ();
}
}
});
}

/**
* Create the frame.
*/
Public QQ Login () {
Setdefaultcloseoperation (Jframe.exit_on_close);
SetBounds (100, 100, 517, 318);
ContentPane = new JPanel ();
Contentpane.setborder (New Emptyborder (5, 5, 5, 5));
Setcontentpane (ContentPane);
Contentpane.setlayout (NULL);

JPanel panel = new JPanel ();
Panel.setborder (New Compoundborder (New Compoundborder (), null));
Panel.setbounds (0, 10, 491, 118);
Contentpane.add (panel);
Panel.setlayout (NULL);


JLabel Lblimagel = new JLabel (New ImageIcon ("./pig/3.png"));
Lblimagel.setbounds (0, 10, 491, 118);
Panel.add (Lblimagel);

JPanel panel_1 = new JPanel ();
Panel_1.setbounds (104, 138, 236, 27);
Contentpane.add (Panel_1);
Panel_1.setlayout (NULL);

JComboBox ComboBox = new JComboBox ();
Combobox.setbounds (0, 0, 236, 27);
Combobox.additem ("");
Combobox.additem ("369431735");
Combobox.additem ("809619573");
Panel_1.add (ComboBox);

JPanel panel_2 = new JPanel ();
Panel_2.setbounds (346, 138, 78, 27);
Contentpane.add (panel_2);
Panel_2.setlayout (NULL);

Label label = new Label ("\u6ce8\u518c\u8d26\u53f7");
Label.setforeground (Color.Blue);
Label.setalignment (Label.center);
Label.setbounds (0, 0, 78, 27);
Panel_2.add (label);

JPanel panel_3 = new JPanel ();
Panel_3.setbounds (350, 175, 74, 26);
Contentpane.add (Panel_3);
Panel_3.setlayout (NULL);

Label Label_1 = new label ("\u5fd8\u8bb0\u5bc6\u7801");
Label_1.setalignment (Label.center);
Label_1.setbounds (0, 0, 72, 23);
Label_1.setforeground (Color.Blue);
Panel_3.add (Label_1);

JPanel panel_4 = new JPanel ();
Panel_4.setbounds (104, 174, 236, 27);
Contentpane.add (Panel_4);
Panel_4.setlayout (NULL);

Passwordfield = new JPasswordField ();
Passwordfield.setbackground (New Color (220, 220, 220));
Passwordfield.setbounds (0, 0, 237, 26);
Panel_4.add (Passwordfield);

JPanel panel_5 = new JPanel ();
Panel_5.setbounds (104, 213, 236, 27);
Contentpane.add (panel_5);
Panel_5.setlayout (NULL);

Jcheckbox Chckbxnewcheckbox = new Jcheckbox ("\u8bb0\u4f4f\u5bc6\u7801");
Chckbxnewcheckbox.setbounds (21, 5, 90, 23);
Panel_5.add (Chckbxnewcheckbox);

Jcheckbox CheckBox = new Jcheckbox ("\u81ea\u52a8\u767b\u5f55");
Checkbox.setbounds (127, 5, 90, 23);
Panel_5.add (CheckBox);

JPanel panel_6 = new JPanel ();
Panel_6.setbounds (30, 128, 64, 69);
Contentpane.add (Panel_6);



JLabel lblimage = new JLabel (New ImageIcon ("./pig/2.png"));
Lblimage.setbounds (20, 128, 74, 79);
Panel_6.add (Lblimage);

JPanel panel_7 = new JPanel ();
Panel_7.setbounds (104, 250, 236, 27);
Contentpane.add (panel_7);
Panel_7.setlayout (NULL);

Button button = New button ("\u767b\u5f55");
Button.addactionlistener (new ActionListener () {
public void actionperformed (ActionEvent arg0) {
}
});
Button.setbackground (New Color (0, 51, 255));
Button.setbounds (0, 0, 236, 28);
Panel_7.add (button);
}
}

Java Production QQ Login interface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.