Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JToolTip in an applet

 
Tom Diamond
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have made a typical app involving menus and a JToolBar (I use JDK 1.3), but when I try to run this with IE 5 I get a java.lang.ClassNotFoundException:javax.swing.JToolBar.
I suspect that JToolBar is not supported in an Applet but I don't know for sure.
Am I rigth or there is a way to bypass this problem?
Thanks.
Tom.
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your error message indicates that your classpath is not right. You should make sure to use JApplet.
regards,
Ruilin
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!