A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
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?
Help understanding custom ListCellRenderers
Problem with JScrollPane
Image in List
Changing the values in the list box
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015