Tooltips for Individual Items in a JList

Tutorials Shared by the Internet Community



This tutorial shows how to display individual tooltips for items in a JList.


  • Total Hits - 27267

  • Total Votes - 102 votes

  • Vote Up - 44 votes

  • Vote Down - 58 votes

  • Domain -

  • Category - JAVA/Swing

  • Submitted By - Devesh Khanna

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


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. ...

Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down