Originally Posted by
pottsiex5
So, how would i access a variable from the innerclass, or make a reference to the instance (im not quite sure what that is). Is there a method for a string that allows me to set it as something else?
There are quite a few ways to accomplish this, most (and the ones I would encourage) involve an Object Oriented approach. One way: have your FileChooser class extend JFrame, and use this class to create your JFrame. This allows you to have instance variables within the FileChooser class that can be set by inner classes. Your ActionListener would than be an inner class of FileChooser, in which case it has access to the FileChooser instance variables so it can set these as appropriate.