摘要: package swingtest;import java.awt.BorderLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.*;public clas... 阅读全文
posted @ 2015-03-21 11:11 JonLi 阅读(333) 评论(0) 推荐(0)
摘要: package filestream;import java.io.File;public class FileTester { public static void main(String [] args) { String path = "E:\\java\\dirte... 阅读全文
posted @ 2015-03-21 10:16 JonLi 阅读(192) 评论(0) 推荐(0)
摘要: package filestream;import java.io.FileReader;import java.io.FileWriter;import java.io.FileNotFoundException;import java.io.IOException;public class Ch... 阅读全文
posted @ 2015-03-20 22:29 JonLi 阅读(134) 评论(0) 推荐(0)
摘要: package filestream;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;publ... 阅读全文
posted @ 2015-03-20 22:28 JonLi 阅读(215) 评论(0) 推荐(0)
摘要: package tickect;class ticketnum implements Runnable{ public int tickets = 100; String str = new String(); public void run() { while... 阅读全文
posted @ 2015-03-18 16:58 JonLi 阅读(339) 评论(0) 推荐(0)
摘要: package thread_test;class A implements Runnable{ public void run() { while(true) { System.out.println("AA"); ... 阅读全文
posted @ 2015-03-17 22:25 JonLi 阅读(158) 评论(0) 推荐(0)
摘要: package test;public class Loop_Statement { public static void main(String [] args) { String[] newbag = new String[] {"Bag","Key","Book"}... 阅读全文
posted @ 2015-03-01 22:20 JonLi 阅读(268) 评论(0) 推荐(0)
摘要: package test;public class Condition_Phase { public static void main (String[] args) { //The Traditional Mode int money = 9... 阅读全文
posted @ 2015-03-01 17:55 JonLi 阅读(220) 评论(0) 推荐(0)
摘要: 1 package test; 2 3 class A 4 { 5 private static int i; // Static, Private Attribute 6 private static int j; // Static, ... 阅读全文
posted @ 2015-02-25 22:24 JonLi 阅读(199) 评论(0) 推荐(0)