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
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Swing / AWT / SWT
JList
cardwell cupp
Ranch Hand
Posts: 66
posted 23 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 23 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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
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...