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

Welcome back to the Windows Look and Feel Show! In this segment we'll dive right into some of the bugs directly. In this series I won't cover all of the bugs because some of them involve structural changes that didn't directly fix visible bugs. For example, the XPStyle class was significantly changed by adding enum support. Enums let us more closely model Microsoft's UXTheme API and it's list of...
on Aug 31, 2006
This entry outlined the importance of scalable icons for the next-generation UIs and showed how SVG format can be used to achieve resolution-independent easily scalable icons. One thing that i haven't been able to find is a SVG file viewer / explorer that shows all SVG files in the current folder and allows scaling them. Inkscape file chooser provides the preview, but it's only for the selected...
on Aug 31, 2006
The release 3.0 of Substance look-and-feel (scheduled to be available on September 4th) features an easy way to skin your apps (which is made even easier in the next version) - using complex themes. Complex theme is based on four other (not necessarily simple) themes: Active theme - for controls in active visual state Default theme - for controls in default visual state Disabled theme - for...
on Aug 29, 2006
The recent blogs on closures have left me with a real sense of déjà vu. A few months after the JDK 1.0 released (over ten years ago), Microsoft proposed that the Java language be extended with type-safe method references, which they called delegates. The AWT team I was a part of liked this proposal and pushed for implementing it, as it fit well with the new GUI event model we were designing...
on Aug 25, 2006
Please check out my latest "Meet the Engineer" Q&A, Meet Tom Ball, Senior Staff Engineer at Sun Microsystems with java.net blogger, Tom Ball, who works on Java language tools. Tom goes way back: he joined the JDK team when the Java language was still called "Oak," created the first debugger API, and helped with the AWT for the 1.0 release. He currently works on the Jackpot Project, a...
on Aug 25, 2006
Swing was always known as a powerful, highly configurable UI toolkit. However, not much longer after it was born, it was also regarded as a slow, hard to learn, confusing, hard to program toolkit. Sun first started working on performance and Swing became faster and lighter - if you only knew how to code make a GUI with it. Designing some interfaces could take hours (or days) and since there are...
on Aug 25, 2006
Coming soon! Hard hitting, action packed, and full of effects you probably never asked for. It's Painters Extreme! Okay, so maybe making a Painter trailer isn't such a good idea. Why do they call them "trailers" anyway, if they come before the movie? Painters are a new technology for skinning your Swing GUI and it's going to let you do lots of cool things. Soon we'll be showing the new Painter...
on Aug 24, 2006
So you have probably wondered where I've been. It has been quite some time since my last post and I have been very lax in talking about what's going on. Well, the big news is that we are almost done with Java 6. Not really, of course, since there still emergency fixes that could go in, but we've hit our final build of main development. This means that my work is mostly complete for Java 6 and I...
on Aug 17, 2006
One of the first major overhauls i did for the next version of Substance was to ditch the inheritance from Metal and make all the delegates (and the main class itself) extend the Basic delegates. The main reason for this transition is the unnecessary overhead of Metal (parent) instantiation since Substance overrides pretty much every painting part for all components. thankfully, the painting...
on Aug 16, 2006
var urchinCalled; if (!urchinCalled) { _uacct = "UA-1223303-2"; urchinCalled = true; urchinTracker(); } I'm spending a few days in St. Petersburg, Russia, with some of our excellent engineers in AWT, Swing, and Java 2D. The situation in the picture below is quite common; a fruit seller will incarcerate the watermelons. It's not clear whether the jail is for punishment...
on Aug 8, 2006
After a long hiatus I'm returning to a series of blogs on architecting applications. This time around I'm covering a simple way to provide rich cut, copy and paste behavior in an application. As usual, for those wishing to cut to the chase, here's the app:
on Aug 7, 2006
I mentioned in my last entry that I have left Yahoo! and am now officially a Sun employee. After an all-too-short break between jobs, my first day with Sun was this past Monday, and it's been quite an experience so far. As with joining any big company, most of my first week was spent trying to get someone to actually set up my access badge and email account, figuring out how to access...
on Aug 4, 2006
Please check out the front page of java.sun.com for a "Meet the Engineer" Q&A, Meet Josh Marinacci of the Swing Toolkit Team at Sun Microsystems, I did with java.net blogger, Josh Marinacci. Josh has made news recently with the publication of O'Reilly's
on Aug 2, 2006
After my previous post about Scripting for end users, i've made the promise to explain how to create a script aware desktop application. I think it's a good counterpart of the basics described in Scripting for the Java Platform. So let me introduce a little OpenOffice Calc clone. The spreadsheet is composed of cells, each cell contains two objects : the source of the script and a compiled...
on Jul 31, 2006
Trolltech release a prototype of Qt for Java, called Qt Jambi. I know Qt from KDE, but i never use it. You should checkout the documentation, faq, and the Whitepaper. If you also want to try it, here is the download. I never try SWT, or such stuff like gnome java bindings, but today I have time to play around, and write about it. Qt Jambi is current available for Windows, Linux and Mac. So...
on Jul 29, 2006
First of all, before I hear one more comment that "scripting isn't new on the desktop" I want to say this: Yes, I know. In my last blog, I wasn't saying that scripting is new. I'm saying that the JSR 223 spec defines a standard framework and API...and that is new. And Java SE 6 implements that spec, and.... The reason for this blog is to alert you to changes in the spec that just bit me. Only...
on Jul 28, 2006
Note: The code snippets in this blog entry are intended to be used with Scott Violet's nifty Interactive Graphics Editor. Just cut and paste the code into that application, et voila: instant gratification. This allows you to tinker with the code and immediately see how your changes affect the rendering. In the first installment of my "Trickery" series, I demonstrated a technique for...
on Jul 27, 2006
Ethan Nicholas blogged recently on "Reinventing GridBagLayout", which enjoyed many comments regarding simplifying GBL, and problems with GBL. Karsten Lentzsch notes that "SpringLayout is very powerful, ExplicitLayout is powerful, FormLayout is quite powerful, HIGLayout is quite powerful, GBL is weak." He compares layout managers at the end of his Forms whitepaper. We hear that Netbean's...
on Jul 27, 2006
I've ranted a little about scripting languages in the past, and although I still twinge at the name "Groovy", I'm beginning to recognize the utility of scripting in the Java platform. I even think desktop applications can benefit the most from a scripting environment. What benefit? For starters, not everyone knows the Java language. Yeah, it's sad but true. Some developers are still hanging on to...
on Jul 26, 2006
I'm sure you're all sick of reading my blogs at this point, because each time I state definitively that the OpenGL-based Java 2D pipeline is "now better than ever," only to follow it up a couple months later with a blog that says, "no really, this time it's even better," and so on. It reminds me of a nearby store called "Cheaper Then Cheaper Cigarettes" [sic]; can you really improve on "cheaper...
on Jul 21, 2006