File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JList question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JList question" Watch "JList question" New topic
Author

JList question

Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
Hi all,

I need to display a checkbox and a value in each row of JList. Is it possible? OR should I use JTable instead.

This JList/JTable will be on the receiving side in an Applet. The sender will send meal orders; this will update our JList with new order and a checkbox. The chef will check the box after he has dispatched the order and this will remove particular order from our JList/JTable. Maybe I will have to add persistence later.

Thanks in advance,


Maki Jav


Help gets you when you need it!
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
http://www.objects.com.au/java/examples/swing/CheckBoxList1.do

http://www.objects.com.au/java/examples/swing/CheckBoxList2.do
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 437
Hi,

Thank you Michael Dunn, that link was wonderful. I got whole three java
classes for an example.

They are doing some interesting things out there...

I will ask for your help again if I require.

Thank you once again,

Maki Jav
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JList question