public Object getElementAt(int index) {
public synchronized Object getElementAt(int index) {
    public Object getElementAt(int index) {        if (index < model.size())            return model.toArray()[index];        else            return null;    }