How to use GridBagLayout in JlayeredPane.

I am using JLayered Pane for Dynamically putting the components at Front and at Back, But Now i want to put the components in a specified grid and for that i think i hav to use GridBagLayout... so Plz tell me how can i implement it.
[239 byte] By [ashish_guptaa] at [2007-10-2 10:22:14]
# 1
> But Now i want to put the components in a specified grid I would use the [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]Grid Layout[/url].
camickra at 2007-7-13 1:54:08 > top of Java-index,Desktop,Core GUI APIs...