I have a class ApplicationGui2 (ag) which creates an instance of MyTableModel2 (mtm)
MyTableModel2 has all the methods required to create instances of the class RecordData (rd)
The user uses a modal dialog which instantiates an instance of class NewRecordInput (nri)
nri gathers the user data and then needs to pass this data (stored as a
String[]) to the mtm method createNewRecord() which creates a new instance of class RecordData and stores this object in mtm's Vector
What I want to do is; pass a reference to mtm, from ag to nri, so that nri can call mtm.createNewRecord() but my attempts so far produce a NullPointerException
Can anyone help ???