Forums Register Login

How to clear contents of HTMLDocument in JEditorPane???

+Pie Number of slices to send: Send
Can someone tell me....

How to clear the contents in JEditorPane? The content type for is text/html.The EditorKit I'm using is HTMLEditorKit.Bartenders please help... this is real urgent.
Thanx in advance
+Pie Number of slices to send: Send
call setText( "" ) on your JEditorPane...

-Nate
Alas, poor Yorick, he knew this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 5340 times.
Similar Threads
clearing a text area
Using html tags
reading pdf,ppt,doc in swing app
Saving the contents of JEditorPane
Saving Contents of a JEditorPane
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:43:18.