I am trying to figure out how to have pop out Jpanel in a Jframe.
Please see the image below as an example of what I mean, the white box is the jframe and the orange box is the panel and tab. Left image is of the window with no focus on the tab/panel and the right one is with mouse focus on tab/panel.
I would like to see a small tab exposed in the window and then when the mouse hovers over it a panel slides out with controls on. While the mouse is within this panel and tab the panel stays exposed and then when the mouse moves outside of this it retreats back to its initial position. I can easily do the sliding of the frame via threads etc. its more how do I create the tab and panel (single panel with background image of panel and tab using transparencies???) and how do track if the mouse is within it?
JFrame.png