Tag Archives: Swing

Speed Reader

I spent a small portion of my free time this week working on a small Java application that would help me do a bit of speed reading. For those who are unfamiliar with the concept, you can read more about it on the wiki article here.  The basic idea is to increase the speed at which [...]
Posted in Java, Linux, Mac, Tech, Win32 | Also tagged , , , , , , | Leave a comment

Drawing Strings in Swing using Graphics2D

I’ve started a new project again, and this time I’m working on a speed-reader application using Java (more details on that later) One of the problems that I’ve always had with Java Swing UIs is figuring out how to directly draw centered Strings while inside of a paintComponent(Graphics g) method of some JComponent So let’s say you’re [...]
Posted in Java, Linux, Mac, Tech, Win32 | Also tagged , , , , , , , , | Leave a comment

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 Comments