Tag Archives: database

JTables + JDBC: Pt. 3 Connecting to your database through JDBC

This is part 3 in the series on JTables and JDBC << Pt. 2 Extending AbstractTableModel Now that we have set up our empty TableModel, we’ll need to populate it with information from our database. In order to do that, we’ll first have to establish a connection to our database and query it for information.

Posted in Java, Tech | Also tagged , , , , | 4 Responses

JTables + JDBC – Pt.1 Introduction

Consider this: you have a running Java application with a Swing front-end and a PostgreSQL database managing the data in the backend.  You want to let your users view and modify the data in your database, but they don’t know a smidgen of SQL.  Perhaps there is a way to (easily?) draw a GUI front-end […]

Posted in Java, Tech | Also tagged , , , , , | 2 Responses