Title: How to make "pulldowns" and "popups" overlap a containers border?
You will need to look at changing the L&F of a combo box, I'd imagine. Or create a new component with a L&F based on that of a combo box. Why duplicate behaviour? Reuse it, where possible.
 
If the popup extends beyond the window frame, a component with a native peer is used.
 
If by "frame" you mean the window borders and title bar, use a JWindow instead of a JDialog.
----- Original Message -----
Sent: Thursday, February 07, 2002 7:26 PM
Subject: How to make "pulldowns" and "popups" overlap a containers border?

Hi folks,
I'm creating a TreeCombobox, when activated, the pulldown contains a JTree instead of a list.
I was going to implement the pulldown as a JPanel, and place it in the JLayeredPane.POPUP_LAYER but I discovered that the panel is truncated at the window's borders.

Real Swing components that use popups, such as JMenus and JCombox, extend beyond any window's border. What is the best way to duplicate this behavior?

I figure that there is no way to remove the "frame" from a JDialog, is that true?

Charlweed

Reply via email to