D
Don Sykes
I've converted most of my apps to Swing from AWT, but I can't seem to
get a JList in a JScrollPane to behave like Choice does: i.e. show just
one option at a time for selection. It always fills up the JPanel, in my
case, displaying 4 or more options at a time.
I've tried things like setVisibleRowCount(1) and setting the size of the
JScrollPane explicitly, but no luck. Any suggestions??
TIA
--
Have Java, Will Travel
Wire paladin, San Francisco
(paladinATalphaseDOTcom)
get a JList in a JScrollPane to behave like Choice does: i.e. show just
one option at a time for selection. It always fills up the JPanel, in my
case, displaying 4 or more options at a time.
I've tried things like setVisibleRowCount(1) and setting the size of the
JScrollPane explicitly, but no luck. Any suggestions??
TIA
--
Have Java, Will Travel
Wire paladin, San Francisco
(paladinATalphaseDOTcom)