Added a custom TextPanel to the JFrame.