Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How does ComboBox extend beyond the window borders?

1056224Feb 3 2014 — edited Feb 3 2014

I noticed that the ComboBox can extend beyond the window borders. I'd like to implement something like that for a custom control of mine, but can't figure out how to do it. I know that it happens by simply setting a large enough value via setVisibleRowCount, but what I am interested in is how the combobox manages to be larger than the pane it is in so that I can copy that behaviour for my own control.

Here is a screenshot to clarify what I am talking about.

Thanks in advance

This post has been answered by James_D on Feb 3 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2014
Added on Feb 3 2014
1 comment
1,159 views