There is a little gem in Swinglabs. If you know the Swinglabs project you may already know what I’m talking about: the Painter API. There have been some articles on painters, showing us mere mortals how it is easy to create those glossy gradients.
Last month, Joshua Marinacci has blogged about these painters and let us in the dark with a “Hint: everything below was made without any code. Enjoy!” Without any code? Well there must a very cool editor or IDE plugin under this enigma. So when are these tools coming? From his last blog entries, he has been a little busy with a Java 5 update and meetings.
Being a committer on the SwingX project, I’ve been monitoring recent commits around the Painter API and it is likely to be the case. Recent commits include a property sheet implementation, a really good looking gradient editor and various beaninfos. An editor is coming, I can smell it
I’ll go back to this after the break…
paintrhelpr, a painter helper
Andrew Chase said on Tuesday, September 19, 2006, 18:41
That’s an interesting combination of Eclipse and Netbeans that you’ve settled upon. I had much the same experience as you, enjoying Eclipse for writing code and Netbeans mainly for Matisse. I found Netbeans too cumbersome on many other tasks.
Quick question, I was wondering if you used a library for adding the html-like links in the buttom of paintrhelpr? Would you mind showing a code snippet that sets up those buttons? Seems like it should be fairly simple, but I didn’t see any examples of how to do it online…
Thanks,
Andrew
fred said on Thursday, September 21, 2006, 8:17
The link buttons are coming from the SwingX library (swingx.dev.java.net), look for the JXHyperlink - it’s a subclass of JButton, very easy to use.
I’ll post the source code of the app either tomorrow or on early next week.
-fred
Dhilshuk Reddy said on Thursday, September 21, 2006, 9:59
You have done good work.
Currently iam doing a project using Java Swing and SwingX API.I need your help regarding painters .Please help me with a demo code.
fred said on Thursday, September 21, 2006, 20:17
Make sure to post your questions to the Swinglabs forum: http://forums.java.net/jive/forum.jspa?forumID=73
C.Koc said on Saturday, September 23, 2006, 23:39
Fred thanks for everything.
Actually i wonder a lot of things for your application.
1 - Your Editor ( JTable ? ) is seems wonderful, is it a generic model or smt else?
2 - And Xml part of the application is also seems very well.
3 - Is is possible to share your source code with us.
{ forgive me for my english, i am not native speaker
}