creating dynamic objects?
Hey im new to java and ive just made my self a GUI with a button.
When i press the button i want to be able to create a new object, is this possible? (and i'd like to be able to press the button multiple times to create multiple objects)
If this is possible, how would i be able to reference the object from a different function since the object is created locally in the cmdChangeActionPerformed button event and not globally?
or am i going about this completely wrong!!!?