This is an unorthodox constructor:
public ContactInfo (String n, String p)
{
setName(n);
setPhone(p);
}
This is an orthodox constructor:
public ContactInfo (String name, String...
Type: Posts; User: GregBrannon
This is an unorthodox constructor:
public ContactInfo (String n, String p)
{
setName(n);
setPhone(p);
}
This is an orthodox constructor:
public ContactInfo (String name, String...
The ContactInfo class looks more like:
public class ContactInfo
{
private String name;
private String phoneNumber;
// a constructor that accepts name and phone number...
And I should have requested that in the future you write better thread titles. Everyone wants help but no one will find this topic by searching for "contact list app" or similarly useful searches...
Most here prefer to code what you've done so far "by hand" rather than using Netbeans' GUI Builder. Your question isn't really "How do I code this in Java?" but "How do I use the GUI Builder?" and...