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 33380 - only have java class in place of java class and java main class
Summary: only have java class in place of java class and java main class
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
: 48511 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-03 15:33 UTC by vbrabant
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vbrabant 2003-05-03 15:33:48 UTC
When I right-click on a package node.
In the NEW item, it propose a standard list of
templates like folder, package, java class, java
main class, ...

IMHO, the distinction between a java class and a
java main class is not necessary.

I propose the following:
Just have a java class (you suppress the java main
class) BUT on the first step of the wizard, where
you have to give it a name, add a check box
creation of main method.
If user check it and click directly on finish, the
class with a main method will be directly created.

It will permit to propose by default a java
interface in stead of a java main class.

Vincent
Comment 1 Vitezslav Stejskal 2003-05-05 09:52:11 UTC
Assigning to HIEs to decide.
Comment 2 vbrabant 2003-05-26 22:39:14 UTC
What's the opinion of UI Team ?
Comment 3 Chris Ledantec 2003-05-27 08:50:59 UTC
this has merit but the bigger question is not just the distinction of
what to do with these two templates but how to handle the class wizard.

for the moment we are considering removing the class wizard until it
can be fixed up -should that be the way things go we should keep the
two templates around. once the wizard has be redesigned we can look at
what templates actually make sense.
Comment 4 vbrabant 2003-05-27 19:57:53 UTC
I am not sure to clearly understand what you mean.

Do you mean that you want to suppress the current class wizard ?

How will we be able to create new class then, without any wizard ?

What is wrong with the current one ?
Comment 5 Chris Ledantec 2003-05-28 09:26:11 UTC
sorry, i wasn't clear. the part of the wizard i'm talking about is the
extended portion of the class wizard that presents steps for setting
up inheritance, fields, etc. from the step 'Basic class definition' on
to the end.
Comment 6 vbrabant 2003-12-02 16:02:39 UTC
Any news ???
No idea if it's accepted, rejected. 
Please give me any feedback.
Comment 7 Chris Ledantec 2003-12-02 16:22:00 UTC
for the time being the main class template is sticking around. the changes to the 
classwizard for now focus on getting rid of the complex and superfluous extra steps 
of setting up the class through a wizard.
Comment 8 Jan Becicka 2003-12-02 16:31:03 UTC
Extra steps was already removed according to UI spec
http://ui.netbeans.org/docs/hi/promoB/javaWizard.html
Comment 9 vbrabant 2003-12-05 09:57:30 UTC
So, please reject, close or ... the issue. But don't let it as new.
Comment 10 Chris Ledantec 2003-12-08 08:30:13 UTC
leaving this as a new enhancement will help us keep track of it for later changes/
improvements to the new wizard.
Comment 11 Martin Matula 2004-11-12 13:12:57 UTC
Closing as won't fix. Adding a checkbox to the wizard is against the
direction of changes that were made to the nature of the wizard so far.
Comment 12 Martin Matula 2004-11-13 00:15:44 UTC
*** Issue 48511 has been marked as a duplicate of this issue. ***
Comment 13 Martin Matula 2004-11-13 00:18:11 UTC
OK, I found a newer duplicate of this. I think UI engineers should
evaluate it again. Reopening. Jano, could you please look at it (or
whoever from the UI team is responsible for the new class wizard)?
Comment 14 Jan Becicka 2007-09-19 10:47:10 UTC
Already fixed.
Comment 15 Quality Engineering 2007-09-20 12:46:55 UTC
Reorganization of java component