This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Generated code throws IllegalArgumentException | ||
---|---|---|---|
Product: | guibuilder | Reporter: | nb_johan1 |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
nb_johan1
2012-11-16 13:18:42 UTC
The last gap in this case should be generated as addContainerGap(), just like at the beginning. Did the GUI form in the designer built fine? I.e. you did not get the same exception from NetBeans itself, only when running the generated code? Do you still have the form that generates the code like this? I'm have no luck to simulate the situation myself. Could you provide the entire form, i.e. mainly the .form file? Either attach it here, or send directly to me (to keep it private). Thanks. Yes when I had the problem I could preview the GUI in the editor. The thing is that now it works. I'm not sure what I did, but for sure I've executed the clean target, which I did not do previously. |