- 博客(5)
- 收藏
- 关注
原创 第六周—图像缩放显示
import java.awt.*;import javax.swing.*;public class ShowImg extends JApplet { Image img1 ; public void init(){ img1 = getImage(getCodeBase(),"img.gif"); } public void paint(Graphics g){ i
2014-04-15 08:51:16
602
1
原创 第四周作业-多线程编程
class BankAccount { private static int amount = 2000; public void despoit(int m){ amount = amount + m; System.out.println("小明存入["+m+"元]"); } public void withdraw(int m){ amount = amount - m;
2014-03-27 21:32:01
649
2
翻译 第2周:Java事件处理
import java.applet.*;import java.awt.*;import java.awt.event.*;public class simpleEvent extends Applet implements ActionListener{ Label lb; TextField in,out; public void init() { l
2014-03-11 21:57:41
382
转载 Java加密算法 RSA
[java] view plaincopyprint?package com.stone.security; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.PrivateKey; import java.security.PublicKey;
2014-03-11 09:01:49
881
翻译 Java练习
import java.io.*;public class Bwriter{ public static void main(String args[]) throws Exception {InputStreamReader i = new InputStreamReader(System.in); BufferedReader b = new BufferedReader
2014-03-10 23:41:15
533
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人