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.

Bug 47051 - Add New Method/Field dialogs don't accept modifiers
Summary: Add New Method/Field dialogs don't accept modifiers
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 13:58 UTC by Marek Grummich
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2004-08-10 13:58:34 UTC
Build 200408091800, j2sdk1.5.0
Summary is selfexplaining, but ...
Steps :
- invoke Add New Method dialog
- fill required fields (name, ...)
- check static checkbox and confirm dialog

=> source code is generated without static modifier
Comment 1 Jan Becicka 2004-09-06 09:41:17 UTC
Emane, please don't change priority (espacially to P2 or P1) without
justification.
This issue is hardly P2: No data loss, no crash, no deadlock. Easy
workaround: write static in editor. Most users does not create methods
using wizards.
Comment 2 ehucka 2004-09-09 12:30:52 UTC
But there is a feature wich is not working. We have to either remove
this feature or repair it in the current verison. I prefer the second.
Comment 3 Jan Pokorsky 2004-10-28 14:39:59 UTC
fixed in

/cvs/java/src/org/netbeans/modules/java/ui/nodes/editors/ModifierEditor.java,v
new revision: 1.4; previous revision: 1.3
/cvs/java/src/org/netbeans/modules/java/ui/nodes/editors/ModifierPanel.java,v
new revision: 1.4; previous revision: 1.3
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ElementNode.java,v

new revision: 1.15; previous revision: 1.14
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/SourceEditSupport.java,v
new revision: 1.10; previous revision: 1.9
Comment 4 Marek Grummich 2004-11-04 15:40:37 UTC
Verified 200411031800
Comment 5 Quality Engineering 2007-09-20 12:08:24 UTC
Reorganization of java component