上一页 1 ··· 9 10 11 12 13
摘要: 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 阅读(979) 评论(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 阅读(940) 评论(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 阅读(1138) 评论(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 阅读(906) 评论(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 阅读(2540) 评论(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 阅读(1280) 评论(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 阅读(992) 评论(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 阅读(1148) 评论(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 阅读(700) 评论(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 阅读(845) 评论(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 阅读(759) 评论(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 阅读(797) 评论(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 阅读(852) 评论(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 阅读(998) 评论(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 阅读(682) 评论(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 阅读(648) 评论(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 阅读(762) 评论(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 阅读(674) 评论(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 阅读(1333) 评论(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 阅读(746) 评论(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 阅读(581) 评论(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 阅读(803) 评论(0) 推荐(0) 编辑
摘要: Java 2 Platform Standard Edition (J2SE) 5.0 ("Tiger") ,正式版还没有出来就看到不少的文章在谈论她的不少新特性,毕竟是现代语言,感觉跟C#刚出道时秀的一些新特性差不多,现在也有人在批判Java在走向复杂化了。不管怎么样,事物总是这样发展的。还是抽个空闲来体验下吧。 先来感受下元数据是怎么回事,其实可以说是编译器的职能代码处理吧,我是... 阅读全文
posted @ 2005-05-26 15:40 Rookie.Zhang 阅读(671) 评论(0) 推荐(0) 编辑
摘要: MMORPG开发入门 http://www.vckbase.net/document/viewdoc/?id=1468 Visual C#编写3D游戏框架示例 http://www.aspcool.com/lanmu/browse1.asp?ID=1226&bbsuser=csharp 资源站点 Microsoft DirectX Downloads http://msdn.microso... 阅读全文
posted @ 2005-05-25 16:50 Rookie.Zhang 阅读(506) 评论(0) 推荐(0) 编辑
摘要: 第一辑 Download-By.Net http://www.download-by.net Delphi Skin Component http://www.link-rank.com/ 软件编程咨讯网 http://www.cty99.com/ 中国站长 http://www.cnzz.cn/ 阅读全文
posted @ 2005-05-18 19:11 Rookie.Zhang 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 第一辑 ErrorHandler in aspx http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306355&ID=kb;en-us;Q306355&SD=MSDN MultiLanguage in aspx http://support.mi... 阅读全文
posted @ 2005-05-18 15:51 Rookie.Zhang 阅读(476) 评论(0) 推荐(0) 编辑
摘要: Microsoft.Net ASP.Net http://www.asp.net Windows Forms .NET http://www.windowsforms.net Java IT人资讯交流网 http://www.it315.org Java中文站 http://www.java-cn.com 中文Java网站 http://www.cn-java.com Ja... 阅读全文
posted @ 2005-05-18 15:28 Rookie.Zhang 阅读(635) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13