Re: [Java-gnome-developer] swing support
Brought to you by:
afcowie
From: Niko S. <nik...@gm...> - 2001-12-06 20:58:47
|
Am Donnerstag 06 Dezember 2001 20:18 schrieben Sie: > I believe the slow performance on swing has little to > do with the AWT implementation. It is my belief that it > has to do with the fact that the widgets are rendering > themselves and bypassing the native rendering facilities > of the operating system. AWT typically performs quite > well. Well, its not so easy. Stefan Mathias Aust once explained the mechanism very well in de.comp.lang.java. I myself don't know too much about it, but if it would help to convince you to make an implementation without peers drawing on gnome windows, then I'd translate it for you on the weekend (whow, if your German is perfect please tell me ;) To be honest: I don't understand much about design, but I like the swing API, but swing currently is unbearably slow, and if this effort might help it, I would like to see a fast swing implementation. And, you have to admit, the thought is tempting: a class that binds the possibilities of Graphics2D to the gdk, and all you need to do is calling the Widget's paintComponent method. no big deal, but you win the full java 2d power for gnome. wouldnt that be fun? regards, nick |