亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? frame.java

?? Java AWT界面例子
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
package end;import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.event.*;import java.io.*;import java.util.*;import java.awt.image.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2004</p> * <p>Company: </p> * @author unascribed * @version 1.0 */class mohu implements Runnable{        tong m_tong;        frame nowframe;		String s1;		StringBuffer s2;		int length;        Thread ComputeThread=null;        public void start()        {          if(ComputeThread==null)          {              ComputeThread=new Thread(this,"Compute");              ComputeThread.start();          }        }	void Init()	{                m_tong=new tong();                m_tong.nowframe=nowframe;                m_tong.ismohu=true;                m_tong.ComputeThread=ComputeThread;                nowframe.List1con.removeAllElements();                length = s1.length();	}	public void run()	{                Animate ani=new Animate();                ani.nowframe=nowframe;                ani.gook=true;                ani.aninum=0;                ani.start();                //try{ComputeThread.sleep(1);}catch(InterruptedException e){}		int i=0;		for(i=0;i<length;i++)		{                        m_tong=new tong();                        m_tong.nowframe=nowframe;                        m_tong.ismohu=true;			s2=new StringBuffer(s1);			s2.setCharAt(i,'?');                        m_tong.s1=s2.toString();                        m_tong.Init();                        m_tong.analyze();		}		for(i=0;i<length+1;i++)		{                        s2=new StringBuffer(s1);						s2.insert(i,'?');                        m_tong.s1=s2.toString();                        m_tong.Init();                        m_tong.analyze(); 		}        ani.gook=false;	}}class tong implements Runnable{        boolean isrunning=false;        boolean ismohu;        frame nowframe;        Thread ComputeThread=null;        public void start()        {          if(ComputeThread==null)          {              ComputeThread=new Thread(this,"Compute");              ComputeThread.start();          }        }        void analyze()        {            int i=0;            try{ComputeThread.sleep(1);}catch( InterruptedException e){}            while(!isend&&i<20)            {                try{ComputeThread.sleep(1);}catch( InterruptedException e){}            	try{                String m=findnext();                int te=nowframe.indexin.findindexnum(m);  	        	long bol=nowframe.indexin.wordblock[te].transpoint;  	        	nowframe.wordsin.getwordsblock(nowframe.words,bol);  	        	bol=nowframe.wordsin.findword(m);                //System.out.print(" "+m);                if(bol!=-1)                {                  //System.out.print(" "+m);                  nowframe.List1con.addElement(m);                  i++;                } }catch (IOException x){}            }            nowframe.ChooseList1.setListData(nowframe.List1con);        }        public void run()        {            isrunning=true;            Animate ani=new Animate();            ani.nowframe=nowframe;            ani.gook=true;            ani.aninum=0;            ani.start();            try{ComputeThread.sleep(1);}catch( InterruptedException e){}            //System.out.print(" "+s1);            if(ismohu==false)            {                nowframe.List1con.removeAllElements();            }            int i=0;            while(!isend&&i<20)            {            	try{ComputeThread.sleep(1);}catch( InterruptedException e){}                try{                String m=findnext();                int te=nowframe.indexin.findindexnum(m);  	        	long bol=nowframe.indexin.wordblock[te].transpoint;  	        	nowframe.wordsin.getwordsblock(nowframe.words,bol);  	        	bol=nowframe.wordsin.findword(m);                //System.out.print(" "+m);                if(bol!=-1)                {                  System.out.print(" "+m);                  nowframe.List1con.addElement(m);                  i++;                } }catch (IOException x){}            }            nowframe.ChooseList1.setListData(nowframe.List1con);            ani.gook=false;            isrunning=false;        }	int numofdelim;	String s1;	StringTokenizer s2;	char delim[];	boolean isend=false;	void Init()	{		int i=0;		s2=new StringTokenizer(s1,"?",true);		String temp;		int m=s2.countTokens();		int n=0;		for(i=0;i<m;i++)		{			temp=s2.nextToken();			if(temp.compareTo("?")==0)			{				n++;			}		}		numofdelim=n;                if(n==0)                {                    isend=true;                    return;                }		delim=new char[n];		for(i=0;i<n;i++)		{			delim[i]='a';		}		isend=false;	}	String findnext()	{		int i=numofdelim-1;		while((delim[i]=='z')&&i>0)		{			delim[i]='a';			i--;		}		if((delim[i]=='z')&&i==0)		{			isend=true;			return "";		}		delim[i]=nextchar(delim[i]);		return compound();	}	String compound()	{		s2=new StringTokenizer(s1,"?",true);		int i=0;		StringBuffer result=new StringBuffer();		String temp;		while(s2.hasMoreTokens())		{			temp=s2.nextToken();			if(temp.compareTo("?")==0)			{				result.append(delim[i]);				i++;			}			else			{				result.append(temp);			}		}		return result.toString();	}	static char nextchar(char x)	{		if(x>='a'&&x<'z')		{			int i=(int)x;			i++;			return (char)i;		}		return 0;	}}class Words{	char m_word[];	long transpoint;	int i=0;    void getword(String a)    {         Reset();         if(a.length()<=40)              a.getChars(0,a.length(),m_word,0);         else              a.getChars(0,40,m_word,0);        }	Words()	{		m_word=new char[40];		transpoint=0;	}	void Reset()	{		for(i=0;i<40;i++)			m_word[i]=0;		i=0;	}	public static String toString(Words i)	{		String rettemp;		int j=0;		while(i.m_word[j]!=0)			{j++;}		rettemp=new String(i.m_word,0,j);		return rettemp;	}}class WordsList{	Words wordblock[]=new Words[250];	WordsList()	{		int i=0;		for(i=0;i<250;i++)		{			wordblock[i]=new Words();		}	}    void Reset()    {        int i=0;		for(i=0;i<250;i++)		{			wordblock[i].Reset();		}    }	void getindex(RandomAccessFile index) throws IOException	{                //index.seek(0);		int i=0;		int j=0;		try		{		for(i=0;i<250;i++)		{			for(j=0;j<40;j++)			{				wordblock[i].m_word[j]=index.readChar();			}			wordblock[i].transpoint=index.readLong();		}		}catch(EOFException x){}	}	void setusers(RandomAccessFile users) throws IOException	{                users.seek(0);		int i=0;		int j=0;		try		{		for(i=0;i<250;i++)		{			for(j=0;j<40;j++)			{				users.writeChar(wordblock[i].m_word[j]);			}			users.writeLong(wordblock[i].transpoint);		}}catch(EOFException x){}	}	int findindexnum(String m)	{		int i=0;		int base=0;		int tlength=250;		while(tlength>1)		{			i=base+tlength/2;			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))<0||wordblock[i].toString(wordblock[i]).equalsIgnoreCase(""))			{				tlength=tlength/2+1;				if(tlength==2)					tlength=1;				continue;			}			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))==0)			{				break;			}			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))>0)			{				base=i;				tlength=tlength/2+1;				continue;			}		}		if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))<0||wordblock[i].toString(wordblock[i]).equalsIgnoreCase(""))			i--;		return i;	}	long findword(String m)	{		int i=0;		int base=0;		int tlength=250;		while(tlength>1)		{			i=base+tlength/2;                        if(i>=250)                        {                          i=248;                          tlength=2;                        }			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))<0||wordblock[i].toString(wordblock[i]).equalsIgnoreCase(""))			{				tlength=tlength/2+1;				if(tlength==2)					tlength=1;				continue;			}			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))==0)			{				return wordblock[i].transpoint;			}			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))>0)			{				base=i;				tlength=tlength/2+1;                                if(tlength==2)                                  tlength=1;				continue;			}		}        if(m.compareToIgnoreCase(wordblock[base].toString(wordblock[base]))==0)        {             return wordblock[base].transpoint;        }		return -1;	}	int findwordind(String m)	{		int i=0;		int base=0;		int tlength=250;		while(tlength>1)		{			i=base+tlength/2;                        if(i>=250)                        {                          i=248;                          tlength=2;                        }			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))<0||wordblock[i].toString(wordblock[i]).equalsIgnoreCase(""))			{				tlength=tlength/2+1;				if(tlength==2)					tlength=1;				continue;			}			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))==0)			{				return i;			}			if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))>0)			{				base=i;				tlength=tlength/2+1;                                if(tlength==2)                                  tlength=1;				continue;			}		}		if(m.compareToIgnoreCase(wordblock[i].toString(wordblock[i]))<0||wordblock[i].toString(wordblock[i]).equalsIgnoreCase(""))			i=i-1;		return i;	}	void getwordsblock(RandomAccessFile words,long ind) throws IOException	{                Reset();		words.seek(ind);		getindex(words);	}}class LongIndexBasic{	static RandomAccessFile longindex2;	long index[]=new long[40];	void setLongIndex() throws IOException	{		int i=0;		for(i=0;i<40;i++)		{			longindex2.writeLong(index[i]);		}	}	void getLongIndex() throws IOException	{		int i=0;		for(i=0;i<40;i++)		{			index[i]=longindex2.readLong();		}	}}class frame extends JFrame implements KeyListener{  JPanel contentPane;  PopupMenu popupMenu1 = new PopupMenu();  JTextField InputField = new JTextField();  JButton StartCheck = new JButton();  TextArea OutputArea = new TextArea();  Label InputLabel = new Label();	boolean showtrans(long te) throws IOException	{		if (te==-1)		{			OutputArea.setText("對(duì)不起,未找到");			return false;		}		StringBuffer my=new StringBuffer();		trans.seek(te);		char ap;		ap=trans.readChar();		while(ap!=0)		{			my.append(ap);			ap=trans.readChar();		}		OutputArea.setText(my.toString());		return true;	}	boolean showlist(int te) throws IOException	{		int i=0;		List1con.removeAllElements();		do		{			List1con.addElement(wordsin.wordblock[te+i].toString(wordsin.wordblock[te+i]));		//	ChooseList.add("good");			i++;		}while(i<21&&te+i<250);		if(i<21)		{			int j=0;			do			{				List1con.addElement(wordsinnext.wordblock[j].toString(wordsinnext.wordblock[j]));				j++;			}while(j<(21-i));		}                ChooseList1.setListData(List1con);		return true;	}  //Construct the frame  public frame() {    enableEvents(AWTEvent.WINDOW_EVENT_MASK);    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  //Component initialization  	static RandomAccessFile index;	static RandomAccessFile words;	static RandomAccessFile trans;	static RandomAccessFile users;	static RandomAccessFile usertrans;//  static RandomAccessFile longindex;//  static RandomAccessFile index2;	static WordsList indexin=new WordsList();	static WordsList wordsin=new WordsList();	static WordsList wordsinnext=new WordsList();	static WordsList userwords=new WordsList();        static void addwords(String theword,String thetrans)        {            try {            int i=0;            while(userwords.wordblock[i].m_word[0]!=0&&i<250)            {                i++;            }            if(i==250)              i=0;            userwords.wordblock[i].getword(theword);            usertrans.seek(usertrans.length());            userwords.wordblock[i].transpoint=usertrans.getFilePointer();            usertrans.writeChars(thetrans);            usertrans.writeChar(0);}catch(IOException e){}        }  JButton think = new JButton();  JMenuBar jMenu = new JMenuBar();  JMenu jFile = new JMenu();  JMenuItem jInputDict = new JMenuItem();  JMenuItem ExitMenu = new JMenuItem();  JButton find = new JButton();  boolean iswordmodel=true;  JRadioButton jRadioButton1 = new JRadioButton();  JRadioButton jRadioButton2 = new JRadioButton();  JLabel Mico1 = new JLabel();  JLabel Animate = new JLabel();  Vector List1con=new Vector();  JList ChooseList1 = new JList(List1con);  JMenuItem jInputWords = new JMenuItem();  Image icon;  void loadfile(String s1) throws IOException  {  	try {    StringBuffer file=new StringBuffer(s1);

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产福利精品导航| 精品va天堂亚洲国产| 99久久久久免费精品国产| 国产精品一二三四五| 国产馆精品极品| 国产精品69毛片高清亚洲| 国产一区二区三区四区五区入口 | 国产精品乱人伦| 国产亚洲欧美激情| 国产欧美一区二区三区在线看蜜臀| 久久久久久久久久久久久久久99 | 久久久99精品免费观看不卡| 欧美精品一区二区三| 久久毛片高清国产| 99久久国产综合精品麻豆| 亚洲一区免费视频| 亚洲精品国产a| 亚洲精品视频在线看| 一区二区日韩av| 午夜精品视频一区| 日韩电影一区二区三区四区| 久久精品国产精品亚洲综合| 国产在线一区二区综合免费视频| 国产精品伊人色| 91偷拍与自偷拍精品| 欧美视频日韩视频| 欧美一区二区网站| 久久精品一二三| 亚洲欧洲国产日韩| 午夜精品久久久久影视| 极品销魂美女一区二区三区| 国产**成人网毛片九色| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 亚洲一区二区在线免费观看视频| 五月天欧美精品| 久久er99热精品一区二区| 懂色av一区二区三区蜜臀| 国产精品久久国产精麻豆99网站| 亚洲日本一区二区| 日本三级韩国三级欧美三级| 国产老肥熟一区二区三区| 91视频.com| 欧美一区二区三区免费大片| 久久久久高清精品| 亚洲午夜一二三区视频| 激情五月播播久久久精品| fc2成人免费人成在线观看播放| 精品视频色一区| 久久久www成人免费毛片麻豆| 亚洲激情第一区| 日本人妖一区二区| 93久久精品日日躁夜夜躁欧美| 欧美精品123区| 国产精品美女久久久久久久久 | 亚洲国产一区视频| 国产制服丝袜一区| 欧美乱妇20p| 国产精品无圣光一区二区| 日韩中文字幕亚洲一区二区va在线 | 国产成人综合在线| 欧美另类高清zo欧美| 国产精品久久久久久久久久久免费看| 午夜欧美视频在线观看| 97se亚洲国产综合自在线观| 亚洲精品在线观看网站| 性做久久久久久久久| voyeur盗摄精品| 337p粉嫩大胆噜噜噜噜噜91av | 成人动漫在线一区| 日韩一区二区三区视频| 一区二区三区四区不卡在线| 国产成人亚洲精品青草天美| 欧美一区日韩一区| 亚洲专区一二三| 成人一级片网址| 精品少妇一区二区三区在线播放| 亚洲卡通欧美制服中文| 成人午夜激情片| 成人性生交大片免费看视频在线 | 国产乱人伦偷精品视频不卡| 欧美日韩国产三级| 一区免费观看视频| 国产精品夜夜嗨| 精品三级在线看| 日本强好片久久久久久aaa| 色偷偷一区二区三区| 国产精品乱子久久久久| 国产成人丝袜美腿| 26uuu国产一区二区三区| 蜜桃视频第一区免费观看| 欧美日韩久久久一区| 一级日本不卡的影视| av毛片久久久久**hd| 欧美激情在线一区二区| 国产suv精品一区二区883| 欧美精品一区二区三区很污很色的 | 开心九九激情九九欧美日韩精美视频电影 | 欧美日韩精品一区二区三区| 午夜av电影一区| 色综合久久综合网欧美综合网| 国产片一区二区三区| 日韩欧美中文一区二区| 日韩精品亚洲专区| 欧美精品乱码久久久久久| 亚洲福利视频导航| 欧美视频在线不卡| 亚洲女性喷水在线观看一区| 91一区二区在线观看| 亚洲人成7777| 欧美在线综合视频| 亚洲aⅴ怡春院| 在线不卡a资源高清| 蜜桃一区二区三区在线| 欧美白人最猛性xxxxx69交| 国产一区二区三区蝌蚪| 国产欧美精品在线观看| www.成人网.com| 亚洲狠狠丁香婷婷综合久久久| 欧美丝袜丝交足nylons| 男人操女人的视频在线观看欧美| 欧美一级专区免费大片| 狠狠色狠狠色综合系列| 日本一区免费视频| 91麻豆成人久久精品二区三区| 亚洲一区在线播放| 日韩欧美一区在线| 国产成人免费视频| 亚洲欧美日韩一区二区 | 国产精品综合二区| 欧美激情一区二区三区不卡| 成人va在线观看| 亚洲一区中文日韩| 日韩视频一区二区三区 | 精品国产一区二区精华| 粉嫩一区二区三区在线看| 一区二区三区不卡在线观看 | 亚洲精品国产高清久久伦理二区| 欧美性做爰猛烈叫床潮| 久久国产成人午夜av影院| 国产精品无遮挡| 欧美精品日韩精品| 顶级嫩模精品视频在线看| 亚洲中国最大av网站| 2021久久国产精品不只是精品| 波多野结衣中文一区| 日韩国产精品91| 亚洲欧洲一区二区在线播放| 7777精品伊人久久久大香线蕉经典版下载 | 国产亚洲人成网站| 不卡欧美aaaaa| 亚洲电影中文字幕在线观看| 精品日韩99亚洲| 91丨九色porny丨蝌蚪| 奇米影视在线99精品| 中文一区二区在线观看| 欧美久久一二三四区| 国产老肥熟一区二区三区| 亚洲国产日韩综合久久精品| 国产日韩欧美高清在线| 欧美特级限制片免费在线观看| 激情另类小说区图片区视频区| 亚洲精品精品亚洲| 国产香蕉久久精品综合网| 欧美日韩激情在线| 成人白浆超碰人人人人| 蜜桃视频免费观看一区| 亚洲自拍偷拍网站| 国产精品免费视频网站| 欧美mv和日韩mv的网站| 欧美日韩国产a| 99精品视频在线观看免费| 九九国产精品视频| 亚洲成人免费观看| 国产精品嫩草99a| 欧美sm极限捆绑bd| 欧美片网站yy| 99国产精品一区| 国产综合色视频| 日韩vs国产vs欧美| 天天亚洲美女在线视频| 国产精品美女一区二区三区| 精品播放一区二区| 欧美一区二区在线看| 欧美性大战xxxxx久久久| 成人app网站| 国产成人在线观看免费网站| 七七婷婷婷婷精品国产| 午夜影院久久久| 夜夜精品视频一区二区| 亚洲欧洲三级电影| 国产精品嫩草影院com| 久久女同精品一区二区| 日韩精品一区二区三区中文不卡| 欧美日韩亚洲综合在线 | 久久精品人人做人人爽97| 精品国内片67194| 精品粉嫩aⅴ一区二区三区四区| 欧美日本国产视频| 欧美丰满高潮xxxx喷水动漫| 欧美三级电影精品|