Trouble implementing part of code into GUI

Printable View