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 183215 - Implement setAsText() in FontEditor
Summary: Implement setAsText() in FontEditor
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 17:01 UTC by mbastian
Modified: 2012-09-27 09:28 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 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