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

The latest addition to one of the Substance plugins (watermark pack) provides a playground to experiment with fractal-based artwork. Much like the noise-based watermarks, you can play with the API to create your own (and sometimes stunningly beautiful) watermarks. The code is loosely based on the ideas from the flam3 site (see this PDF for some math). Feel free to explore some of the code right...
on Jun 21, 2006
This is the fifth part of the series that describes the additional capabilities that you can get on your tabbed panes. The first part described close buttons and animation on modified tabs The second part described vetoable close buttons and vertical tabs. The third part described single-click close of multiple tabs and custom alignment of tab texts on left and right placement. The fourth...
on Jun 20, 2006
I'm on vacation with my family right now. Vacation time is pretty hard for me to come by -- one of the dangers of being "essential" is that nobody wants to let you leave -- so this is a noteworthy event, made possible only by the fact that I agreed to bring my cell phone and work laptop, ensure the availability of Internet access at my destination, and remain reachable twenty-four hours a day....
on Jun 20, 2006
As part of brain storming on future ideas one of the visual designers did a mockup of NetBeans that included a more modern looking heap view. I was rather taken by it and decided to do an implementation, hence this blog. I had to cut a few corners, and features, to avoid the view consuming too much memory. As usual, for those that don't have the stomach to wade through a blog the following shows...
on Jun 19, 2006
What's the problem? In Java™ 2 SE 5.0 and previous releases a single method in java.awt.Frame class enables developers to specify an icon for the frame: setIconImage(Image image). This image had an arbitrary size and it was scaled to represent frame's icon in a different locations. Let's assume that application is running on Windows platform. Icon that was set to the frame is used in...
on Jun 16, 2006
Prequels "When you think of things, you find sometimes that a Thing which seemed very Thingish inside you is quite different when it gets out into the open and has other people looking at it." Winnie the Pooh In Turn Tables we introduced an "explicit properties" approach, where the property descriptors are absorbed into our TableColumn objects, which are declared in our custom TableModel. In...
on Jun 15, 2006
var urchinCalled; if (!urchinCalled) { _uacct = "UA-1223303-2"; urchinCalled = true; urchinTracker(); } Unlike my previous deployment posting, this is no joke. Instead, this is a simple deref to an article that has just been posted on java.sun.com: Auto-Install: Easier Launching of Java Web Start Applications. We wrote this after Thomas Ng and I were playing around...
on Jun 13, 2006
(For an introduction to JAXX, start here.) First things first: JAXX 1.0.1 is finally out. This version contains a lot of bugfixes and significant improvements to the quality and size of the generated Java code. Download it here. Now that the major 1.0 bugs are fixed and a solid baseline has been established, I'm making plans for the future. Where is JAXX headed? What's next? I've posted a...
on Jun 12, 2006
Swing's mnemonic system is based around two properties: mnemonic (or displayedMnemonic) and displayedMnemonicIndex. They're powerful enough to do everything you need, but then again, so is machine code. There are a number of problems and limitations with the skeletal mnemonic support built in to Swing. The Problems They're annoying to define - One common approach is to use a properties file to...
on Jun 5, 2006
Ever needed a faster, slicker way to let your users select a color in Swing? I just set up a new java.net project, which produces just such a widget. Press the mouse and a palette pops up; drag over the palette and release when the color is right; use combinations of ctrl/alt/shift to switch palettes (palettes are pluggable if you want to write your own). The widget is the Quick Color...
on Jun 5, 2006
var urchinCalled; if (!urchinCalled) { _uacct = "UA-1223303-2"; urchinCalled = true; urchinTracker(); } I posted a joke some months ago, Two Items Walk Into a Toolbar that got a surprisingly high number of hits. It's not clear why this single blog post attracted so much readership, but the likely candidates are...
on Jun 5, 2006
After a week with two blog entrys about JavaBeans (first and secound), here my two cents about... The other day, I was developing a little application which should show some date information. First, I displayed the data only in a table, but the idea suggests itself to show it in a calendar. In a calendar like my prefered calendar iCal, and its month view. Next I ask myself if I'm able to create...
on Jun 4, 2006
My friend Richard Bair recently told the world that the colloquial definition of JavaBeans as an object with getters and setters is incomplete, and demonstrated how a handy base class can make adding PropertyChangeListener support easier. I'd like to pick up where his discussion left off. Over the past few years, I've been pondering how to make it easier to develop Swing applications. One area of...
on Jun 1, 2006
Scott Delap (of ClientJava.com fame) just sent me a gem of an article: a Washington Post blogger complaining about how hard it is to update Java. I have blogged previously about deployment issues, and it remains my single biggest complaint about the Java platform. So here it is from another perspective, a highly detailed and thoroughly sordid look at Java on the client side. The results aren't...
on May 26, 2006
Introduction Scott Violet's blog "Ease of Swing Development - Beans Binding" introduces JSR 295, which aims to provide a standardised API for binding GUI components to beans, yay! In an earlier blog, I wished for "Explicit Reflection" of fields and methods, for "stringless referencing." I should amend that to include properties, in addition to fields and methods, for the purposes of bean binding...
on May 25, 2006
A few weeks ago i posted a question on JavaLobby about the additional "feel" features that i have been adding to Substance and what people think about the extra "weight" of the download and the lock-in for applications that would like to use these features. When i say lock-in, i mean that these features were only available under Substance, which is good for me on one hand, but bad for the...
on May 25, 2006
Designing desktop applications can be tricky. Threading, resource management, launching, shut down...there are a lot of things to think about. Nothing akin to rocket science, but lots of things can go wrong, and do. A desktop framework would bring much needed consistency to the task, providing structure and encouraging adoption of best practices for application design. At the JavaOne conference...
on May 24, 2006
Substance look-and-feel is pleased to announce the release of version 2.3 (Firenze). The list of new features includes: Full RTL support Generic animation tracker for animating most of the state transitions of buttons, toggle buttons, check boxes and radio buttons (including changes via calls to API) The animation is configurable (none, slow, regular, fast) Color themes support for better dark...
on May 21, 2006
Tuesday morning this week, I was seated in the vast Moscone keynote cavern, with 15,000 other Java developers, taking in the start of another JavaOne conference. The keynotes and demos were entertaining and I hope you didn't miss the HUGE Swing Aerith demo at the conclusion of the morning. Sadly I did, although I've seen quite a lot of it over last few weeks. I had to dart out early, because...
on May 19, 2006
(If you have no idea what JAXX is, take a look at Introducing JAXX) I'm usually pretty good about hitting deadlines, but this one was really close. My JavaOne session (TS-4265 User Interfaces in XML: The JAXX Framework) is on Thursday, and I had planned since the very beginning to have JAXX 1.0 out by then, preferably a few weeks prior. Since it is now the day before my presentation and I am...
on May 17, 2006