The Artima Developer Community
Sponsored Link

Java Answers Forum
JComboBox Popup

1 reply on 1 page. Most recent reply: Jan 20, 2003 8:58 AM by Sylvia van der Velde

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Sylvia van der Velde

Posts: 4
Nickname: rommie
Registered: Jan, 2003

JComboBox Popup Posted: Jan 16, 2003 3:06 AM
Reply to this message Reply
Advertisement
Hi,

I want to change the size of the popup of a JComboBox. Its width should not be the same as that of the JComboBox but wider to be able to read all contents.

I searched through the class and only found methods to get to know how wide it is at the moment or to show or hide it. But nothing to change the size.

Help would be appreciated.

Rommie.


Sylvia van der Velde

Posts: 4
Nickname: rommie
Registered: Jan, 2003

Re: JComboBox Popup Posted: Jan 20, 2003 8:58 AM
Reply to this message Reply
I found out that I have to write my own UI.
If anyone is interested in a bunch of very finde examples I found look at

http://www2.gol.com/users/tame/swing/examples/SwingExamples.html

Many thanks to the author.

Rommie.

Flat View: This topic has 1 reply on 1 page
Topic: Using DefaultMutableTreeNode class Previous Topic   Next Topic Topic: getting the first 10 values from a arraylist

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use