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 43445 - Name for new class is ignored.
Summary: Name for new class is ignored.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-05-18 14:17 UTC by Jiri Kovalsky
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 Jiri Kovalsky 2004-05-18 14:17:39 UTC
Development build #200405171800 of NetBeans 4.0
Windows XP with JDK 1.4.2_02

Description:
============
"Class Name" field of "New Java Class" wizard
ignores the value set by user and always creates
new class with name "Class". The name must then be
changed manually.

Steps to reproduce:
===================
1. Use "File|New Project..." menu to create new
project.
2. Right click "Source Packages|<default package>"
node and choose "New|Java Class...".
3. Type "My_Class" into ""Class Name" field and
push "Finish" button.
4. Note that "Class.java" node appeared under
<default package>.
Comment 1 Petr Hrebejk 2004-05-20 09:22:49 UTC
Fixed with the rewrite of New Java File wizard
Comment 2 Jiri Kovalsky 2004-05-20 09:33:00 UTC
Please note that this defect is Q-build showstopper and the fix must
be merged into appropriate QBE20040518224 branch. Thanks.
Comment 3 Petr Hrebejk 2004-05-20 10:10:24 UTC
In this case I would like to ask you to remove it from the first
category and move it into the second one. I had to reimplement the New
Java File wizard, thus the diff is not small and I think that it is
not worth of the effort to merge it back into some older build.
Comment 4 Jiri Kovalsky 2004-05-20 22:07:02 UTC
I see. Well, if Q-build coordinator is fine with it, I don't care.
Verified in continuous build #20040520-1824 of NetBeans 4.0.
Comment 5 Milan Kubec 2004-05-25 14:04:19 UTC
I will move this issue to future stopper section.
Comment 6 Quality Engineering 2007-09-20 11:54:26 UTC
Reorganization of java component