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 23612 - horizontalScrollBarPolicy property values are difficult to deal with
Summary: horizontalScrollBarPolicy property values are difficult to deal with
Status: CLOSED DUPLICATE of bug 23610
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-16 15:11 UTC by eadams
Modified: 2003-06-30 18:31 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 eadams 2002-05-16 15:11:58 UTC
I added a JScrollPane and went to look at the horizontalScrollBarPolicy
property.  In the default configuration of the Form Editory. the Properties
are now on the right-hand side of a larger Fom Editor window.  The horizontal
space for the properties and their values is not very large.  I clicked
on the combo box for the value of horizontalScrollBarPolicy and saw
three items that were all identical.  I was seeing the first 10 or so
characters of 
	HORIZONTAL_SCROLLBAR_AS_NEEDED
	HORIZONTAL_SCROLLBAR_NEVER
	HORIZONTAL_SCROLLBAR_ALWAYS

Notice that these value are all identical for the first 21 chars.
The only way I could see the whole text was to resize my 
properties window.

Two comments/suggestions about these values:

A) since they are values of the horizontalScrollBarPolicy property
    the "HORIZONTAL_SCROLLBAR_" text provides no value.

B) the are literally the names of values from the code.  The user
    of the Form Editor is more interesting in the concepts.  It would
    be much more user friendly if they there values are spelled like:
         As Needed
         Never
         Always
   This is effectively what is done in for the values of the Anchor property
   in the GridBayLayout customizer as it uses North, East, etc.


I'm sure the same issue appears in other parts of the Form Editor.
The Form Editor should be checked for all such occurences of "geeky
descriptions". 

I found another, not so serious occurence, with the values for a
JDialog's defaultCloseOperation.  They are:
         HIDE_ON_CLOSE
         DO_NOTHING_ON_CLOSE
         DISPOSE_ON_CLOSE
Comment 1 Tomas Pavek 2002-05-16 16:41:09 UTC

*** This issue has been marked as a duplicate of 23610 ***
Comment 2 Quality Engineering 2003-06-30 18:20:24 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 3 Quality Engineering 2003-06-30 18:31:17 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.