Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Java ѧÉú¹ÜÀíϵͳ´úÂë

//³õѧJAVA  ¿ª·¢ÁËÒ»¸ö ѧÉú¹ÜÀí³ÌÐò£¬ÄóöÀ´É¹É¹£¬ÒÔ±ã´ó¼Ò²Î¿¼»òÆÀÂÛ Ö¸³ö²»×ãÖ®´¦£¡Ð»Ð» ÓÉÓÚ´Ë´¦²»ÄÜÉÏ´«ÕÕÆ¬£¬¹Ê·ÅÔÚÎÒµÄÏà
//²áÀïÃæ
//Õâ¸öµÇÈë½çÃæµÄ³ÌÐò£º
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.util.*;
import java.util.jar.JarFile;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
public class Denglujiemian extends Frame implements ActionListener {
 JLabel JLUserName = new JLabel("Óû§Ãû£º");
 JLabel JLPaw = new JLabel("ÃÜÂë");
 JTextField JTUserName = new JTextField();
 JPasswordField JPsw= new JPasswordField();
 JButton JB1 = new JButton("µÇÈë");
 JButton JB2 = new JButton("È¡Ïû");
 JLabel JL1 = new JLabel("Éí·Ý");
 JComboBox JC = new JComboBox();
 
 
 public Denglujiemian(){
  this.setTitle("ѧÉúÐÅÏ¢¹ÜÀíϵͳ");
  this.setLayout(null);
  JLUserName.setBounds(100,40,100,20);
  this.add(JLUserName);
  JTUserName.setBounds(200, 40, 80, 20);
  this.add(JTUserName);
  JLPaw.setBounds(100, 100, 60, 20);
  this.add(JLPaw);
  JPsw.setBounds(200, 100, 80, 20);
  this.add(JPsw);
  JL1.setBounds(100, 150, 60, 20);
  this.add(JL1);
  JC.setBounds(200, 150, 80, 20);
  this.add(JC);
  JC.addItem(new String("ѧÉú"));
  JC.addItem(new String("ÀÏʦ"));
 
  JB1.setBounds(100, 200, 60, 20);
  this.add(JB1);
  JB1.addActionListener(this);
 
 
 
  JB2.setBounds(200, 200, 60, 20);
  this.add(JB2);
  JB2.addActionListener(this);
 
  this.setVisible(true);
  this.setBounds(400, 250, 400, 250);
&n


Ïà¹ØÎĵµ£º

Java Swing JScrollPane,JTable

      ͬÊÂÒªÒ»¸öºÍAccess¹¦ÄÜÀàËÆµÄÈí¼þ£¬µ«ÊÇÒªÂú×ãËýÌá³öµÄ¸÷ÖÖÒªÇó¡£ËýÖªµÀÎÒÊÇ×öÈí¼þµÄ£¬ËùÒÔÈÃÎÒ¸øÐ´Ò»¸ö£¬ÏëÏëËýµÄÌáµÄÐèÇóºÜÈÝÒ×ʵÏÖ£¬ËùÒԾʹðÓ¦ÁË¡£ÒòΪAccessµÄ¹¦ÄÜËý¾ÍÓÃÀ´¹ÜÀí±í¸ñ£¬ÈÕ³£µÄºÜ¶à±í¸ñºÜ¶à£¬¶¼ÐèÒª½øÐеç×ÓµµµÄµÇ¼Ç¡£´ËÈí¼þ¿Ï¶¨ÒªÊµÏÖ±í¸ñ²Ù×÷µÄ¹¦ÄÜ£¬ËäÈ»¸ãJAVAÒѾ­¿ìÁ ......

Java µÄͼÐÎÓû§½çÃæAWT°ü


¢AWT£ºAbstract Window Toolkit
¢GUI£º Graphical User Interface
          ͨ¹ýÌṩ²Ëµ¥¡¢°´Å¥¡¢±êÇ©±êʶ¡¢Êó±êµÈ£¬Íê³É¶Ô¼ÆËã»ú·¢³öÖ¸Áî¡¢Æô¶¯Ó¦ÓóÌÐòµÈ²Ù×÷ÈÎÎñ¡£
¢ÔÚjavaÖУ¬AWTÊÇÓÃÀ´´¦ÀíͼÐÎ×î»ù±¾µÄ·½Ê½£¬Ëü¿ÉÒÔÓÃÀ´´´½¨javaµÄappletºÍ´°¿Ú¡ ......

javaÖлñµÃÊý×éÖÐ×îСµÄÊý

public static void main(String[] args)
{
Integer[] arrInt = new Integer[6];
arrInt[0] = 123;
arrInt[1] = 3453;
arrInt[2] = 345;
arrInt[3] = 23;
arrInt[4] = 11;
arrInt[5] = 345;

int temp = 0;
for (int i ......

javaµÝ¹éʵÏÖµÄÃÔ¹¬ÓÎÏ·

public class Migong {
 
    private int gard[][]={  {1,1,1,1,0,1,1,1},
                         {0,0,0,1,1,1,1,1},
       ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ