On Wed, Jun 30, 2010 at 11:56, Bayan <[email protected]> wrote: > i try use JTable in netbeans 6.7, i add columns but when i want add > rows, i don't understand how use DefaultTableModel and the order of > instruction.
The easiest way is to right-click on a newly created JTable in the Matisse (=Netbeans Swing GUI editor) -> "Table contents..." -> Columns -> <add and remove columns as you like> and then switch to code view and expand the folded generated code. HTH. -- Martin Wildam -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
