You may need to call pack() on the frame after adding your new content and before showing.
Read the documentation for invalidate, revalidate, and validate to see what you are calling