-
JAXB and ObservableList
If you don’t customize your schemas with JAXB, your generated classes will not handle correctly the list in your UI (using beans binding functionnality). If you have lists in your xml, you’ll probably handle them with Jtable or JList in your UI. Modifications of objects (from…
-
More on JAXB plugin
I’ve been talking about Java beans binding with JAXB on my old post. But trying it on my professionnal project, I’ve not been able to make it work. I encountered the following error :unrecognized parameter -Xinject-prop-listeners. So I used another plugin, a mod of the original…
-
Back from vacation and to the business
It’s a while since my last post (July). I’ve been on vacation on August and due to a new objective and the deadline of my project, I didn’t have much time to share more on the blog. However, I’ve been using Java…
-
JTable row highlighting and Decorator design pattern
I’ve been looking a moment to find how add row highlighting on JTables. To modify the behaviour of the cell rendering, you’ll have to set a new CellRenderer to JTable for each data types you want to show in the table. The way I use is…
-
Design Patterns Quick Reference (and others)
Ever wanted a poster of Design Patterns ? Here is one for free on Jason McDonald’s blog. You can also find many useful poster or "Refcardz" on dzone.com. The Design Patterns one is also made by Jason. ou’ll find others on Java, Netbeans, eclipse or others.…
-
Hudson blue ball
The Hudson choice of a blue ball for successful build isn’t a classic choice. You’d prefer a class green ball (like traffic light) : just use green ball plugin ! To have a list of Hudson plugin, just visit the hudson wiki.…
-
hudson and Serena Dimensions : easy integration
Though there is a Hudson plugin for PVCS, there’s none for Serena Dimensions. I searched how to use Hudson and Dimensions together but didn’t find a,ything on Internet. So here’s the solution I use. Fortunaltely, there’s a quick and easy way…
-
Swing or SWT
When programming GUI with Java, the question of the choice between Swing and SWT . My personal choice is Swing, first af all because I use it for a while. For example, I worked on a simple application in 2003 to created thumbnails images for original (a web photo gallery) written…
-
Reusable Ant build file
Hello, I’m back from some vacations. The topic I want to discuss this time is the use of ant build files. I don’t like the build files generated by netbeans. Why ? Working in a professional environment, you have to master all your building chain : know what…
-
XML binding with JAXB 3/3 : plugins
Once you’ll have been working with JAXB basis, you’ll want to enhance what your doing. For example, in my case, I want to bind my datas with a GUI. For that, I’ll need to use beans binding (JSR 295) with netbeans. You can begin…