Use DefaultTableModel as standard in NetBeans.

I'm using NetBeans to code my Java and GUI in, but it's very annoying that I can't get NetBeans to use the DefaultTableModel for JTable as standard.

I have to cast my JTable's everytime I wanna add a row or anything with ((javax.swing.table.DefaultTableModel)MYTABLE.getModel())

Anyway to get NetBeans to use the DefaultTableModel as a standard so I don't have to cast my tables all the time?

[416 byte] By [EikHa] at [2007-10-3 9:54:57]
# 1
> Anyway to get NetBeans to use the DefaultTableModel> as a standard so I don't have to cast my tables all> the time?No. getModel in JTable isn't declared to return a DefaultTableModelKaj
kajbja at 2007-7-15 5:12:46 > top of Java-index,Java Essentials,New To Java...