title: Make children of JLayeredPane fill available space of container
body: <p>I have two JPanel instances in a JLayeredPane, on different z-orders.  I want both of my child JPanels to always fill the space of the LayeredPane.  </p>
  
  <p>The idea is for me to toggle the display of a 2nd panel over top of the first to display a modal-like dialog.  Yes, I could just use a JDialog, but I thought it would be fun to try and create some transparancy overtop of the covered JPanel for a nice effect.</p>
  
  <p>I find that using a layout manager on the JLayeredPane, like BorderLayout, and trying to set both children to CENTER conflicts since both panels can't be in the Center.</p>
  
  <p>Is there a trick that I'm not seeing?</p>