Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 75052 - support for contentType in StringCustomEditor
support for contentType in StringCustomEditor
Status: NEW
Product: platform
Classification: Unclassified
Component: Property Editors
All All
: P3 (vote)
Assigned To: Stanislav Aubrecht
Depends on:
  Show dependency treegraph
Reported: 2006-04-14 11:29 UTC by santhosh
Modified: 2012-09-27 09:28 UTC (History)
0 users

See Also:


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

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