Skip to main content

Blog Archive for editor during February 2006

Step by step with the SwingLabs Wizard Oh sure, any Java desktop developer has probably written their own Wizard. The existence of the CardLayout makes it both simple and inevitable. But then again, if so many people are rolling their own, why not just have a single first-class implementation that everyone can use? Fortunately, SwingLabs is here with a candidate for just that implementation...
It's snowing in Cleveland today. A cloudy, gray snow that hoses your visibility and slows down traffic. I drove through this snow today, to the funeral of Elena Steinberg. Elena was the six-year-old daughter of Daniel Steinberg, our editor-in-chief and the first editor of java.net. She died suddenly last Wednesday. I don't want to focus on their family's heartbreak. Instead, I want the java....
Back to the browser Do you remember the Applet Era? Back in 1.0, before Servlets, or even the Java Web Server, before Swing, back at the beginning of Java, most code was written either as command-line utilities or as applets. For the GUI crowd doing applets, it helped that getting a free ride from the then-popular Netscape browser was providing our potential user-base with a runtime. If...
The verdict's in on SE 6, how about EE 5? I worried a bit about posting today's poll because the wording is so similar to last week's that some might not even realize the poll had changed, as it does every Friday. Last week we asked Which Java SE 6 (Mustang) features appeal to you most?, and according to the results the winner of that poll was "Desktop Enhancements", by a huge margin. Not...
Improving the appearance of Java animations If you're old enough that you remember when the focus of Java was on end-user GUI apps instead of web apps, you might have learned some basic animation techniques like timer-driven repainting and double-buffering from early books like Teach Yourself Java in 21 Days or Graphic Java. Back in the applet days, there were lots of people working to...
In the Projects and Communities section, Graham Hamilton is Raving about Java EE 5: " I think Java EE 5 will be by far the biggest developer event of 2006. I love what we've accomplished in Tiger and Mustang, but Java EE 5 brings a much deeper and more important set of changes. [...] Java EE 5 looks like it is on track to be the really Big Winner." The draft review is underway for JSR...
Take all your Swing layout out of Java Do we need to have the AWT/Swing layout gripe session again? Very well -- the layout managers you can read (GridLayout, BorderLayout, FlowLayout) generally aren't powerful enough even when nested, and the one that gets the job done, GridBagLayout, requires hundreds if not thousands of lines of code. Then let's also throw in some well-deserved plaudits...
Who says Java can't do continuation servers? One of the major axes Bruce Tate grinds in Beyond Java is the emerging importance of the "continuation server", which is a style of server-side programming in which continuations are used to save thread state for an indefinite time, even surviving a server restart if necessary. In an ONJava article, he sold the idea like this: Continuation-based...
Crosseyed and painless Wrangling a J2SE 5.0 animation issue Among the articles on the stack is a piece on animation from Sun engineer Chet Haase -- it will probably appear next week or the week thereafter -- and he includes a nice applet to show off techniques to improve the actual and perceived quality of the animation. Only thing is, the applet uses J2SE 5.0, and I'm on a Mac. 5.0 is...
Bringing up search results So... back to the idea of being your own Google. Why? Maybe because you need to provide search on an intranet of internal documents. Maybe because you want your site to offer its own search (after all, not everyone has figured out site:example.com search-terms, and many expect sites to have their own search widget). Maybe because you'd like to understand the...