[6355] in java-interest

home help back first fref pref prev next nref lref last post

Scrolling List Class

daemon@ATHENA.MIT.EDU (Alan Masters)
Fri Mar 29 18:49:16 1996

Date:         Mon, 18 Mar 1996 20:57:55 +0000
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Alan Masters <arm@MAG-NET.CO.UK>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

I would very much like to make a wide list of items.

Unfortunately, List (JDK 1.0) has two constructors, neither of which specify
width.

I have tried re-sizing the object and using the GridBagLayout fill BOTH,
but neither of them alter the width of list which appears to default to
18-20 chars.

I am attempting to produce a summary list of bugs, then use the selection
mechanism

        string = list.getSelectedItem ();

to identify the selected item.

TextArea would be apparently no use, as I am unable to make selections from
there.


Does anybody have any suggestions please ?


        Many thanks,            Alan Masters.

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

home help back first fref pref prev next nref lref last post