Skip to main content

Blog Archive for evanx during May 2006

Introduction "People always said there were no monsters, no real ones... but there are." In his blog A Simple Framework for Desktop Applications John O'Conner summarised a JavaOne presentation by Hans Muller and Scott Violet vis-a-vis JSR 296. John reports that this framework would give some guidance to Swing developers, to avoid common bad practices. Such as Swing apps that only support English...
Introduction. "There is no problem that cannot be solved by the use of high explosives." Recently I was tasked with making an app translatable. It was a relatively small Swing app, e.g. 200 classes. That means moving strings, like exception messages, into a resource bundle. I had some fun with a phased approach, which I present here. Moving the strings "The best armor is staying out of gun-shot...
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...
Introduction In the preceding blogs "Java is all you'll ever need" and "A Fool's Errand" I alluded to using Java for "small tasks" eg. file/system tasks, rather than shell scripts. I promised to present some examples along these lines. This is Chapter 1 of many, and presents a basic design. We'll thrash it out in subsequent chapters. Motivation My motivation for trying to move away from shell...
A reader commented to my blog "Java is all you'll ever need" that "anyone thinking he needs only a single tool to do any job is a fool." That would be me. So lemme introduce you to this fool's errand... Of course we need more than one tool. But it depends what you define as a "tool." Every library is arguably a different tool. So then a programming language is a tool to write tools (libraries...
Now that Sun's big boys are trying to decide "how" to opensource Java (with the "why" worked out by Jonathan and Rich a long time ago I'm sure), it's time for the little boys like me to get excited about opensource licenses and what they mean. By the way, I suggested in an earlier blog "Swing trounces Ajax" that Sun will opensource Java to counter competitors (Microsoft, IBM and Red Hat) and...
As we know, Sun is relicensing JDK for inclusion in Linux distros. This is a fantastic development for Java. In this blog, I muse about GPL'ing Java as "GlassFishBowl" and rigorously protect the Java trademark, so that Java still means "Java" as in the JCP, TCK, JEE, et cetera. I posted a comment to this effect on Calvin's article "Java on Linux - the real story". By the way, I rattled on a...
In his blog, Damien Katz wrote on "Signs you are a crappy programmer, and don't know it." At the top of the list is "Java is all you'll ever need." Since i'm guilty of that, here is my response - why i choose not to add other languages to my toolbox. So you have some system task to do. This is where you jump into vi and hack together a bash, python or perl script to accomplish this task in...
Linux.com has a great series "My Desktop OS..." which is usually a Linux desktop. I thought i should do a tongue-in-cheek one "My Desktop OS: Windows XP" - to highlight some of my frustrations with the Linux desktop of late - multimedia to be specific. Which boils down to me being too lazy to bother about my own freedom. I'll follow this up with another article, "My Desktop OS: FreeDOS" ;) So...
Health warning: This is a long posting about "Swing versus everything else" and more. I'll split it up in coming weeks into Swing vs .Net, Swing vs SWT, Swing vs GNOME and KDE, Swing vs the Web 2.0, et al, so wait for those if you can, rather than read this bloated rant. If you do read this, note that italicised text is all off topic... Joshua Marinacci asked what's stopping people from...