I have added the
tags, as Joanne suggested and you can see how much better it looks. I have also removed a lot of blank lines; too many blanks can make the code harder to read.
Unfortunately there are stray }}} at the end of the code. You really need to find out about indenting (one suggestion
here) and stick to a convention strictly. That will make it much easier to see whether you have counted your {} correctly. Otherwise you can get weird compiler errors which you can’t understand. I haven’t counted your indents so I don’t know whether those }}} are correct or incorrect, but incorrect numbers of {} can produce “illegal start” compiler errors.
I think it is poor design to have a frame implement a Listener, so I suggest you remove that implements declaration, and find another way to create Listeners. I have written about that in the past, and you can probably find some references
here.