Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
More anti-aliasing puzzles
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Roedy Green, post: 621427"] In my latest version I too override paintComponent. Observations: my code works on XP but not Win2K (or at least on my machine) Your code works fine on my machine. I now have to track down what you did differently from me. It have discovered it is not that you also overrode your JPanel paintComponent. It is not that I used g2d.setRenderingHint( RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY ); It is not that you used a JTextField and I used a JTextArea. it is not that I setEditable( false ); It is not that I was using -target 1.3 It is not that I was using KEY_TEXT_ANTIALIASING where you were using KEY_ANTIALIASING. Finally, I discovered the problem. \u0e3f in a JTextArea inhibits antialiasing. ditto \ufdfc. \u0e3F is a Thai Baht currency sign like a capital B with a line through it. \ufdfc is the Yemini Rial currency sign. It looks like Arabic script. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
More anti-aliasing puzzles
Top