Category Archives: Java

Android OAuth Invalid/Expired Token

I’ve been going over Marko Gargenta’s Learning Android book, published by O’Reilly Media; in it he goes through the creation of a basic Twitter app.  After struggling through the first example, I discovered two things: The examples in the book was using deprecated calls in the JTwitter library.  Twitter had moved away from simple authentication [...]

Also posted in Tech | Tagged , , , , , , , , , | Leave a comment

Android SDK Update: A folder failed to be renamed or moved

I recently decided to jump into some Android development in my spare time.  Using Eclipse as my IDE, I already have most of the Android SDK environment set up on my machine.  Using the Android SKD and AVD Manager, I decided to install a year’s worth of SDK updates. Unfortunately, a few minutes after the [...]

Also posted in Tech | Tagged , , , , , , , | Leave a comment

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 [...]

Also posted in Linux, Mac, Tech, Win32 | 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 [...]

Also posted in Linux, Mac, Tech, Win32 | Tagged , , , , , , , , , | Leave a comment

Changing the Size of JTables

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.

Also posted in Tech | Tagged , , , , , | Leave a comment