Sending/Creating An Object To/In A Separate Class in Java
<p>How might I use a method inside one class to create an object in a separate class?</p>

<p>IE: I have a class extending <code>JFrame</code> with an <code>ActionListener</code> inside it. On button click, the <code>ActionListener</code> should then create an object within the Main class rather than the <code>JFrame</code> class. Is this possible? If so, how is this accomplished?</p>
