Re: character issues in read-only JTextArea



On Sat, 21 Jun 2008 04:54:20 -0700 (PDT), ameyas7
<amey.samant@xxxxxxxxx> wrote, quoted or indirectly quoted someone who
said :

has anybody experienced this behavior before and how to resolve it.
thanks.

1. Sometimes such problems are caused by defective metrics in the
font. Try a different font.

2. Try displayArea.setMargin( new Insets( 3, 3, 3, 3 ) ); It is a hack
but it might work.

3. It might even be a bug in your video driver. Try running your code
on a different machine.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Re: Physical and logical fonts
    ... long as you're updating your font page anyway, ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)
  • Re: NEED A FONT
    ... I got nothing on Google. ... I think you will have to find a font that ... Canadian Mind Products, Roedy Green. ... Coaching, problem solving, economical contract programming. ...
    (comp.lang.java.programmer)
  • Re: Fonts
    ... PLAIN, 8 size) it looks bad on screen using graphics.drawString...in ... I open MS Word and this font looks ok on the ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.gui)
  • Re: Suggested Newbie project, FontShower
    ... > * An applet that lets you choose the font family, size, style ... background color and displays a message in the selected ... Canadian Mind Products, Roedy Green. ...
    (comp.lang.java.help)
  • Language Lawyer Question on final
    ... private static final Font font; ... Why does Javac complain that font is declared final? ... Canadian Mind Products, Roedy Green. ... Coaching, problem solving, economical contract programming. ...
    (comp.lang.java.programmer)