microsoft windows

How to determine if your Java application is running on Mac OS X alvin June 7, 2009 - 9:25am

If you're developing a Swing/Java application to run on multiple platforms, at some point you'll probably have to make some tweaks for each operating system. Yes, there are differences in Swing behavior between Mac OS X, Linux, and Windows, and you'll want to account for those.

How to put a custom title on a Windows command window alvin September 5, 2008 - 9:41am

I'm currently working on a suite of Java and Ruby applications that, in short, require me to keep a number of Microsoft Windows command/cmd (DOS) windows open at one time. Because of this, I like for each command/DOS window to have a unique, custom name in its title bar.

Fortunately, it's easy to open a DOS command window with a custom name in the title bar. First, just open a DOS window (click Start, then Run..., then enter "cmd"), then type a command like this: