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 9329 - New From Template ... Access Modifier became blank
Summary: New From Template ... Access Modifier became blank
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-31 19:54 UTC by dmladek
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 dmladek 2001-01-31 19:54:42 UTC
[Pilsen-010131CE]
jdk1.3.1beta b14 sun
rh 7.0
=====================


Access <default> in 3.screen of NFT wizard is hidding/became blank

Steps to reproduce:
-------------------
1. NewFromTemplate
2. Class & name it
3. Modifiers -> Access: set <default>
4. press NEXT & BACK button
5. Access (combobox) is blank... <default> value is lost



---
note -> BUG also appears in version : FFJ20
Comment 1 skmajji 2001-01-31 21:23:59 UTC
The access modifier 'default' means blank, it is equal to mentioning no access
modifier. However it is a good idea to remove the '<default>' from the combo
box so that there will be only one access modifier 'public'. If it is not
public then it will be default (no access modifier at all).
Comment 2 dmladek 2001-02-02 14:03:59 UTC
I think, the "<default>" access is OK.
It's better than blank field although "default" access
represent NO-word in java code.
It might confuse a user is s/he return back and s/he couldn't
remember what s/he've choosen....

So, the behaviour should be as follow:
if I choose "<default>" access (for a Class or whatever...)
GO NEXT and GO BACK there should be still "<default">
access choosen, as it is for "public" or other modifiers (checkboxs)
like FINAL, etc.
Comment 3 Svata Dedic 2001-02-20 16:31:04 UTC
Fixed for dev-131
Comment 4 dmladek 2001-02-21 10:23:50 UTC
verified on NBdev-131
Comment 5 Quality Engineering 2003-07-01 13:18:57 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.