1. super.paintComponent(g); //I am not sure what super is
2. theString = stringToDisplay;//I know that strings are immutable so how are we changing the contents of the string or are we?
3.How do we know when the user clicks the button with no actionPerformed method?
4. What are we doing with the last three lines? Is it to reset the frame?
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter libraryhttps://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter