Exemplo n.º 1
0
 public void setObjectValues() {
   ((JTextField) (fields.get("board"))).setText(sketch.getBoard().getName());
   ((JTextField) (fields.get("core"))).setText(sketch.getCore().getName());
   ((JTextField) (fields.get("compiler"))).setText(sketch.getCompiler().getName());
   ((JTextField) (fields.get("port"))).setText(sketch.getDevice().toString());
   ((JTextField) (fields.get("programmer"))).setText(sketch.getProgrammer());
 }
Exemplo n.º 2
0
  public void run() {
    Sketch sketch = editor.getSketch();

    Board board = sketch.getBoard();
    Core core = sketch.getCore();
    String programmer = sketch.getProgrammer();

    PropertyFile props = sketch.mergeAllProperties();
    String blProgs = props.get("bootloader.upload");

    System.err.println(blProgs);
  }