• Post Reply Bookmark Topic Watch Topic
  • New Topic

Refreshing a list on button-click

 
G Priya
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Am a newbie to Swing. Suppose I have 2 lists and a button in a panel. When I click on the button, one and only one of the lists must get refreshed i.e. the values in the list must get updated. Is this possible with Swing?

Thanks.
 
Manoj Paul
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,
Its very much possible
 
Sridevi alla
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understood this concept but in swings i don't know if anyone knows please give me the example,


sridevi
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I understood this concept but in swings i don't know if anyone knows please give me the example,

well, if you understand the concept, and you're not sure if anyone else does,
why don't you give the example???

[edit]
perhaps a missing comma after "but in swings i don't know" changes the intent
of the post.

if so, change the listModel of the list you want updated.
[ May 01, 2007: Message edited by: Michael Dunn ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!