🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3491

Re: getSelectedItem() in listcontrol?

#3491
From: Joie Tagum
Date: Mon, 08 Dec 1997 00:00
23 lines
1182 bytes
Hello Joe,

This is exactly what I need, too, except I've got an array of Strings, and
have tried to do:  String[] getSelectedItem().getAll();
but it gives me some funky result--[I@1ee01e when I do a System.out.pritnln.

Do you happen to know what this is about, and how I can get the selected
item from my list control?

Thanks a lot!!

Michelle

Joe Nuxoll wrote in message <348323E1.EF814660@corp.borland.com>...
>Ryan Atkins wrote:
>> java.awt.list has a method getSelectedItem() which returns the current
>> item you have selected in the list.
>> How do you do it with Borland's listcontrol?
>
>int[] ListControl.getSelection().getAll()
>
> - Joe Nuxoll
Technical Details
Message-ID: <66i1c2$bf3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34830CC3.B6DF8C40@lehigh.edu> <348323E1.EF814660@corp.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,d47e4c667b5aa1c4
X-Google-Attributes: gid1089d0,public
From: "Joie Tagum" <Jtagum@pacbell.net>
Subject: Re: getSelectedItem() in listcontrol?
Date: 1997/12/08
Message-ID: <66i1c2$bf3@forums.borland.com>
X-Deja-AN: 296423993
References: <34830CC3.B6DF8C40@lehigh.edu> <348323E1.EF814660@corp.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: None
Newsgroups: borland.public.jbuilder.java.api