how do i "hide sheet and hide window" like in spreadsheet.please help me in java swing code...a.s.a.p.thanx:pretty:

Recommended Answers

All 4 Replies

I've hidden a window behind a sheet when darkening a room to use as a darkroom, but no Java was involved, just some masking tape.

wat >?

Nothing, just Jwenting's good old sarcastic side note. ;-)

please be a little more specific with the problem. if you wnat to hide a window that is a JFrame /JDialog use setVisible(false).
I dont know if there is a sheet like component in Swing yet, unless you have written it ground up.
If it is a JPanel that you have subclassed as a sheet, switch to the desired Jpanel subclass that you want displayed and updateUI() should work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.