[73cat] Re: java.awt.Insets - Netbeans Property Editor

  • From: Lehel Sipos < >
  • To:
  • Subject: [73cat] Re: java.awt.Insets - Netbeans Property Editor
  • Date: Mon, 26 Nov 2012 16:26:06 +0100

And also the default value is not 2,14,2,14 but 4,16,4,16.
I find the "margin" property which corresponds the desc. below. It's name is margin, and yes it is derived from java.awt.Insets. But it has the name margin, and not insets. And then, what the disabled "insets" property for?
thx,
Lehel

2012/11/26 Lehel Sipos < " target="_blank"> >
Hi,
Just a question again...
Having the following test specification from http://wiki.netbeans.org/TS_65_PropertyEditors#Test_suite:_.22Testing_various_types_of_property_editors.22

Point 15 says.

  1. Property Editor for type : java.awt.Insets
    1. select jButton in design and click on property of Insets type (default value="[2,14,2,14]")
    2. type in created textfield "10,20,30,40"
    3. press Enter
    • EXPECTED RESULT: New value is "[10,20,30,40]"

The problem with the above, is that the property "Insets" is disabled in the Property editor of Netbeans ("NetBeans Dev 201211260002"), so I can't change the value of jButton Insets(nor any swing componet's that has this prop). Have anyone meet this? Is this a bug?

thx,

Lehel





[73cat] java.awt.Insets - Netbeans Property Editor

Lehel Sipos 11/26/2012

[73cat] Re: java.awt.Insets - Netbeans Property Editor

Lehel Sipos 11/26/2012

[73cat] Re: java.awt.Insets - Netbeans Property Editor

Lehel Sipos 11/26/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close