Special configuration file for the simulation can be set

This commit is contained in:
ollo
2018-01-02 14:47:49 +01:00
parent 36fea30afc
commit 225f4af842
5 changed files with 45 additions and 3 deletions

View File

@@ -43,4 +43,12 @@ public class DoFileFunction extends OneArgFunction {
this.workingDir = workingDir;
}
public String getWorkingDirectory() {
if (workingDir != null) {
return workingDir.getAbsolutePath();
} else {
return null;
}
}
}

View File

@@ -172,7 +172,7 @@ public class WS2812Layout extends JFrame {
} else {
sb.append("" + this.getText());
}
sb.append(Integer.toHexString(this.getForeground().getRed()) +
sb.append("|" + Integer.toHexString(this.getForeground().getRed()) +
" " + Integer.toHexString(this.getForeground().getGreen()) +
" " + Integer.toHexString(this.getForeground().getBlue()));