🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #906

Re: ListView

#906
From: 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
Technical Details
Message-ID: <MPG.1c099e4940455a71989726@news.altopia.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.alt.net!usenet
References: <cnolu4$ftc$1@titan.btinternet.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,61f84dd9949172ee
X-Google-Thread: fcfbb,61f84dd9949172ee
X-Google-Thread: 10fd6d,61f84dd9949172ee
X-Google-Thread: 10a146,61f84dd9949172ee
X-Google-Attributes: gid111d45,gidfcfbb,gid10fd6d,gid10a146,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.alt.net!usenet
From: Chris Smith <cdsmith@twu.net>
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.javabeans,comp.lang.java,comp.lang.java.beans,comp.lang.java.gui,comp.lang.java.programmer
Subject: Re: ListView
Date: Sat, 20 Nov 2004 18:33:18 -0700
Organization: Altopia Corp. - Usenet Access - www.altopia.com
Lines: 24
Message-ID: <MPG.1c099e4940455a71989726@news.altopia.net>
References: <cnolu4$ftc$1@titan.btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.60.2060