In the first of a series of blogs on creating a Swing app I motivate the app, the architecture the app will use, and quickly touch on the model. In addition I'll show how easy it is to use beans persistence as a way to save and restore beans.
It seems to me that many issues that come up in Java stem from the
"I don't want to have to recompile my code" argument. All kinds of
design decisions stem from it too. We end up with systems that
are written in two or more languages. What I mean is that we
usually end up with a mix of Java code, properties files, xml files
and other stuff. The properties files and xml files can be viewed
Romain Guy has written a blog entry about SwingUtilities2, and I find it a little confusing because in one paragraph he's suggesting the reader to use this class, and in the next he is saying to steer clear of it. Maybe he's quoting someone else and didn't make that clear?
In any case, Sun ships in our JDK a whole lotta private classes. It's relatively easy to dig around and find interesting...
The Love and Hate of Generics in Java SE 5.0.
After coming out of holiday hibernation, Sun shows signs of integrating the bug fix I contributed late last month.
I saw this question Solaris vs FreeBSD: Why Sun never make Java on FreeBSD and thought to say a couple things. Note that I am not involved with the management decisions around this, and don't know the reasons why Sun doesn't ship the JDK for FreeBSD. But what I see is that Frans Thamura's blog posting ascribes conspiratorial schemings on Sun that probably aren't accurate.
One thing is that Java...
I've added a few clarifying comments in italics below.
Using the JavaTM Native Interface (JNI) is not something many Java programmers have to deal with, but when you do, you need to know something about native applications.
Whether it's Windows, linux, or Solaris,
each native platform and sometimes native compiler or even
the release of the native compiler
has slightly different issues, so I...
I've been patiently waiting to see the result of this index having followed it last year.
How would you go about using the JMX API to instrument AWT events? What would it gain you? My colleague Jean-FranÃ§ois Denise answers in detail.
Not yet complete, my work to fix a Mustang bug overcomes a major hurdle. Yes, I have submitted a fix.
The experiment isn't finished. I've finally found a bug to fix. So, let's continue.
In the Quality Team we try to automate our testing as much as possible. This is easy for tests of the core library or other functionality where there's no GUI. But when you bring in a GUI like for AWT/Swing tests then the test complexity goes up dramatically, because for some scenarios you need to verify the graphics rendered correctly.
There's a general strategy we have in GUI testing we call...
Different strokes for different folks.
This blog has been dormant for quite a while. But the work on MVM
hasn't stopped. In fact, there's a whole bunch of extensions and improvements we're planning to release soon.
Learn how to create alternate views of JPasswordField. In the proess I'll cover portions of Swing's text architecture.
Since the Quality Team is so widespread (as I blogged before, Santa Clara CA, Beijing China, Bangalore India, Hyderabad India, St. Petersburg Russia and Dublin Ireland) we have a constant question of what time we need to hold meetings so the majority of us can participate. It's tough because for most purposes Santa Clara and the other teams are on opposite sides of the world and we're asleep...
The other day I wrote about a patent some of us in the quality team received over a test execution scheduling tool we developed. While the patent and the software is interesting, the thing that's really interesting is what that software enables us to do.
Which is ... because of DTF we are able to schedule execution of a tremendous amount of testing on a wide set of platform combinations. Without DTF we would get lost with the test execution schedule the java quality team faces. I thought it would be good to outline just what that is.
Huh? I got a patent? Say what?
Read up on the changes to Actions in 1.6.
I've written a couple posts about my trip here to Bangalore. I've been talking about the life in India, as seen through my western eyes. While there's such a wide variety of stuff like that I could talk about ... I also want to talk about the Java Quality Team here in Bangalore. It's these people I've spent the last two weeks with.
We have perhaps 30 people in Bangalore, and one more in...