b#68 - Regenerating code increments m_sX* array indices in ElemX*Create()
MODIFY
builder/src/main/java/builder/controller/CodeGenerator.java
builder/src/main/java/builder/controller/CodeGenerator.java
@@ -689,6 +689,9 @@ public class CodeGenerator {
@SuppressWarnings("unchecked")
public String generateCode(String folder, String fileName, List<PagePane> pages) {
this.pages = pages;
+ countCheckBoxes = 0;
+ countGauges = 0;
+ countSliders = 0;
GeneralModel generalModel = (GeneralModel) GeneralEditor.getInstance().getModel();
screenWidth = generalModel.getWidth();
screenHeight = generalModel.getHeight();
@@ -777,6 +780,9 @@ public class CodeGenerator {
throws TestException, IOException {
target = testPlatform;
this.pages = pages;
+ countCheckBoxes = 0;
+ countGauges = 0;
+ countSliders = 0;
background = Color.GRAY;
maxstr_len = 100;
listOfTemplates = new ArrayList[32];

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-rc3", "About", JOptionPane.INFORMATION_MESSAGE);
+ JOptionPane.showMessageDialog(null, "GUIsliceBuider ver 0.11.0-rc4", "About", JOptionPane.INFORMATION_MESSAGE);
// JOptionPane.showMessageDialog(null, "GUIsliceBuider ver SNAPSHOT", "About", JOptionPane.INFORMATION_MESSAGE);
break;

b#68 - Regenerating code increments m_sX* array indices in ElemX*Create()