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

Bug 183215

Summary: Implement setAsText() in FontEditor
Product: platform Reporter: mbastian
Component: Property EditorsAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW --- QA Contact: issues <issues.netbeans.org>
Priority: P3    
Version: 6.x   
Target Milestone: TBD   
Hardware: PC   
OS: Windows Vista   
Whiteboard: request_for_contribution
Issue Type: ENHANCEMENT Exception Report:

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. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo