Hi,
I have a program which accepts inputs such as latitude, longitude, towerHeight, signalPower, and frequency. I need my program to do this task.
- each time a user clicks an "Add" button, an object is created with the above field values. And I want the user to click/create objects/ as many as he want.
This is the constructor for the objects.
public OwnTxData(int latitude,int longitude,int freq, double power,double msHeight){
this.latitude = latitude;
this.longitude = longitude;
this.frequency = freq;
this.power = power;
this.msHeight = msHeight;

}
How can I allow a dynamic array of objects to be created? How shall I refer to each of the objects later? I am new to java, please help for any ideas.
Thanks in advance