[JAVA2D] Value to use for RenderingHints.KEY_TEXT_ANTIALIASING in a library

2007-04-15 Thread java2d
Hi I'm looking at how we support AA for text in the Flying Saucer library. Before Java 6 (we support back to 1.4 for the library), we found AA to be pretty slow, hence we had it turned off by default. I just turned it back on and found performance, at least with JDK 6, to be great--now my

Re: [JAVA2D] Value to use for RenderingHints.KEY_TEXT_ANTIALIASING in a library

2007-04-15 Thread Phil Race
AA text used to be very slow once upon a time but I think I sped it up mostly in 1.5 not 6 There could be other reasons why its 'faster' now. ie better detection that rendering involves readback from the surface (not specifically for text) which can be slow on AGP buses .. As for the best

[JAVA2D] Swing components + images based applications

2007-04-15 Thread java2d
I'm developing a game which is all BufferedImage based. I need to let the user to type his nickname then if I could use a JFormattedTextField over my images it would be good. But I dont know how to do this work. I tried it with partial success, because the text field appears and