public void readyFile(){
String strFile="";
FileReader in=null;
try{
String strLine="";
in=new FileReader(getPath);
buf=new BufferedReader(in);
strLine=buf.readLine();
while(strLine!=null){
strFile+=strLine;
strLine=buf.readLine();
}
}catch(IOException e1){
e1.printStackTrace();
}
strbFile=new StringBuffer(strFile);
fileOver=false;
}
public void readFile(){
String strPart=""; int n=320;
if(strbFile.length()<=n){
jta1.setText(strbFile+"\n");
fileOver=true;
return;
}
strPart=strbFile.substring(0,n);
strbFile=strbFile.delete(0,n);
jta1.setText(strPart+"\n");
}