Mega Code Archive

 
Categories / Java Tutorial / Swing
 

JLayeredPane Layer Constants

Constant Description FRAME_CONTENT_LAYERLevel -30,000 for holding the menu bar and content pane; not normally used by developers DEFAULT_LAYERLevel 0 for the normal component level PALETTE_LAYERLevel 100 for holding floating toolbars MODAL_LAYERLevel 200 for holding pop-up dialog boxes, on top of palettes, and below pop-ups POPUP_LAYERLevel 300 for holding pop-up menus and tooltips DRAG_LAYERLevel 400 for ensuring that dragged objects remain on top