adding entire code in one button on JFrame

Printable View