摘要:
闪客天堂教程站 http://study.flasher.cn 高手网页制作教程Flash专栏 http://school.gaoshou.net/1/index.html 闪吧 http://www.flash8.net 阅读全文
posted @ 2005-05-27 15:04
Rookie.Zhang
阅读(506)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.util.*; 3public class LinkListOne 4{public static void main(String args[]) 5 { LinkedList mylist=new LinkedList(); 6 mylist.add("It"); //链表中的第一个节点。 7 mylist.... 阅读全文
posted @ 2005-05-27 14:38
Rookie.Zhang
阅读(1070)
评论(0)
推荐(0)
摘要:
1//例子1 2import javax.swing.*;import java.awt.*;import java.awt.event.*; 3public class Example25_1 4{ public static void main(String args[]) 5 { JButton button=new JButton("轻组件按钮"); ... 阅读全文
posted @ 2005-05-27 14:32
Rookie.Zhang
阅读(1757)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3import java.awt.event.*; 4public class Example24_1 extends Applet implements ActionListener 5{ AudioClip clip;//声明一个音频对象 6 Button button_pla... 阅读全文
posted @ 2005-05-27 10:18
Rookie.Zhang
阅读(1463)
评论(4)
推荐(0)
摘要:
1//例子1 2import java.sql.*; 3public class Example23_1 4{ public static void main(String args[]) 5 { Connection con;Statement sql; ResultSet rs; 6 try { Class.forName("sun.jdbc.odbc.Jd... 阅读全文
posted @ 2005-05-27 10:12
Rookie.Zhang
阅读(1502)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*; 3import java.awt.*; 4public class Example22_1 extends Applet 5{ Image img; 6 public void start() 7 { img=getImage(getCodeBase(),"vintdev.jpg"); 8 } 9 ... 阅读全文
posted @ 2005-05-27 10:10
Rookie.Zhang
阅读(1000)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3import java.awt.event.*;import java.net.*; 4public class Example21_1 extends Applet implements ActionListener 5{ Button button; 6 URL url; ... 阅读全文
posted @ 2005-05-27 10:08
Rookie.Zhang
阅读(952)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.io.*; 3class Example20_1 4{ public static void main(String args[]) 5 { File f1=new File("F:\\8000","Example20_1.java"); 6 File f2=new File("F:\\8000"); 7 S... 阅读全文
posted @ 2005-05-27 10:04
Rookie.Zhang
阅读(1160)
评论(0)
推荐(0)
摘要:
1//例子1 2public class Example19_1 3{ public static void main(String args[]) 4 { Lefthand left; 5 Righthand right; 6 left=new Lefthand() ;//创建线程。 7 right=new Righthand();... 阅读全文
posted @ 2005-05-27 09:40
Rookie.Zhang
阅读(935)
评论(1)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3import java.awt.event.*; 4public class Example18_1 extends Applet implements MouseListener 5{ TextField text; 6 public void init() 7 { ... 阅读全文
posted @ 2005-05-27 09:36
Rookie.Zhang
阅读(2577)
评论(1)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3public class Example17_1 extends Applet 4{ public void paint(Graphics g) 5 { int y,x=120; 6 g.drawString("计算机科学技术",10,20); 7 g.... 阅读全文
posted @ 2005-05-27 09:30
Rookie.Zhang
阅读(1297)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.awt.event.*; import java.awt.*; 3class MyDialog extends Dialog implements ActionListener //建立对话框类。 4{ static final int YES=1,NO=0; 5 int message=-1; Button yes,no; 6 ... 阅读全文
posted @ 2005-05-27 09:18
Rookie.Zhang
阅读(1016)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.awt.*;import java.awt.event.*; 3class MyFrame extends Frame implements ItemListener,ActionListener 4{ Checkbox box; TextArea text; Button button; 5 MyFrame(String s) 6 ... 阅读全文
posted @ 2005-05-27 09:11
Rookie.Zhang
阅读(1181)
评论(1)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3import java.awt.event.*; 4import javax.swing.JTextArea; 5public class Example14_1 extends Applet implements ItemListener 6{ List list ; 7 ... 阅读全文
posted @ 2005-05-27 09:09
Rookie.Zhang
阅读(721)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3class Mypanel1 extends Panel 4{ Checkbox box1,box2,box3;CheckboxGroup sex; 5 Mypanel1() 6 { sex=new CheckboxGroup(); 7 box1=new C... 阅读全文
posted @ 2005-05-27 09:07
Rookie.Zhang
阅读(873)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3public class Example12_1 extends Applet 4{ public void init() 5 { FlowLayout flow=new FlowLayout(); 6 flow.setAlignment(FlowLayout.LE... 阅读全文
posted @ 2005-05-27 09:06
Rookie.Zhang
阅读(775)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*;import java.awt.event.*; 3class Mypanel extends Panel implements ActionListener 4{ Button button1,button2,button3; 5 Color backColor; 6 ... 阅读全文
posted @ 2005-05-27 09:04
Rookie.Zhang
阅读(822)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*;import java.awt.event.*; 3public class Example10_1 extends Applet implements ActionListener 4{ TextField text; 5 Button buttonEnter,buttonQuit... 阅读全文
posted @ 2005-05-27 09:01
Rookie.Zhang
阅读(872)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*;import java.awt.*; 3public class Boy extends Applet 4{ TextField text1,text2,text3; 5 public void init() 6 { text1=new TextField("输入密码:",10); 7 text1.... 阅读全文
posted @ 2005-05-27 08:59
Rookie.Zhang
阅读(1030)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.applet.*; 3import java.awt.*; 4public class Example8_1 extends Applet 5{ Button button1; Button button2; 6 int sum; 7 public void init() 8 { button1=new Button("yes"); 9... 阅读全文
posted @ 2005-05-27 08:56
Rookie.Zhang
阅读(707)
评论(0)
推荐(0)
摘要:
1例子 2import java.awt.*; 3class Example7_1 4{ public static void main(String args[]) 5 { Frame fr=new Frame("媒体新闻"); // 一个容器对象。 6 fr.setLayout(new FlowLayout()); 7 Button button1=new B... 阅读全文
posted @ 2005-05-27 08:52
Rookie.Zhang
阅读(668)
评论(0)
推荐(0)
摘要:
1//例子1 2import java.util.Date; 3import java.text.SimpleDateFormat; 4class Example6_1 5{ public static void main(String args[]) 6 { Date nowTime=new Date(); 7 System.out.println("现在的时... 阅读全文
posted @ 2005-05-27 08:49
Rookie.Zhang
阅读(785)
评论(0)
推荐(0)
摘要:
1例子1 2import java.applet.*; import java.awt.*; 3public class Example5_1 extends Applet 4{ float a[]; 5 public void init() 6 { a=new float[5]; 7 a[0]=23.9f;a[1]=34.9f;a[2]=45f;a[3... 阅读全文
posted @ 2005-05-27 08:47
Rookie.Zhang
阅读(704)
评论(0)
推荐(0)
摘要:
1//例子1 2class XiyoujiRenwu 3{ float height,weight; 4 String head, ear,hand,foot, mouth; 5 void speak(String s) 6 { System.out.println(s); 7 } 8} 9class A 10{ public sta... 阅读全文
posted @ 2005-05-27 08:43
Rookie.Zhang
阅读(1375)
评论(0)
推荐(0)
摘要:
1例子1 2class Example3_1 3{ public static void main(String args[]) 4 {char a1='十',a2='点',a3='进',a4='攻'; 5 char secret='8'; 6 a1=(char)(a1^secret); a2=(char)(a2^secret); 7 a3=(... 阅读全文
posted @ 2005-05-27 08:36
Rookie.Zhang
阅读(777)
评论(2)
推荐(0)
摘要:
1//例子1 2public class Example2_1 3{ 4 public static void main (String args[ ]) 5 { 6 char chinaWord='你',japanWord='ぁ'; 7 int p1=20328,p2=12358; 8 System.out.println("汉字\'你\'字在un... 阅读全文
posted @ 2005-05-27 08:35
Rookie.Zhang
阅读(597)
评论(0)
推荐(0)
摘要:
1//例子1 2public class Hello 3{ 4 public static void main (String args[ ]) 5 { 6 System.out.println("你好,很高兴学习Java"); 7 } 8} 910//例子211public class people12{13 float hight,weight; 14 ... 阅读全文
posted @ 2005-05-27 08:34
Rookie.Zhang
阅读(825)
评论(0)
推荐(0)

浙公网安备 33010602011771号