public void actionPerformed(java.awt.event.ActionEvent e) {
try {
long bytes = 0;
int segPathCount = Integer.parseInt(jtSegPathCount.getText());
DictLib dictLib=SegMain.dictLib;
Segment seg=new Segment(dictLib,segPathCount);
int forCount = Integer.parseInt(jtFor.getText());
ArrayList<String> testCases = GFFile.readTxtFile2("test"+GFFinal.FILE_SEP+"case1.txt");
long times=System.currentTimeMillis();
for (int i = 0; i < forCount; i++) {
for (String src : testCases) {
SegResult sr =seg.split(src);
bytes += src.getBytes().length;
jtSplitMsg.setText(sr.toString());
}
}