🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by scorpio05678 Sun, 21 Nov 2004 00:02
ListView
#905
Author: scorpio05678
Date: Sun, 21 Nov 2004 00:02
11 lines
1695 bytes
hi all

Is there any thing like "Listview"  in java like we have in MFC and VB?
If not is there any simple way to get the same thing in java. I have come 
across a short course on Sun's website 
http://java.sun.com/developer/onlineTraining/GUI/Swing2/shortcourse.html#JFCListView 
but it is very complex for me .

Thanks in advnce.

scorpio05678 
Re: ListView
#906
Author: Chris Smith
Date: Sun, 21 Nov 2004 01:33
24 lines
1940 bytes
scorpio05678 <scorpio05678@hotmail.com> wrote:
> Is there any thing like "Listview"  in java like we have in MFC and VB?
> If not is there any simple way to get the same thing in java.

See javax.swing.JList for a list control.  Alternatively, you can use a 
JTable set to column selection mode to display multiple columns of data 
like details mode of a Windows list control.  The model for both of 
these components already works in an MVC manner, so there is no 
equivalent to MFC's CListView, which is an adapter to MVC.  JList is the 
equivalent to CListCtrl with CListView built in.

> I have come 
> across a short course on Sun's website 
> http://java.sun.com/developer/onlineTraining/GUI/Swing2/shortcourse.html#JFCListView 
> but it is very complex for me .

Ignore that.  It has nothing to do with what you want.

-- 
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads