title: Is there anyway to "pack" a JPanel?
body: <p>Is there any thing I can do to make my JPanel <code>pack</code> like a JFrame, or do something like that. I want to do this instead of giving it dimensions. Please comment if any addition info is needed. Thanks.</p>