Oh boy, can you believe that I thought up the title for this entry before even starting the work required to be able to write it? What kind of sick and twisted form of narcissism is that? That’s ok, java2d extracted a heavy toll for my sins.
I literally sat down with the previous article about google rounded corners and set out to initially duplicate those features. Check.
That was pretty easy. Not totally straightforward but how wrong can you go with?:
Arc2D.Float shape = new Arc2D.Float(x,y, width, height, startAngle, extents, type);g2.fill(shape);
So there is that, and it’s of course available to all Tapestry users by dropping in the tapestry-contrib.jar on their classpath. It even uses the same parameter names / url style as googles services.
(i hope they aren’t mad at me about that)
After sending what I hoped was a very pitiful email the java2d kung fu master himself pointed me down the right path for drop shadow rendering - speaking of course about Romain Guy.
Now things are getting a lot more interesting / useful. I’ve played and played and imagine I could spend months on this particular aspect as nothing every feels quite right (except for Romain’s excellent drop shadow effects) , but here it is anyways..
Hello, I’m a little shadow.
There are of course more possibilities, if for some reason you needed them.
That’s about it for now. Still lots of work left to do but things are working out well so far. You can see a new and improved demo of them in use in the TimeTracker demo application.
Latest Entries
- updated foxylicious extension for Firefox 3
- how to fix butt ugly ubuntu hardy heron fonts
- Where are our java leader’s opinions on closures?
- Tapestry 4.1.5 Released && various Tacos project releases (like Seam / jQuery support)
- painting by numbers, or how html cowards hide behind CSS
- Rails component envy
- OGNL 2.7.2 Released
- news flash - Swing is a terrible API to emulate in web development
- hip hop is neat
- good closures, bad closures

Apr 24th, 2007 at 1:02 am
Nice! I’m glad you released this. This is way easier than fiddling with Photoshop & co.
Apr 25th, 2007 at 6:40 am
Hehe.. Yes - it certainly is. Google had a good idea, thanks for making it a lot easier.