After linking up your JTable with a database through JDBC (see previous post here), you might find the need to add and remove rows to your table through the application GUI. This can actually be done with relative ease.
Pages
Categories
After linking up your JTable with a database through JDBC (see previous post here), you might find the need to add and remove rows to your table through the application GUI. This can actually be done with relative ease.
This is part 4 in the series on JTables and JDBC << Pt. 3 Connecting to your database through JDBC Alright, let’s put this JTable together! Using the code from the previous section, we can now populate our custom AbstractTableModel by pulling information from a remote database. Don’t worry, its a lot easier than it [...]
This is part 2 in the series on JTables and JDBC >