When you need to produce lots of fairly straightforward graphs, Java2D is your friend. In this blog, I show you how you can render simple images as crisp-looking PDF or EPS files, provided you can draw them on a Graphics2D object.
Recently, I had to draw a bunch of simple images, such as this one
or this PDF
Of course, you can do these drawings in Illustrator or Inkscape. But if you are a coder...
on Oct 8, 2009
When I started the mavenization of my projects, in July, I really didn't
figure out that it would have been such a painful and long process. It
is literally consuming me - also because I'm longing to see the end of
the conversion, so I can resume the development.
The first mavenized projects, BetterBeansBinding,
were reasonably easy, also considering that I had to...
on Sep 25, 2009
If you are reading this blog it means you want to use JasperReport with dynamically programmatically generated images. An example of such use cases in generating complex charts using JFreeChart and then including these charts into reports.
Each report in JasperReport uses a datasource to populate the fields, we need to use JRBeanCollectionDataSource which can be considered as a simple collection...
on Sep 21, 2009
The refcard discuss the following items:
The BDB Family : An introduction to different DBD family members, including BDB Base Edition, BDB XML edition and BDB Java Edition with tables comparing their features.
Key Features: Key features of BDB family members and BDB Java Edition exclusive features are explained here
Introducing Berkeley DB Java Edition includin:
Installation: How to...
on Sep 1, 2009
Java Power Tools Bootcamp sessions are coming up fast in Sydney and Wellington - come see what the buzz is about! For those in Europe, sessions are scheduled for Paris and London and in February next year.
The Java Power Tools bootcamps provide a great way to give your Java development a boost and introduce some kick-ass tools, techniques and tricks into your daily development routine.
on Sep 14, 2009
A new Java Power Tools Newsletter is out! In this issue, we study the theory and practice of Mock Objects, including the subtle differences between mocks and stubs, and a simple case study using Mockito, the new kid on the block of Mock Objects frameworks for Java. Check it out!
on Sep 13, 2009
I am absolutely thrilled to anounce that I will be talking at the Canberra JUG meeting next week (on Wednesday, September 9, to be exact), about BDD in general, and Easyb and JDave in particular:
Behaviour-Driven Development, or BDD, is an excellent development strategy that can help bridge the traditional gap between requirements and implementation. This talk will go discuss the basic...
on Sep 2, 2009
I'll be leaving the bay area on Monday to give a talk about Hudson in JavaZone 2009. The talk will include both the general introduction of Hudson, as well as some of the advanced topics. Europe has a lot of Hudson adoptions (possibly better than in the U.S.), so I'm hoping to meet with many of Hudson users and developers there.
I'll be back next Friday. I was hoping to take a few days off in...
on Sep 4, 2009
Bonjour, Comment Java?
This coming Thursday(08/27/09) 'll be at GooglePlex (Mountain View) for an Eclipse Day...The entire genda is at http://wiki.eclipse.org/Eclipse_Day_At_Googleplex_2009.
2 presos seem to be very interesting so far:
OSGi for Eclipse Developers
Deploying Successful Entreprise Tools
and possibly others...The Google crowd is impressive.
There is a waiting list for people who...
on Aug 24, 2009
Tony Epple posted Simplest possible Drag&Drop implementation for Visual Library:
Two days ago I blogged about how to create a new ExplorerView by Combining ListView and ChoiceView. Today I'll show you how to use this view as a palette for a Visual Library scene. It's very simple, AbstractNodes already implement everything needed for this. In the NestedListView -as in any ListView- dragging...
on Aug 28, 2009