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: | Improve usability of guard blocks | ||
---|---|---|---|
Product: | guibuilder | Reporter: | _ gtzabari <gtzabari> |
Component: | Code | Assignee: | issues@ide <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ gtzabari
2008-11-20 19:13:35 UTC
I notice that when I create event-listeners the form editor creates method prototypes for me and lets me fill in the contents. 3) How about doing the same thing for Swing properties? For example: JTable myVariableName = ...; myVariableName.setModel(getMyVariableNameModel()); [...] private TableModel getMyVariableNameModel() { // protected block // user inserts code here } // protected block or group related properties up as follows: private static class MyVariableName // protected block { // protected block public TableModel getModel() { // protected block // user fills this in } // protected block public Color getBackgroundColor() { // protected block // user fills this in } // protected block } // protected block I still prefer #2 though. This has actually been discussed long time ago (see "two-way editing"): http://form.netbeans.org/doc/IssuesAndToDo.html We are certainly planning to make this work better, but I can't tell when it is going to happen... |