[6070] in java-interest
Scrolling List Class
daemon@ATHENA.MIT.EDU (Alan Masters)
Mon Mar 18 22:30:49 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.