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 89401 - Set Source Level checkbox confusing
Summary: Set Source Level checkbox confusing
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 20:53 UTC by Chris Kutler
Modified: 2011-11-28 08:35 UTC (History)
0 users

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 Chris Kutler 2006-11-15 20:53:13 UTC
In the New Viwual Web Application dialog box there is the following:

Recommendation: Source Level 1.4 should be used in J2EE 1.4 projects.
[x] Set Source Level to 1.4


(1) This is an odd prompt for the checkbox because I can't figure out what
happens if I clear the checkbox. Will I get 1.5, 1.3 or what?

(2) You recommend 1.4 but you don't say why. What will happen to me if I don't
follow your recommendations?

(3) That should be "Source level 1.4 should be used" not "Source Level 1.4
should be used". Better yet, be short and say: Recommendation: Use source level 1.4

or, to fix (2) above, say

Note: To [put reason for using 1.4 here], use source level 1.4
Comment 1 _ potingwu 2006-11-15 21:35:08 UTC
Use the Help will show you more details why 1.4 is recommended.

This is all NetBeans web project model.
Comment 2 Chris Kutler 2006-11-16 00:54:41 UTC
You have might have resolved #2, but there is still #1 and #3. Of the two
remaining, you can choose to ignore #3 as it is a nit pick. #3 is just one of
those little things that make the product unprofessional and not worth filing a
bug over. But while I was reporting on #1, it made sense to mention it.

I filed this because I saw people asking how to create 1.1 Visual Web Projects
using 1.5. I saw this wizard is not making that information intuitively obvious.
People doing the wizard and seeing the choices might not infer that 1.5 is an
option. A little change in the wording can go a long way towards eliminating
confusion.


For example, a nbuser wrote:
> It doens't give support to java 1.5.
> Please...when it will be available with 1.5?



As for #2. The help says "Also, it is recommended that you use Java 2 Standard
Edition 1.4 (JDK 1.4) unless you know that the application server to which you
will deploy supports Java SE 5."  The statement that 1.4 is recommended is based
on a constraint that doesn't always apply. 

Maybe it might be better to say

"Note: Not all server versions support 1.5"

Last, I do not understand this sentence. Can you explain what you mean? Thanks.

"This is all NetBeans web project model."