Does my panel play hide & seek ?  
Author Message
rajesh.rapaka





PostPosted: 2005-7-8 15:51:00 Top

java-programmer, Does my panel play hide & seek ? Hi,

In an application, that uses internal frames and the JDesktopPane! I
now want to add a pane to my application to the right side of the
window. But this pane should be hidden. In the sense when i click on a
button, it creep inside slowly and when i click on it, it should creep
out slowly again.

Is such a thing possible with swing? or is there any other way possible
for this?

Plz help,
kind regards,
Rajesh Rapaka.

 
Andrew Thompson





PostPosted: 2005-7-8 16:53:00 Top

java-programmer >> Does my panel play hide & seek ? On 8 Jul 2005 00:50:31 -0700, rajesh.rapaka wrote:

> ...when i click on a
> button, it creep inside slowly and when i click on it, it should creep
> out slowly again.

Figure how to achieve the effect in any Swing/AWT components
and you can apply it back to the JDesktopPane(!).

> Is such a thing possible with swing?

Yes.

> or is there any other way possible for this?

What do you mean? AWT? Java2D?

Yes and yes.

[ One way to achieve this is to design a 'SlideOnAndOff' layout.
That is, design your own custom layout. Then you can do pretty
much whatever makes sense for the application. ]

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane