1 posts in topic
Flat View  Flat View

Posted By:   Krishna_Padave
Posted On:   Saturday, April 21, 2001 08:35 PM

How to add ScrollBar to Listbox & how to add color to item inside the listbox?

Re: JListBox

Posted By:   Sandip_Chitale  
Posted On:   Monday, April 23, 2001 02:20 PM

Add JList to a JScrollPane().

JList l = new JList();
JScrollPane sp = new JScrollPane(l);
// now add sp to a your application
// panel etc.

Read about ListCellRenderer for changing
colors etc. here -


About | Sitemap | Contact