X
Xiaolei Li
On my Mac OS X 10.3, I'm getting the following error on a drawString().
The code is drawing some text on a JPanel that is a part of a
JSplitPane.
"couldn't paint in Java_apple_awt_CTextPipe_doDrawString, no focused view"
This error doesn't occur on my Linux machine. I noticed that there is a
known Mac JDK bug somewhat similar to this (see below), but my error has
a noticeable effect on my application. I don't see the text being drawn
on screen unless I resize the window. Any help is much appreciated.
Q: Terminal/Console reports "Java couldn't paint in
Java_apple_awt_CRenderer_doRect, no focused view."
A: This is a known issue with Swing applications under 1.4.1 Update
1, as well as Java 1.4.1 on Panther. It specifically refers to a
failed paint call, but typically has no noticeable effect on
applications and can be safely ignored.
The code is drawing some text on a JPanel that is a part of a
JSplitPane.
"couldn't paint in Java_apple_awt_CTextPipe_doDrawString, no focused view"
This error doesn't occur on my Linux machine. I noticed that there is a
known Mac JDK bug somewhat similar to this (see below), but my error has
a noticeable effect on my application. I don't see the text being drawn
on screen unless I resize the window. Any help is much appreciated.
Q: Terminal/Console reports "Java couldn't paint in
Java_apple_awt_CRenderer_doRect, no focused view."
A: This is a known issue with Swing applications under 1.4.1 Update
1, as well as Java 1.4.1 on Panther. It specifically refers to a
failed paint call, but typically has no noticeable effect on
applications and can be safely ignored.