Search results

"category:/tech/java"


Title and summary Date/time
1
JSlider oddity - setFont() is ignored
Despite what you might expect, the labels on a JSlider ignore any font that you specify with setFont(), at least in the Windows L&F. Most odd.
14-Feb-2006
03:21:11
2
Image thumbnailer for Pebble
This blog uses the Pebble package for delivering content. Pebble isn't a particularly common blogging package but it fits my purely personal and subjective requirements: Not written in PHP (blegh) Open source, and something in Java would be nice ...
23-May-2010
09:54:00
3
Nice one, Team NetBeans!
Just read this glowing testimonial on The Inquirer for the NetBeans World Tour, which has reached Buenos Aires. I met Roumen Strobl briefly at the last Tech Day in London, and he seems like a really nice guy - I'm pleased to see he's even impressing ...
23-Oct-2006
15:53:09
4
Printing simple tabular reports with JTable
I've been putting together a little Java application that required some simple tabular reports that could be both viewed on screen and printed out, the data coming from a Derby database. I spent quite a bit of time looking a the various libraries out ...
30-Sep-2006
03:33:09
5
HTML-formatted JLabels and Matisse
I was trying to lay out a dialog that used the Matisse layout manager and included some JLabels that used HTML tags to format the content. Although it looked fine in the NetBeans GUI designer, previewing the dialog showed that the content at the bottom ...
11-Aug-2006
07:20:01
6
Run-time type checking with Java Generics
I've been looking at the Apache XML-RPC library, and figuring out how best to marshal and unmarshal Java objects that I'm passing between the client and server. XML-RPC only supports a limited set of data types, so if you want to pass the contents of an ...
13-Jul-2006
07:38:48
7
Building Win32 JNI code using NetBeans and MinGW
I use a GPS mapping application called OziExplorer, and just for laughs I started fiddling around with encapsulating the API for the application so that I could use it from Java. Access to the API is via a DLL, which meant delving into the scary world ...
27-Jun-2006
08:37:33
8
Using NetBeans with SourceForge (Win32)
I have a Win32 project hosted on SourceForge, and as it took me a bit of fiddling to get NetBeans to work with the SourceForge CVS server I thought I'd document the steps needed - although there is some information on the NetBeans and SourceForge sites, ...
27-Jun-2006
07:26:52
9
OziGeocacheUK
I've been tinkering around for a while wrapping the API to OziExplorer in Java. I've finally knocked together an application that uses it. integrates information from GeocacheUK.com and Geocaching.com into OziExplorer. OziExplorer is a GPS mapping ...
11-Apr-2006
10:41:13
10
Why I hate XML, and Ant's use of it in particular
I was googling around for examples of how to sign a JAR file in Ant using the signjar task and came across this monstrosity - 217 lines of turgid XML. How anyone can say Ant is an improvement over make is a mystery to me, and how anyone could ever think ...
25-Mar-2006
08:26:49
11
JNI_OnUnload(): mostly useless
I've been writing a JNI wrapper that requires the creation of a native thread and I've set things up using a JNI_OnLoad() function to initialise the DLL and create an event handling thread thread. I also used the JNI_OnUnload() function to kill the ...
18-Feb-2006
16:11:26
12
Oooh! Shiny! ... NetBeans 5.0
I've been very happy with NetBeans 4.1, but I've been keeping an eye on all the new stuff in NetBeans 5.0 with anticipation, especially the new Mattise GUI designer. Over the last couple of days I've been knocking together a simple Java GUI and today I ...
01-Feb-2006
17:08:51
13
WonDLLand revisited
I previously documented my problems getting my Java/JNI wrapper for OziAPI to work. As I said in my previous post, some of my problems were down to the OziAPI DLL not getting a chance to clean up properly when the application exited. Over the Xmas ...
15-Jan-2006
15:26:11
14
Thank-you James Gosling
I'd previously tried my 12-year old son (another James!) with Logo, but he got bored with drawing boxes fairly quickly, and the Lisp-like syntax proved to be pretty impenetrable when it came to doing anything more complicated - all in all Logo wasn't a ...
15-Nov-2005
16:43:42
15
Alan in wonDLLand
Yesterday evening I had another poke at the Java wrapper for OziExplorer that I'm sporadically working on, OziExplorer is the GPS mapping application that I use. It's a pretty fat API so I'm gradually chipping away at it. My latest tweak was to add a ...
14-Sep-2005
15:14:36
16
Smorgasbord: Building Win32 JNI code using NetBeans and MinGW
I use a GPS mapping application called OziExplorer, and just for laughs I started fiddling around with encapsulating the API for the application so that I could use it from Java. Access to the API is via a DLL, which meant delving into the scary world ...
10-Jul-2005
07:52:31
17
PMD: mostly good
Tor Norbye has done a writeup on PMD, a tool that looks for common coding errors in your Java source, for example switch statements without default labels or use of the broken double checked locking pattern. It looked interesting, so I installed the ...
11-Jun-2005
08:09:30
18
Improving the look of fonts under Swing
As I said in my last post, I've spent quite a bit of time over the last few days fiddling with Java, and one of the things that bugged me is that the fonts look pretty crappy because they aren't antialiased. The only way to do this in JVM 1.4 and before ...
18-Mar-2005
10:27:03
19
Problems building and installing MySQL on Solaris 10
I'm putting this here in the hope that it will help someone else once it gets indexed by Google, as I certainly couldn't find anything helpful myself. I've been trying to build and install MySQL 4.0.20 on Solaris 10 x86. It was building OK, but when I ...
21-Jul-2004
09:05:07
20
mod-rewrite equivalent for Tomcat
I've migrated and merged my old blogs.sun.com and bleaklow.com blogs into this new one, using Pebble. As a result, there are a number of links out there on the interwebs to bleaklow.com that are now broken, as everything has moved around - google's ...
02-Jun-2010
18:15:00