Fantastic. Thank you Norm.
I created the splits, but when I run the program I can't get the gui to load. There are no errors in the code, but GUI won't load to test. I instantiated a person...
Type: Posts; User: javaStooge
Fantastic. Thank you Norm.
I created the splits, but when I run the program I can't get the gui to load. There are no errors in the code, but GUI won't load to test. I instantiated a person...
I have a JPanel called addPanel, which is where new contact can be added to list. Given that each contact can have multiple emails, phone numbers, and addresses...how can I allow the user to enter...
Yes. We are not supposed to use either imports. So, should "ArrayListX" be renamed, for example, AddressBook?
Clearly I don't know what I'm doing because nobody understands what I'm trying to explain. The example give by our professor had a List interface:
public interface List <T>
{
//append
public...
It can, as far as I can tell...it's a generic type. I was going to give it the type Contact (ArrayListC<Contact> contacts = new ArrayListC<>(); ). I've never used arraylist before and I'm trying to...
"You are to design a Java application using the list data structure to manage your contact information. Each contact may have the following data:
name
addresses
e-mails
phones
group
Each...
Originally I had the class named differently until I spoke with someone that said I should name it ArrayList.
Gladly. I'd like to add that I am a little confused as to how I should code the program so that each contain can have 'x' number of emails, addresses, and phone numbers. Not sure I've coded for this...
I've created a List<T> interface that is implemented by class ArrayList<T>, where the methods are defined in greater detail. I have a third class, Contact, which contains the getters/setters for each...
I think it is worth mentioning that the focus of this assignment is data structure and lists (CS 2 class).
Yes, of course, that makes absolutely no sense. My intention was to search the...
This is the method I've created under the class ContactArrayList:
public void findContact(String contents){
try{
if(contents.equals("")){
JOptionPane.showMessageDialog(null,...
I would like to search an array list that contains contact objects (name, address, email, phone number) which will then display the contents of that object on a JPanel (resultPanel in program). I am...