aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to make a component place on frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to make a component place on frame " Watch "How to make a component place on frame " New topic
Author

How to make a component place on frame

Rajesh Chandra
Ranch Hand

Joined: Jun 13, 2005
Posts: 55
I have a program which fetches some data from database and shows it as a list on the Frame.When I click a button to fetch the data it works fine and displays the list populated with the data.But again when i click it works fine
but a new list is created .I want to remove the earlier list and present the new list in its place. I also posted thew code extract in this forum with heading layout problem but got no response yet.I have tried using invalidate but without any success.Any idea??

thanks to everyone in advance
regs rajesh
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Rajesh Chandra
Ranch Hand

Joined: Jun 13, 2005
Posts: 55
Thank u so much craig.This one solved my problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make a component place on frame