Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tooltip problems - no ComponentUI class

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone encountered (& solved!) the following error:
UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JToolTip[,0,0,0
x0,invalid,alignmentX=null,alignmentY=null,border=,flags=8,maximumSize=,minimumS
ize=,preferredSize=,tipText=]
I am trying to display a tooltip on a JButton which is on a JPanel (which is placed on another JPanel in an JApplet.
I can run the JavaSoft ButtonDemo.java in the same directory as my app and the tooltips display fine!
 
What's that smell? Hey, sniff this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!