Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Display picture in tooltip from memory  RSS feed

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to display a picture in tooltip. The problem that I have picture in memory, so I can't use HTML style of tooltip. Does somebody can lead me to an example? Currently I display a picture using JLabel setImage in a little popup. Is tooltip JLabel based? I didn't find a similar method for a tooltip.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!