Tooltips for Individual Items in a JList

Tutorials Shared by the Internet Community

Advertisements


Synopsis

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

Statistics

  • Total Hits - 27047

  • Total Votes - 102 votes

  • Vote Up - 44 votes

  • Vote Down - 58 votes

  • Domain - blog.codebeach.com

  • Category - JAVA/Swing

  • Submitted By - Devesh Khanna

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

Description

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

Advertisements