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