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 9492 - New from Template generate name for class as Template name
Summary: New from Template generate name for class as Template name
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P4 major (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-08 11:56 UTC by Marian Mirilovic
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 Marian Mirilovic 2001-02-08 11:56:16 UTC
[main-trunk](121)(jdk 1.3.1 b14)

step to reproduce:

1. New from template | Sample forms | Application
2. in New from Template New Object Name write class name e.g."aaaa"
3. select Finish

In source Editor you can see than code generated for this class starts with

public class Application extends javax.swing.JFrame {



Node name is "aaaa".
Comment 1 Jan Becicka 2001-02-08 12:25:59 UTC
*** This bug has been marked as a duplicate of 9487 ***
Comment 2 Marian Mirilovic 2001-03-22 12:29:41 UTC
[nb32](10), [jdk1.3.1](rc1)

reopened,
this is more annoying if you create JFrame , because you cannot file reopen
after its save.
Comment 3 Marian Mirilovic 2001-03-22 12:36:28 UTC
I'm sorry but :
this appears only if package name is unregular e.g. "bug>10000"
Comment 4 Jan Becicka 2001-03-22 17:12:15 UTC
This is not P2 bug.
Comment 5 Svata Dedic 2001-04-02 16:34:43 UTC
Fixed; NFT Wizard now refuses to generate classes into such packages.
Comment 6 Jan Becicka 2001-04-04 14:37:36 UTC
[release32-20] Verified
Comment 7 Jan Chalupa 2001-05-05 23:25:14 UTC
Target milestone -> 3.2
Comment 8 Quality Engineering 2003-07-01 13:16:24 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.