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.
Whenever I add an element in the flow view of the visual designer (for Midlets), the system deletes the post-init code I entered previously. E.g. //<editor-fold defaultstate="collapsed" desc=" Generated Getter: detailsForSelectedAsset "> /** * Returns an initiliazed instance of detailsForSelectedAsset component. * @return the initialized component instance */ public Form getDetailsForSelectedAsset() { if (detailsForSelectedAsset == null) { // write pre-init user code here detailsForSelectedAsset = new Form("Details for Your Item", new Item[] { getDetailsForAsset() }); detailsForSelectedAsset.addCommand(getOkCommand()); detailsForSelectedAsset.addCommand(getBackCommand()); detailsForSelectedAsset.setCommandListener(this); // write post-init user code here showDetailsForAsset(); } return detailsForSelectedAsset; } //</editor-fold> The system would delete the call to showDetailsForAsset(); whenever I try adding some elements (like a back button) in the flow view. Besides this, Netbeans 6.0 rules, I'm just amazed, programming with this IDE is so fun that I forget the hours I spend on it! Thanks!
IMO, this is duplicate of issue 115481. Could you check if I'm right? What build are you using?
You're entirely right. Sorry I just did not spot it when looking for it. I'll try downloading the patch and report in case it still does not work. I'm using the Beta 1 available on the website (no patch so far). Thanks a lot, keep this great IDE growing! Dom
Downloaded the patch and it solves it all. Cheers, have a good day.
Downloaded the patch from the update center and it solves it all. Cheers, have a good day.
c
*** This issue has been marked as a duplicate of 115481 ***