aspose 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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: css in JTextPane using swing1.1