Could anyone tell me what should happen in this file if the Vector is empty. The contents of the Vector are required to form a list (in a JList) but I'm not sure what to do with it. I want the JFrame to display regardless of whether the Vector is empty or not. Suggestions? :confused:Code:...
if (people.isEmpty())
{
// What goes here??
}
else if (people == null)
{
Vector people = new Vector();
}
else
{
...
