コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 public void releasePressed() {
   fbls.release();
 }