This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • 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!