Tooltips for Individual Items in a JList

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

Tooltips for Individual Items in a JList

This tutorial shows how to display individual tooltips for items in a JList.
  • Total Hits: 15731

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating


  • Total Votes: 151 votes

  • Category: JAVA/Swing

  • Submitted on: 2008-03-12 11:06:23

  • Submitted By: Devesh Khanna

  • Set as Favorite


his tutorial will extend our previous tutorial of creating a font list box. In that tutorial, we showed how to create a new list cell renderer to display the font name in that font. One problem with this is the font name may not be readable which is common with symbol fonts. In this tutorial, we will show the actual font name for each item in the tooltip.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 37.75%  57
 Two starsTwo star  Vote LeftVote MiddleVote Right 10.6%  16
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.92%  18
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 11.26%  17
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28.48%  43

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.