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 19806 - The wizard creates classes with wrong name
Summary: The wizard creates classes with wrong name
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-26 00:26 UTC by radhika2
Modified: 2007-09-26 09:14 UTC (History)
3 users (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 radhika2 2002-01-26 00:26:06 UTC
Hi There, I am a Support engineer in Forte Tools , I have been able to recreate 
this bug on win nt, ffj ee 3.0 60 day trial.

I can still do it (and I have the latest forte updates )


I have updated my description: 


 PROBLEM: 
1) Ctrl-n ( new)
2) select Classes ->Class
3) Next-button
3) Select package eg. dk.capgemini.bookline.dao
4) Type Classname eg "ReportDAO"
5) Finish-button
6) Created class has the right name "ReportDAO"
7) Ctrl-n ( new)
8) Next-button (remembers Class from last use)
9) Type classname eg. TextDAO (don't change package)
10) Finish-button


The created class is called "Class" not TextDAO


mvh
Jens Peter 

> jens-peter.hedegaard wrote:
> EDITION_VERSION: ffj3.0
> CATEGORY: Editor
> TYPE: BUG
> JDK_VERSION: SUN JDK 1.3.1_01
> JVM_VENDOR: 1.3.1_01
> SYSINFO: Version = Forte(tm) for Java(tm), release 3.0, Community Edition
> (That was all wirtten in my file !)
> VERSION: CE
> OPERATING_SYSTEM: WIN2000
> OS_VERSION: version 5 (build 2195) SP1
> JVM_VERSION: Hotspot client (mixed mode)
> SYNOPSIS: Class create with "New From Template Wizard" get wrong classnavn
"Class"
> EMAIL: jens-peter.hedegaard@capgemini.dk
> PROBLEM: 1) Ctrl-n ( new)
> 2) select Classes ->Class
> 3) Next-button
> 4) Type Classnavn eg "ReportDAO"
> 5) Finish-button
> 
> The created class is now classed "Class" not
> "ReportDAO"
> REPEATABILITY: Reproducible
Comment 1 Jan Lahoda 2002-01-30 17:08:51 UTC
Hi,
   I think that this is done by the Java module, so reassigning to
them.
Comment 2 Marek Grummich 2002-02-01 12:39:05 UTC
I am able to reproduce it on FFJ30 (build 010925), but I think this
issue belongs to sustaining. I have added to CC: an appropriate person
(I hope). 
Comment 3 Marek Grummich 2002-02-01 12:57:06 UTC
One note yet. I havn't reproduced it in the current 3.3.1  build
(comming fcs).
Comment 4 Tomas Hurka 2002-02-04 13:50:21 UTC
It is fixed in NB 3.3.1
Comment 5 Jan Becicka 2002-04-16 14:01:38 UTC
Verified in JP3
Comment 6 Jan Becicka 2002-10-22 14:48:30 UTC
None objects to this fix since NB 3.3. Marking 
as verified.
Comment 7 Quality Engineering 2003-07-01 13:16:26 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.