Results 1 to 3 of 3
Thread: How to have Always on top
- 02-05-2009, 08:33 AM #1
Member
- Join Date
- Feb 2009
- Posts
- 2
- Rep Power
- 0
How to have Always on top
Am using a JInternalFrame to have my tools. i open new JInternalFrames with canvas for painting with tools from my first JInternalFrame. Now my problem is i want to have my InternalFrame with tools to be always in front, so that i can select tools. can i make that InternalFrame as always on top.. Or else suggest me some other option to obtain such scenario..
- 02-05-2009, 08:49 AM #2
Senior Member
- Join Date
- Dec 2008
- Location
- Hong Kong
- Posts
- 473
- Rep Power
- 5
try setLayer(JComponent, JLayeredPane.DRAG_LAYER) method
Last edited by mtyoung; 02-05-2009 at 08:52 AM.
- 02-05-2009, 10:04 AM #3


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks