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...
SwingLabs BOF Presentation Slides
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...
Putting our heads in the sand is not a good development strategy.
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...
With a renewed focus on the core JDK, JavaOne is looking up....
How to do Test Driven Development (TDD) with JavaFX using Model-View-Presenter pattern? In this installment of Effective JavaFX Architecture, I address this question with all the details and working code samples.
Today I read that Apple finally allows interpreted code on the iPhone. When will Oracle deliver Java for iOS?
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?
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 very fun to ignore: an interesting challenge in algorithms, and another opportunity to exercise JavaFX as any geometric problem surely deserves some GUI.
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.
Iterating over an Enumeration with the for-each statement would be fine, but the JRE's default support is not very smart. So I wrote my own utility providing five times better speed, using virtually no heap space.
I was doing some JavaFX hacking, and I had to create a sequence initially full of zeros. How can you do that? There's apparently only one way...
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...
A quick overview of SwingX PromptSupport.
Release announcement for SwingX 1.6.1.
Finally iAnywhere answered my prayers and implemented support for JDBC batch mode into their latest (and fastest) driver. But at surprisingly bad performance. Let's see why.
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 libraries I decided to write a new one that would work with modern Java 5 language features like generics, enhanced for-each, and varargs. This library is super tiny because it simply wraps the standard javax.xml libraries in the JRE, but gives you a much nicer interface to work with. Here's how to use it (or download it here):
This entry discusses file permission and file attributes support in NIO.2 or JSR-203 which will be part of JDK 7. In this entry you can lean how to read the file attributes like creation date, size, and permissions like execute, read and write flags.