issue 60 - TextBox crashes during code gen
MODIFY
builder/build.gradle
builder/build.gradle
@@ -15,7 +15,7 @@ apply plugin: 'org.junit.platform.gradle.plugin'
mainClassName = "builder.Builder"
applicationName = "GUIslice"
archivesBaseName = 'builder'
-version = '0.11.0-rc1'
+version = '0.11.0-rc2'
repositories {
mavenCentral()

MODIFY
builder/src/main/java/builder/controller/CodeGenerator.java
builder/src/main/java/builder/controller/CodeGenerator.java
@@ -1409,7 +1409,7 @@ public class CodeGenerator {
w.getModel().setPageEnum(p.getEnum());
}
} else if (w.getType().equals(EnumFactory.TEXTBOX)) {
- ref = ((GraphModel)w.getModel()).getElementRef();
+ ref = ((TextBoxModel)w.getModel()).getElementRef();
if (ref != null && !ref.isEmpty()) {
refList.add(w.getModel());
w.getModel().setPageEnum(p.getEnum());

MODIFY
builder/src/main/java/builder/controller/Controller.java
builder/src/main/java/builder/controller/Controller.java
@@ -1053,7 +1053,7 @@ public class Controller extends JInternalFrame
// System.out.println("command: " + command);
switch(command) {
case "about":
- JOptionPane.showMessageDialog(null, "GUIsliceBuider ver 0.11.0-rc1", "About", JOptionPane.INFORMATION_MESSAGE);
+ JOptionPane.showMessageDialog(null, "GUIsliceBuider ver 0.11.0-rc2", "About", JOptionPane.INFORMATION_MESSAGE);
// JOptionPane.showMessageDialog(null, "GUIsliceBuider ver SNAPSHOT", "About", JOptionPane.INFORMATION_MESSAGE);
break;

issue 60 - TextBox crashes during code gen