Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Java Desktop

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Java Desktop

It's already five months since the version 1.0 have been announced at JavaOne. Today, new version of the SwingX have been released. This release is first Java 6 only compatible release. Setting base line to Java 6 allowed us to drop all the extra code necessary to maintain backwards compatibility for functionality added to the cora Javasince the release of Java 5. So as of today, you can benefit...
on Nov 2, 2009
In my last attempt to stress the JavaFX platform, I ported the Strange Attractor demo/benchmark. Different from JavaFX Balls, this is not scenegraph-driven animation, but old-school "pixel by pixel" drawing… still, makes for another batch of interesting findings, including a few issues in the JavaFX Script language and its compiler, and other topics like fractal maths, BigDecimal...
on Oct 29, 2009
Did you know javap ignores Class-Path manifest attribute where as javac honors it? I didn't. Now I know. I have a jar called foo.jar with following manifest entry: Manifest-Version: 1.0 Class-Path: javax.ejb.jar Created-By: 1.6.0_16 (Sun Microsystems Inc.) javax.ejb.jar contains all the EJB APIs and it is in the same directory as foo.jar. Yet, this is what I see when I run javap: javap -...
on Oct 14, 2009
When my colleague Marina Vatkina sent me some code earlier today hoping a second pair of eyes would spot the obvious error, knowing how thorough Marina typically is, I knew there was no obvious error there. Simplified version of what was being attempted is shown below: import java.io.*; import java.util.*; import java.util.jar.*; public class CreateJarWithManifest { public static void main(...
on Oct 13, 2009
While evaluating a GlassFish bug, I discovered a discrepancy in behavior of Class.getAnnotations() between IBM JRE and Sun JRE. the complex GlassFish issue boiled down to a simple test case as discussed below. The question is what should be the behavior of Class.getAnnotations() if one or more annotation class is not available at runtime. Consider the following test case: // Main.javaimport java....
on Oct 8, 2009
I am extremely pleased today to announce the availability of the final release for version 5.3 of Substance look-and-feel (code-named Reykjavik). The release notes for version 5.3 contain the detailed information on the contents of this release which include the following: New Gemini skin New Magellan skin New Graphite Aqua skin Improved usability of Raven Graphite skins Overlay painters...
on Sep 28, 2009
The Pivot development team is happy to announce the release of Apache Pivot 1.3. Apache Pivot is a platform for building rich internet applications in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform. Pivot is currently undergoing incubation at the Apache Software Foundation. Notable updates in...
on Sep 22, 2009
If you are reading this blog it means you want to use JasperReport with dynamically programmatically generated images. An example of such use cases in generating complex charts using JFreeChart and then including these charts into reports. Each report in JasperReport uses a datasource to populate the fields, we need to use JRBeanCollectionDataSource which can be considered as a simple collection...
on Sep 21, 2009
Two Worlds Collide On the one hand, JavaFX's powerful scene-graph and animation engine enables gamer types to rapidly create dynamic visual scenes that are functionally expressed through binding and triggers and timelines. On the other, it's growing controls and charts libraries clearly stake out a more traditional GUI turf. As interfaces finally graduate to the 21st century, the lines between...
on Sep 10, 2009
Sun just released the first maintenance update for JavaFX 1.2. This release brings mostly a batch of important javafxc fixes, that I dissect in this blog... Java programmers are used to the fact that compilation of Java source code is a relatively straightforward process, because the Java language has a simple mapping to the Java bytecode. So javac is a trivial compiler, at least in the code...
on Sep 9, 2009
I was involved with development of a RCP application based on NetBeans platform and now I find few minutes to share some of the experience with you. All standard coding and best practices are applicable here. Use project management systems like Trac or any project management system that you know. Never start a project without a project management system. Use coding standard, unit testing, desing...
on Sep 4, 2009
Well, this is the second time I am using the new blogging platform of Java.net. This time it was much easier and with less hurdle. I want to write about JPA, performance, caching and related things. Though it wont be very well organized but it may come useful for new JPA developers. recently I have assigned a task to work on performance problems of a first tier application and further extend it...
on Sep 3, 2009
The refcard discuss the following items:  The BDB Family : An introduction to different DBD family members, including BDB Base Edition, BDB XML edition and BDB Java Edition with tables comparing their features. Key Features: Key features of BDB family members and BDB Java Edition exclusive features are explained here Introducing Berkeley DB Java Edition includin: Installation: How to...
on Sep 1, 2009
So I'm taking the chance of this event for my first blog post with the new Java.Net infrastructure. It sounds as there have been issues yesterday, but I was on a cultural/gastronomic tour in Val d'Orcia and I only worked with my netbook for writing down some offline documentation - and today it sounds as most of the problems have been fixed. Well, I suppose I'll know that when I push...
on Aug 25, 2009
Over at Pushing Pixels i have ran the series on adding animations to enable rich interactivity expected from modern SWT applications. The code is part of the Granite project which aims to provide blueprints for animated SWT applications powered by the Trident animation library, and the series has covered the following: Part 1 – adding simple animation behavior to such scenarios as component...
on Aug 11, 2009
I am thrilled today to announce the availability of the final release for version 1.0 of Trident animation library for Java applications (code-named Acumen).  Trident aims to simplify the development of rich animation effects in Java based UI applications, addressing both simple and complex scenarios – and you can read the available documentation in the project Wiki. The current published...
on Jul 14, 2009
This is the first in a series of articles to cover layout for JavaFX 1.2. We changed the api a bit (for the better of course), but that hasn't made it any easier to explain. However, if you're an impatient reader and want to cut to the chase, I recommend jumping to the tailing section Bounds in Practice. The visuals displayed within a JavaFX scene are fully represented by a 2D scene graph...
on Jul 9, 2009
Trident is an animation library for Java applications, and this week i’ve written about the concepts behind it and APIs available to interested applications: Part 1 – Hello world Part 2 – interpolating fields Part 3 – timeline life cycle Part 4 – duration fraction and timeline position Part 5 – supporting UI toolkits Part 6 – simple Swing / SWT examples Part 7 – parallel...
on Jun 26, 2009
Here is screenshot of the demo that was shown at this JavaOne. More advanced usage of JWebPane. Here we have fully functional web based widget representing Microsoft maps: Web widgets from this demo can be docked to the semitransparent panel at the bottom of the screen.
on Jun 16, 2009
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3872301-3"); pageTracker._trackPageview(); } catch(err) {} Picking up where I left off six (cough, cough) months ago, in my series on...
on Jun 11, 2009