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 75052

Summary: support for contentType in StringCustomEditor
Product: platform Reporter: santhosh <santhosh>
Component: Property EditorsAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description santhosh 2006-04-14 11:29:38 UTC
support for contentType in StringCustomEditor:

i have some string proeprties whose value is xml snippet;
If string custom editor supports contentType then i could have done this:
   Property prop = /* somehow get string property */
   prop.setValue("contentType", "text/xml");

Currently the String CustomEditor used by core doesn't have this support;

this might require to use JEditorPane rather than JTextArea in StingCustomEditor
and set the specified contentType to JEditorPane
Comment 1 santhosh 2006-04-14 11:30:12 UTC
changing to Enhancement