• Post Reply Bookmark Topic Watch Topic
  • New Topic

Antialiasing and JButton  RSS feed

 
C�dric Yhuel
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've extended JButton in order to add antialiasing to the button text. However, the buttons are now displayed with an incorrect size (too small), so the text displayed is clipped.
If i comment the renderingHint line, it all works fine.

I'm using JDK 1.3




Thank you for your help.

cedric
 
C�dric Yhuel
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hang on.. if i switch to JDK 1.4, it all works fine..

Anybody has an idea for a workaround in JDK 1.3
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!