This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Can a List box have data displayed in a table format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can a List box have data displayed in a table format" Watch "Can a List box have data displayed in a table format" New topic
Author

Can a List box have data displayed in a table format

Sam Drake
Ranch Hand

Joined: Jun 05, 2003
Posts: 33
Hi,
I'm converting an MS Access app to an app which has got Swing UI. (I'm a beginner to say) Is it possible to give a table like format (ie Header which has got 4-5 columns say [Item, Item Description, Category, Department] and Details in subsequent rows) inside a ListBox?
Thanks and Regards,
Sagar.
Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
You will have to create your own implmentation of ListCellRenderer.
D.
 
Consider Paul's rocket mass heater.
 
subject: Can a List box have data displayed in a table format
 
Similar Threads
elements from hashtable by index
table
JPA optional uniqueness check possible?
SQL problem
List Updation