File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes css in JTextPane using swing1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "css in JTextPane using swing1.1" Watch "css in JTextPane using swing1.1" New topic
Author

css in JTextPane using swing1.1

yashendra chandrakar
Greenhorn

Joined: Mar 22, 2002
Posts: 22
hi,
can anybody tell me how to display html containing css+javascript in JTextPane of swing1.1
JTextPane in jdk1.4 recognize the same simply by calling setContentType("text/html") in JTextPane.
but its not working with swing1.1 and jdk1.1.8.
Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: css in JTextPane using swing1.1
 
It's not a secret anymore!