Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 179382

Summary: horizontalScrollBarPolicy property unreadable and unrecognizable since NB6.8
Product: guibuilder Reporter: zn_cn_2 <zn_cn_2>
Component: App FrameworkAssignee: issues <issues.netbeans.org>
Status: VERIFIED FIXED QA Contact: issues <issues.netbeans.org>
Priority: P2 CC: mmirilovic, sustaining
Version: 6.x   
Target Milestone: 6.x   
Hardware: PC   
OS: Mac OS X   
Whiteboard: 68patch1-verified
Issue Type: DEFECT Exception Report:

Description zn_cn_2 2010-01-11 07:51:06 UTC
in Netbeans 6.8,  the horizontalScrollBarPolicy and verticalScrollBarPolicy property of JScrollPanel changed into int value in properties panel.

Before 6.8,  that value is just a list, and user can't select a kind of value, such as NEVER/AS_NEEDED/ALWAYS, that is readable and recognizable.

Now it turns into a int value, say 20 or 30.

That's so discommodious.

This is also happened on  verticalTextPosition / horizontalTextPosition property of JButton.
Comment 1 Jan Stola 2010-01-18 09:43:06 UTC
This issue is an unfortunate consequence of fix of issue 157012.

If the property of the component was modified in the previous build then the original (enum) editor remains, but it is not present for unmodified properties (and all new components).
Comment 2 Jan Stola 2010-01-18 09:46:07 UTC
It happens on Mac OS with JDK 6 only.
Comment 3 Jan Stola 2010-01-18 10:46:53 UTC
Fixed. It is annoying for Mac users, I will try to get this into the next patch of NB6.8.

Modified file: http://hg.netbeans.org/cdev/rev/ab45cacb4ed4
Comment 4 pgebauer 2010-01-20 11:56:57 UTC
The fix has been ported into the release68_fixes repository.
http://hg.netbeans.org/release68_fixes/rev/3cd8f95bc593
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo