You need to refer to the gui class object, not the ActionListener object that is the inner class.
Something like: gui.this
Type: Posts; User: Norm
You need to refer to the gui class object, not the ActionListener object that is the inner class.
Something like: gui.this
I was referring to the above.
Why are you creating a new gui object instead of using an existing one?
Please post the full text of the error messages.