File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

css in JTextPane using swing1.1

yashendra chandrakar

Joined: Mar 22, 2002
Posts: 22
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.
I agree. Here's the link:
subject: css in JTextPane using swing1.1
It's not a secret anymore!