Creates a new JFC (Swing) panel. Panels are frequently used to group together several other components in one place. A JPanel itself can be used as a component within a JFrame or JDialog.