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 wizard's visual panels are unusable by default | ||
---|---|---|---|
Product: | apisupport | Reporter: | Tomas Danek <musilt2> |
Component: | Templates | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | issues, mkrauskopf |
Priority: | P2 | Keywords: | SIMPLEFIX |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Danek
2006-01-02 15:41:58 UTC
I'd prefer unselecting "Generate mnemonics code" by default, while New JFrame wizard creates form with this property unselected. Best IMHO would be if the form editor used ProjectClassPathExtender to request availability of this class when it was actually used. But it seems it does not do this. So for now I guess we must simply add a dep on org.openide.awt to the deps of any NBM project to which you add a form-based template. Unselecting "Generate mnemonics code" by default does not make sense. We have the Mnemonics class in the NB Platform and we should use it. The situation is different than for form templates used in unknown projects. Been working since NewProjectIterator.java 1.3 (2005/08/18) for the case of the New Project wizard, since that comes with mnemonics already defined. Martin could you review? Checking in winsys/NewTCIterator.java; /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/winsys/NewTCIterator.java,v <-- NewTCIterator.java new revision: 1.9; previous revision: 1.8 done Checking in wizard/DataModel.java; /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/wizard/DataModel.java,v <-- DataModel.java new revision: 1.5; previous revision: 1.4 done Sure, works - reviewed. I've also filed issue 70944 on form... works fine in trunk, waiting for backport to 5.0 Merged: Checking in apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/winsys/NewTCIterator.java; /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/winsys/NewTCIterator.java,v <-- NewTCIterator.java new revision: 1.8.4.1; previous revision: 1.8 done Checking in apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/wizard/DataModel.java; /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/wizard/DataModel.java,v <-- DataModel.java new revision: 1.4.2.1; previous revision: 1.4 done verified also in 5.0 |