Forums Register Login

JList

+Pie Number of slices to send: Send
I want to use a JList and Drag and drop to it, but when it is empty, it is invisible. How do I get it to a certain size???Thanks all
Cardwell
+Pie Number of slices to send: Send
Hi
its depends on the Layout Manager that you using:
you can use a null layout:

hope this help
Shay Gaghe
A teeny tiny vulgar attempt to get you to buy our stuff
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 810 times.
Similar Threads
Count items in JList
Null pointer Exception in Basic List UI
Custom file dialog -- download file from webservice
JList + Vector
Key Events firing for non displayed controls
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:26:47.