Hello there,
In one of my projects I'm working on currently. I have a 'cancel' button in my GUI window that is suppose to close the JFrame the button resides in. I have done some research on the web about this. But it seems like one has to write a fair amount of code for this little trival task. Does anyone know of a simple/short way of doing this?
Any help would greatly be appreciated,
Thanks!