HZAU_Parser(七)

2014-11-24 12:10:39 · 作者: · 浏览: 4
pathName); // System.out.println(fileName); try { int size = (int) selectFile.length(); byte[] tempArray = new byte[size]; FileInputStream fin = new FileInputStream(selectFile); fin.read(tempArray); tempString = new String(tempArray); this.jTextPane1.setText(tempString+"\n"); //this.jScrollPane1.setToolTipText(temp + "\n"); } catch (IOException e) { e.printStackTrace(); } //} } } //把每一句显示在树形框内 void Show() { String showStr=this.jTextPane2.getText(); int i=0,length=showStr.length(),x=0,y=0,j=0; System.out.println(showStr); char t[][]=new char[length][2*length]; int t1[]=new int [length]; int t2[]=new int[length]; while(i