Posts Tagged ‘Java’

Reflection with Java

During my recent clean-my-hard-drive-of-all-obsolete-files spree I discovered a small article I had written about RTTI (Run Time Type Identification) in Java. Instead of pasting everything on the blog (and risk destroying the formatting) I decided to export it as a PDF file so that you can download it here.
Despite me not having edited the file [...]

Read the rest of this entry »

Setting Pixels in Swing

Some time back I faced a problem in a (Java based) project on which I am still working on – I needed a swing component which would have a suitable interface allowing me to set the color of individual pixels. Since I could not find anything which had a similar functionality I extended javax.swing.JPanel and [...]

Read the rest of this entry »

Blogging about Logging

I recently discovered a really nice package in Java – java.util.logging. Classes inside this package make adding logging functionality to your application both intuitively simple and fun. Here what I would like to think to be a short guide to using the package.
The very first thing you need to understand that there may be [...]

Read the rest of this entry »