how to request focus for Panel hiding behind another panel?

Hi guys,

I have two panels(of different sizes) within a JFrame, i have one button (in smaller panel)that does some query in the back end & populates the results in another panel (bigger panel), now assuming that i am in smaller panel, how is that i can bring up the bigger panel that is hiding behind this smaller panel.

I tried using requestFocus method but its not working.

Can anyone help me in this regard?

Thanks & Regards,

Vishal

[480 byte] By [vishal_vja] at [2007-11-27 9:14:01]
# 1
> I have two panels(of different sizes) within a JFrame, >...> how is that i can bring up the bigger panel that is hiding behind this smaller panel.cardLayout.next(), or cardLayout.show(..)
Michael_Dunna at 2007-7-12 22:01:52 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks for your feedback, but i am not using card layout instead i am using a Grid bag layout, i dont see any method like next() or show() for a instance of GridbagLayout.Any other alternative?Thanks & Regards,Vishal
vishal_vja at 2007-7-12 22:01:52 > top of Java-index,Desktop,Core GUI APIs...
# 3
that is what for cardlayout is made. why you need more?why do not you follow as you are directed.
Aniruddha-Herea at 2007-7-12 22:01:52 > top of Java-index,Desktop,Core GUI APIs...
# 4
unless you are a lot smarter than michael dunn, I think that you would do very well to follow his lead. Trust me. He knows what he is talking about.
petes1234a at 2007-7-12 22:01:52 > top of Java-index,Desktop,Core GUI APIs...
# 5
you are just right petes1234lol
Aniruddha-Herea at 2007-7-12 22:01:52 > top of Java-index,Desktop,Core GUI APIs...