when i try to load the following file, pilrcedit
crashes:
// Forms and Alerts
FORM AUTOID AT (0 0 160 160)
NOFRAME
BEGIN
TITLE "Form"
TABLE AUTOID AT (31 25 AUTO AUTO) ROWS 5 COLUMNS 5
COLUMNWIDTHS 25 25
END
i can also not create tables with more than 2 columns
by editing the cols field in pilrcedit. it displays
only 2, and when i save, it crashes with:
java.lang.ArrayIndexOutOfBoundsException: 2
at
pilrcedit.control.Table.writeOptions(Table.java:196)
at
pilrcedit.FormObject.write(FormObject.java:884)
at pilrcedit.Form.write(Form.java:794)
at
pilrcedit.ResourceCollection.write(ResourceCollection.java:129)
at pilrcedit.Project.write(Project.java:617)
at pilrcedit.Project.save(Project.java:581)
at
pilrcedit.PilrcEdit.saveProject(PilrcEdit.java:350)
at
pilrcedit.PilrcEdit.actionPerformed(PilrcEdit.java:585)
at
java.awt.MenuItem.processActionEvent(MenuItem.java:436)
at
java.awt.MenuItem.processEvent(MenuItem.java:400)
at
java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:190)
at
java.awt.MenuComponent.dispatchEvent(MenuComponent.java:182)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Logged In: YES
user_id=414180
If you update the ColWidths property with 25,25,25,25,25 it
would display 5 columns. With your error above, it is
probably erroring because you only have 2 column widths entered.