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 - support for contentType in StringCustomEditor
Summary: support for contentType in StringCustomEditor
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 11:29 UTC by santhosh
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 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