Package com.nick125.thingamabob.gui

Examples of com.nick125.thingamabob.gui.TWindow$LoadInstructionAction


    } catch (Exception e) {
      // Yes, I know this is bad..but if this fails, I don't particularly
      // care. It should remain at Metal if this fails.
    }

    TWindow myWindow = new TWindow();
    myWindow.setVisible(true);
  }
View Full Code Here


        JFileChooser chooser = new JFileChooser();
        chooser.setFileFilter(new TSingleFileFilter("midl",
              "Machine Instruction Description Language (.midl)"));
        int status = chooser.showOpenDialog(TWindow.this);
        if (status == JFileChooser.APPROVE_OPTION) {
          Parser parser = new Parser();
          try {
            SimpleInstSet<String> instructionSet = parser
              .parseStream(new FileReader(chooser
                    .getSelectedFile()));
            TWindow.this.machine
              .setInstructionSet(instructionSet);
            TWindow.this.statusBar.setNotificationArea(String.format(
View Full Code Here

TOP

Related Classes of com.nick125.thingamabob.gui.TWindow$LoadInstructionAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.