Hiding Panel

Hi all,

I would like to implement my application same like Google Desktop - Sidebar in SWING

same functionalities like hiding the bar at right side, If I mouse over at right then it should show up same like google desktop

is anyone have idea to how to do it. is there any suggestion how can i start?

Thanks

Ramesh

[350 byte] By [nim_ramesha] at [2007-11-27 10:14:56]
# 1

use a split pane to hold the other componenet and play with its size.

http://java.sun.com/docs/books/tutorial/uiswing/components/splitpane.html

java_2006a at 2007-7-28 15:36:27 > top of Java-index,Desktop,Core GUI APIs...
# 2

I'm not that familiar with the google desktop widgets, but I think I know what you're imagining.

I'd probably try something like build my app on a borderless JFrame. Then force the position of the JFrame up against the right side of the screen. They have an "open/close" icon on the frame that on mouse over, or mouse click, causes the width of the frame to resize.

Does that help?

slegge

sleggea at 2007-7-28 15:36:27 > top of Java-index,Desktop,Core GUI APIs...