public void createFPressed() { String totelString = totalField.getText(); int total = 0; try { total = Integer.parseInt(totelString); } catch (Exception e) { System.out.println("test/frameui/parsetotal error"); } String frameinfo = frameInfoArea.getText(); fvo = fbls.createFrame(total, frameinfo); }
public void finishBlockPressed() { String name = blockNameField.getText(); String blockinfo = blockInfoArea.getText(); int upper = 0; int lower = 0; try { upper = Integer.parseInt(this.upper); lower = Integer.parseInt(this.lower); } catch (Exception e) { System.out.println("/test/frameui/parse block info error"); } fvo = fbls.createBlock(name, lower, upper, blockinfo); }
public void releasePressed() { fbls.release(); }