This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
how to append a part of text of one JTextPane to another JTextPane.
Rollover Menus
PDF JEditorPane
JavaScript Calendar Popup
how to add image to Jtextarea