Hi,
I'm new to Java.
I have a component from a class that references an action from another class. I want to fire one more step after the action is done(enable a button). FileBrowser is a class that allows the user to choose a directory. txtbtnlocation is a class of a textfield and a button.
FileBrowser browse = new FileBrowser(this, FileBrowser.DIRECTORIES_ONLY,FileBrowser.SAVE_DIALOG);
txtbtnLoc.setAction(browse);
I am just looking for some basic ideas of where to go from here. I don't want to change the existing class code at all, I suspect I will need to override the actionPerformed of FileBrowser, but I get a method missing error
Thanks in advance
I'm new to Java.
I have a component from a class that references an action from another class. I want to fire one more step after the action is done(enable a button). FileBrowser is a class that allows the user to choose a directory. txtbtnlocation is a class of a textfield and a button.
FileBrowser browse = new FileBrowser(this, FileBrowser.DIRECTORIES_ONLY,FileBrowser.SAVE_DIALOG);
txtbtnLoc.setAction(browse);
I am just looking for some basic ideas of where to go from here. I don't want to change the existing class code at all, I suspect I will need to override the actionPerformed of FileBrowser, but I get a method missing error
Thanks in advance