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 32736 - Strange behaviour of New from Templates
Summary: Strange behaviour of New from Templates
Status: VERIFIED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-08 17:03 UTC by ehucka
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 ehucka 2003-04-08 17:03:51 UTC
NB 3.5 build 200304062350
Linux JDK 1.4.1_02

Steps to reproduce:

1. choose some java folder
2. create class String into it
3. try to create some main class there

Result: main class is created and opened in editor
as already edited
and in addition it has two equal main methods.
Comment 1 Marian Mirilovic 2003-04-09 10:21:47 UTC
Somebody generate second main method after opening file in the Source
Editor.
Comment 2 Vitezslav Stejskal 2003-04-16 15:06:59 UTC
This is ugly but very unlikely to happen.
Comment 3 Jan Pokorsky 2003-12-11 17:27:20 UTC
It works for me now. Please reopen it if you are still able to
reproduce it.
Comment 4 ehucka 2006-03-22 10:20:45 UTC
verified