Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Devaka Cooray
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
paul wheaton
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Lou Hamers
Piet Souris
Frits Walraven
Forum:
Swing / AWT / SWT
JList
cardwell cupp
Ranch Hand
Posts: 66
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
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
Shay Gaghe
Ranch Hand
Posts: 102
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
its depends on the Layout Manager that you using:
you can use a null layout:
public void init(){ setLayout(null); list.setBounds(150,150,200,200); }
hope this help
Shay Gaghe
I do some of my very best work in water. Like this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
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...