A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Swing / AWT / SWT
Can I change the List's DLM dynamically?
Joined: Sep 03, 2001
Oct 08, 2001 02:22:00
I have the following syntax:
DefaultListModel dlm= new DefaultListModel(); JList list = new JList(dlm);; JScrollPane clientScroll = new JScrollPane(list);
For example, I have method inside my class that receives
object , I want to put this object instead of the current dlm in run time, can I do this?
I agree. Here's the link:
subject: Can I change the List's DLM dynamically?
Changing the values in the list box
Image in List
Help understanding custom ListCellRenderers
Problem with JScrollPane
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014