The biggest announcement - and the biggest surprise for many - of JavaOne 2010 was certainly Oracle's new plans for JavaFX 2.0... or, should we say, Swing 2.0?
The history of JavaFX has been contentious since its beginning, when it was clear that FX was a new toolkit, even a new platform, while most people in the brave Swing community wanted a "Swing 2.0". Well, this is basically what...
on Sep 23, 2010
I mentioned during my BOF at JavaOne a new component that is close to ready for moving into SwingX: JXScrollMap.
Part of the way that SwingX works is that members first join the incubator project. Members contribute ideas to the incubator, flesh them out, and eventually bring them into SwingX. The incubator contains lots of stuff from really mature ideas to things that aren't. Some of the ideas...
on Sep 22, 2010
The SwingLabs BOF had a good number of attendees (more than last year I believe). Jan and I focused the update on SwingX, but did speak about JXLayer some. We also announced the release of version 1.6.2. As promised, I have uploaded the presentation.
All in all, I think it has been a very positive convention for SwingX (so far). I spoke about SwingLabs/SwingX at the end of...
on Sep 21, 2010
As it became almost a tradition we have rolled out next SwingX release just before the SwingLabs BOF at JavaOne last night.
You can get the release from our website, or directly from the java.net or also from the maven central repo. Please note that the artifactID has changed from swingx to swingx-core due to changes in the structure of the project.
Thanks a lot to all who contributed to...
on Sep 21, 2010
I attended "Swing Tips and Tricks: A Best Practices Approach to Swing Applications" talk today. While the talk covered well-known ground (or what I hope should be well-known ground) for Swing developers, what struck me most was that we (developers) are too often ostriches. Putting our heads in the sand, we move forward tackling problems as they come, forgetting that...
on Sep 20, 2010
My first session this moring at JavaOne was Deploying Java Applications on the Web. It was quite good as it covered some of the newer techniques that have been added to the latest 1.6_x updates. As with any good session, I walked away with some knowledge that I hadn't entered with, but what struck me the most was the legacy of JavaFX. While JavaFX was mentioned (in passing once...
on Sep 20, 2010
On my wordpress blog, I've composed yet another digest of JavaOne highlights.
on Sep 15, 2010
In the last installment of my post, I briefly described how to do Test Driven Development (TDD) in JavaFX using Model-View-Presenter (MVP) pattern. In this installment, I illustrate this particular piece in detail and provide working code samples. You can download the code here (Caution: 6.7 MB download).
The download is a zip file containing all 4 Netbeans projects. The code is tested with...
on Jul 7, 2010
on Sep 10, 2010
Mark Reinhold announced today that the JDK 7 / JavaSE 7 project has slipped once again: mid-2011 without Jigsaws and Lambdas, late 2012 for JavaSE 8 with those. The delay (or some other bad news like dropping features) was already expected by anyone who tracks the project. But really, how big and bad is this delay?
As a big enthusiast of both Jigsaw and Lambdas - and as a tech writer who just...
on Sep 8, 2010
If you want to work for DropBox, they have an interesting programming test which solution must be submitted together with the CV. I’m not considering a position at DropBox, but their test was too fun to ignore: an interesting challenge in algorithms, and another opportunity to exercise JavaFX as any geometric problem surely deserves some GUI.
(Don’t read this blog if you actually plan...
on Sep 3, 2010
Now that JDK 6u21, JavaFX 1.3.1 and NetBeans 6.9.1 are all finally released, I'm back to checking the latest news and improvements in JavaFX. The official Release Notes points to the deployment improvements as the single new end-user feature, so I've checked the latest improvements in this area.
The really major feature of this release is for developers: debugging and profiling will now, well,...
on Aug 21, 2010
Update (2012-09-24): Maven users, you can directly link this class (LGPL), as I have uploaded it into Maven Central. Simply add a dependency to:
<dependency> <groupId>eu.headcrashing.treasure-chest</groupId> <artifactId>EnumerationsClass</artifactId> <version>...
on Jul 4, 2010
I've just committed mavenized version of swingx under the swingx-r3734-mavenized branch.
If you know nothing about maven here's the basic:
download and install (unzip) maven from http://maven.apache.org
you should not need to configure anything apart from geting maven/bin on your path so you can run maven
to build swingx you need to run "mvn install" or "mvn clean install...
on Jul 26, 2010
As Karl mentioned already in his blog, SwingX 1.6.1 was released few weeks ago. There were some issues uploading the artifacts to central repo this time, due to previous nexus migration and changes in structure of repositories, but all is solved now.
To use 1.6.1 simply update your pom to
<pre style="font-family: monaco, courier, 'courier new...
on Jul 24, 2010
With the release of SwingX 1.6.1, we now have a milestone release that contains the PromptSupport code. So, what are prompts? They are decorations to empty text components that usually provide a clue on how to use the component. Search fields containing a "Search" prompt, etc. Here, I provide a couple of examples on how to use the new SwingX code as well as a...
on Jul 15, 2010
I am please to announce that SwingX has released version 1.6.1. We hope to have the release uploaded Maven central soon.
Just a quick overview of some of the issues:
Added prompt support.
Added new Highlighters and HighlighterPredicates and improved the rendering API.
Lots of JXDatePicker and JXMonthView improvements.
More Mustang sorting improvements.
on Jul 8, 2010
In my opinion, SQL Anyhwere is the best RDBMS I can think of. I can remember when we started distributing it in Germany back in the early 1990ies, as one of the first early adopters in this country. Since then, we provided it to hundreds of enterprises, from single-person laptop-only ones to large ones spanning replicated installations crossing country borders. So call me biased in that...
on Jul 3, 2010
Web Services and XML
As part of some open source stuff I've been doing on the side I've had to generate and parse a lot of XML. I like working with the DOM because it's tree structure cleanly matches my needs, but the W3C API is *so* cumbersome. The DOM was designed to be implemented in any language, not just clean OO languages like Java, so any code using it will work but be ugly. After considering a few other XML...
on Jun 28, 2010
In two previous entries I covered Introducing NIO.2 (JSR 203) Part 1: What are new features? and Introducing NIO.2 (JSR 203) Part 2: The Basics In this entry I will discuss Attributes introduced in NIO.2. Using attributes we can read platform specific attributes of an element in the file system. For example to hide a file system in DOS file system or to check the last access date of a file in...
on Jun 23, 2010