Bug 183215 - Implement setAsText() in FontEditor
Implement setAsText() in FontEditor
Status: NEW
Product: platform
Classification: Unclassified
Component: Property Editors
6.x
PC Windows Vista
: P3 (vote)
: TBD
Assigned To: Stanislav Aubrecht
issues@platform
request_for_contribution
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-30 17:01 UTC by mbastian
Modified: 2012-09-27 09:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mbastian 2010-03-30 17:01:59 UTC
The org.netbeans.beaninfo.editors.FontEditor class doesn't implement setAsText() method.

Way to reproduce:

//property is a java.awt.Font.class property
PropertyEditor editor = property.getPropertyEditor();
editor.setValue(font);
String val = editor.getAsText();
editor.setValue(null);
editor.setAsText(val);
Object font = editor.getValue();
//font is null


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo