Blogs

Fri, May 30, 2003 (printf for Java)

Ahh, a printf()-like utility for Java ... life is good again. :)

Follow-up in 2009

These links are much more up-to-date, now that we have real printf capabilities in Java:

Java System properties - System.getProperty()

What are the possible properties you can get from System.getProperty() you might ask ... or in my case, really need to know(!). This URL from a Sun tutorial provides the necessary relief, er, help.

 

Thu, May 29, 2003

I started the Google AdWords campaign last night. I'm using AdWords to supplement some of the searches where the www.devdaily.com site does not appear in the first page of search results. One example is when google users search for "unix example", the "www" site does not show up well for some reason. Therefore, I'm spending a little money to buy some exposure. Stay tuned for results...

Fri, May 23, 2003

Back to thinking about JLint ... there seems to be several implementations of this on the web. The one I downloaded is from artho.com. One thing that was not clear from the instructions was how to run this program. I *assumed* that I would point it at a source file, but I really needed to point it at a *class* file. Once I figured this out, running it became a simple matter of moving to the directory that contained the class files and typing this

jlint Main.class

Thu, May 22, 2003

Here are two links to Java/OOP and Unix training material I'm getting online as fast as possible:

By the time this is all published in the next two weeks, it should be nearly 1,000 pages of online training material. Woo-hoo!

 

Tue, May 20, 2003

I saw this guy's page a long time ago, and don't want to forget about him again. The site is joelonsoftware. He seems to have some good stories on software dev.

SCO/IBM lawsuit and Eric Raymond, and the Game Developers Java Users Group

The most amusing part of the last month or so in the tech industry has been the effort of SCO to sue IBM over their use/implementation of Linux. Here is a position paper by Eric Raymond regarding the lawsuit, on behalf of the Open Source Initiative. It should be noted that Raymond was a regular speaker at the SCO Forum for several years back in the 90s.

Thu, May 15, 2003

Here are a few notes from "my other life". Amazing what happens when I've actually gotten a little sleep. It's been this way since forever.

Wed, May 14, 2003

Here's the material from a seminar I've done several times on "Working Backwards with JUnit". The idea for this seminar came about from an article of the same name by several authors in the Extreme Programming blue book. I can't remember their names right now, but all of the credit goes to them for the idea, and I need to acknowledge them properly.  

Java JTextField FAQ - How do I right-align a JTextField?

Java JTextField question: How do I right-align the text in a JTextField?

Short answer:

myTextField.setHorizontalAlignment(SwingConstants.TRAILING);

Long answer: I need to look at this some more to understand the difference between the alignment constants in SwingConstant and the alignment constants in JTextField.

Syndicate content