Im trying to create a contact book so i use a jtable to display my contacts name's..which are in an arraylist..but when arraylist is empty jtable looks like shit
so im trying to have empty jtable rows..i tried this below but caused me a lot of errors!

@Override public int getRowCount() { if(contactList.getContacts().size() < 10) { return 25; } return contactList.getContacts().size(); }