This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Displaying Swing components in JEditorPane using HTML OBJECT tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Displaying Swing components in JEditorPane using HTML OBJECT tag" Watch "Displaying Swing components in JEditorPane using HTML OBJECT tag" New topic
Author

Displaying Swing components in JEditorPane using HTML OBJECT tag

Baps Vakkalagadda
Ranch Hand

Joined: May 25, 2004
Posts: 47
I am developing a HTML Browser that display HTML using JEditorPane. HTML contains Object tags to display Swing components.

My HTML text contains the following snippet.

CustomLabel is my class, which extends javax.swing.JLabel. This code works fine with java 1.4.2. But if i use java 1.3, then JVM is not able to recognize my CustomLabel class. It is not even creating an object for it. I tested it with few debug statements.

Can anyone tell me why java 1.3 is not able to recognize my class?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Displaying Swing components in JEditorPane using HTML OBJECT tag
 
Similar Threads
HTTP client HTML vs XML Response
MathML support in Java Swing application.
How to use java.awt.Image with HTML?
Swing components in HTML page possible?
display web page