• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying Swing components in JEditorPane using HTML OBJECT tag

 
Baps Vakkalagadda
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic