'Tis a gift to be simple, 'tis a gift to be free,
'Tis a gift to come down where we ought to be,
To turn, turn will be our delight
'Till by turning, turning we come round right.
-- Old Shaker hymn
It was supposed to be a quick-and-dirty mini-project: add a visual unit test execution monitor to NetBeans, similar to the top part of my favorite test tool, JUnit's Swing-based TestRunner:...
on Nov 20, 2004
For the Jeopardy project, I have been searching for the right toolkit. Swing is a well known, already tested option while SWT stands there as a sparkling, brand new toolkit, which has been the building blocks of Eclipse. I always knew that it would be a hard choice.
SWT, Standart Widget Tooklit is developed for Eclipse platform. The SWT component is designed to provide efficient, portable access...
on Nov 19, 2004
I know everyone was on the edge of their seats waiting for Part 2 of the game development article that Dmitri Trembovetski and I wrote. Well, you can stop biting your nails and check out the second and last installment at the Java Developers Journal site.
Part 1 of the article focused on general game framework issues.
This second part dives into 2D rendering and performance details.
on Nov 16, 2004
Writing for developers is a rewarding job
if you're interested in technology and enjoy playing with words.
You're constantly learning,
you get to practice the craft of writing,
and you can make a real difference for developers.
Ever since I graduated from college with a CS degree,
I've had writing jobs.
All but one of them took advantage of
my technical background,
but I've never officially...
on Nov 16, 2004
[Update (2004/11/12): This blog entry has transitioned into a full-fledged java.net article. The content in the article is very similar to that below, but contains a few clarifications and slightly better formatting. Therefore, I suggest you visit the new
article page instead.]
Ever since the new OpenGL-based Java 2D pipeline became available in
J2SE 5.0, developers have...
on Nov 10, 2004
The chat has already occurred, and a
is now available.
Scott Violet and Shannon Hickey the Swing architect
and project lead, respectively know everything there
is to know about Swing. They're in the midst of planning
the next couple of releases, so tomorrow's
Live chat is a great
opportunity to find out what's happened and going to happen,
and to let...
on Nov 8, 2004
I've been looking for a good topic to start my blog and I finally found one. While most people in the JavaDesktop Community will recognize my name as the JavaDesktop Community Leader, I have a another job at Sun as the lead engineer on JavaHelpTM software. It's a project that I've been involved with since inception and greatly enjoy.
Yesterday Sun released JavaHelp V2.0_02 for general use at...
on Nov 4, 2004
Send me your ideas of what you'd like to see out of webstart. What are the missing features. What are the most important bugs? I want to figure out what we can do through addons and what requires changes from Sun.
This is what I'd like to see:
Better icon support. Make the width/height attributes do something, like select the right icon for the right job. If the desktop uses 48x48 icons, use the...
on Oct 25, 2004
Usability is the number one concern when designing software. And I don't mean "today with modern computing and the lack of new types of software usability is easier and growing in importance". I mean computers have no other purpose than to serve humans, and a better computer serves humans better. End of story. Software that doesn't conform to the way humans do things is bad software. (bad!) I...
on Oct 18, 2004
Swing Component Depot
column has a backlog of
more than 50 component suites. They'll all appear there eventually
however we thought you'd like to see the queue now, in all its
unadorned glory. So, here for your delectation is a brief summary of
all 50+ of them.
I appreciated the comments in response to the original version of this
blog ("Another 40 Swing Component...
on Oct 14, 2004
Stephen King once wrote, in the introduction to one of his scary
books, that his critics were correct: he could publish an ordinary
grocery shopping list and it would sell. Just to prove the point he
included his own shopping list verbatim, and I bought the book
(conceit complete). In today's blog I wanted to publish my own
shopping list of sorts. This is a list of some of the many J2SE/Swing...
on Oct 11, 2004
on Oct 3, 2004
I've always known that ImageIO was a good thing to use since its inception. It reads and writes more formats than the original Image loading APIs, it has a pluggable interface for new image formats, it's the way of the future, it's more robust than the previous APIs, it's synchronous without the need for MediaTracker or that hacky ImageIcon workaround, blah, blah, blah....
I knew all that...
on Jul 19, 2004
I've had the pleasure to work on a Swing application these recent months, and I'd like to share with you one of the main conclusions I've arrive at.
It did take me a little time to gain fluency with the APIs. After all Swing is a fairly large API (over 600 classes). On the other hand, once that fluency is gained, developing in swing works out all right.
Specifically one quickly realizes...
on Jul 8, 2004
Sun showed a demo application to demostrate real time Java. There was a thick client application controlling a reverse pendulum (basically a machine that held a stick straight up, like when you balance a ruler on your hand). They had an application along with it to control the motors and display settings -- including failover.
The problem was that the application sucked. Layouts were terrible and...
on Jul 1, 2004
June has been a record breaker for new open source projects
at Sun. The projects ambling out the door this month have
run the gamut from new initiatives like
to longtime J2SE stalwart
And standing in the doorway is the great hulking giant
Solaris, of which our president Jonathan Schwartz has said: "Make no
mistake: we will open source Solaris". At today's opening JavaOne...
on Jun 28, 2004
You guys know by now my stance on native look and feel support. I saw some demos showing native looking apps on Mac, Windows and Linux. Very impressed. I know I talk alot about the need to look native. That's definitely my problem space, but I also definitely realize the need to have an application that looks absolutely identical between different platforms. Sun is taking the right approach --...
on Jun 28, 2004
At JavaOne '97, we kicked off project Swing and as we raised the toolkit scaffolding in the crazy months that followed, we released frequent snapshots of the bits to get our developer base (or at least a hardy core) in on the action. Feedback, both positive and 'constructive', was relentless, and the API improved steadily because of it. We still get email from folks who tell us they've been using...
on Jun 23, 2004
"JDIC will enable applications written for the Java platform
(Java applications) to integrate more seamlessly with their native
I wish it did. I really wish it did... but it doesn't.
I, and other Swing developers, have spent hours upon hours under
the magnifying glass -- literally -- using the Windows
zoom tools to make sure all of the layouts and components are aligning...
on Jun 3, 2004
Two types of ResourceBundles are provided in the Java platform:
Either one can store localizable resources for your application. Let's assume we use a PropertyResourceBundle.
Starting were we left off, let's assume we have text strings in a bundle named GreetingResources.properties. Our application loads that bundle with the following:
on Apr 23, 2004