Skip to main content

Blog Archive for evanx during January 2007

Having defined style objects in the Hyper Style prequel, we build an "HTML builder" to generate HTML/CSS. HTML Builder: A part of the "Hyper Beans" part of a trilogy in 42 parts" public class QHyperArticleHtmlBuilder extends QHtmlBuilder {    QStyle anchorStyle = createStyle("anchorStyle", a);    QStyle sectionStyle = createStyle("sectionStyle...
Do you use Google Reader? But why not?! ;)
Ben Galbraith made the following great point in his recent blog entry in praise of intelligent tools such as IDEA. Maybe it's because I hope to sell software someday, maybe because I know how hard it is to write good software, but for whatever reason, I actually like supporting great ISVs by buying their product. I spend thousands of dollars on ISV products each year because I feel its the right...
We use CGLIB to enhance a half-baked Java Bean with no firePropertyChange() invocations in its setters, into a bean that does fire PropertyChangeEvent's from its setters. Gooey Bean Aspect, a tale of inner discovery, A part of "Gooey Beans, a trilogy in 42 parts" Our QBeanInterceptor registers the PropertyDescriptor's setters methods into a setterMap. public class QBeanInterceptor extends...
This "Jelly Beans" series deals with data entities, as required for the "Gooey Beans" series' demos. Together with "Hyper Beans", i'm calling them the "Foundation Trilogy" :) And yes, it's a scifi/fantasy trilogy in 42 parts, essentially about writing database applications using Swing. So we create our "database" as an in-memory-only object graph, which is populated with test data when we startup...
Here are some problems and possible solutions (today) relating to bean properties. Getters and Setters Problem. We don't wanna write lots of getters and setters, or see them. Solution. We use our IDE to generate them. Wishlist. Maybe we wanna fold basic getters and setters right out of view en masse. Another Wishlist. People wanna see the introduction of property keywords e.g. property,...
As Richard Bair points out we really need a way to get a PropertyDescriptor easily, i.e. meta data and support for bean properties. For example, we wanna reference bean properties for beans binding in a safe and auto-completable way, as discussed in Gooey Beans Info. Since hash (#) already denotes fields and methods in the javadoc notation, I reckon hash might be used to get fields and methods,...
Before someone tags me (and then i have to find five others who haven't been tagged yet, which will require some effort on my part), and in case someone doesn't ;) Here goes me taking the fifth... It's on CVS here cos i like to use an editor to edit stuff eg. Netbeans, and right-click to commit, images and all.