-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
x86
-
windows_2000
Name: krC82822 Date: 03/07/2001
C:\WINDOWS>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
I am trying to rotate text on Win ME. I created a frame & added to it a JPanel
with bounds (0,0,50,200). I overrode the JPanel's paintComponent as follows:
public void paintComponent (Graphics g) {
Graphics2D g2D = (Graphics2D)g;
g2D.translate(0,getHeight());
g2D.rotate(-Math.PI/2); // vertical rotation
g2D.drawString("Nasser",2,20);
}
This code works fine on Win 2K, NT, 98.
On Win ME, it only shows the 1st character rotated (N).
--------------
7 Mar 2001, user email:
I installed the latest version of DirectX (version 8.0) on Win ME & still
got the same problem. I even disabled the DirectDraw from System
Information - DirectX Diagnostic tool with no luck. As of the graphic
configuration of the system, there is no special settings that I am aware
of. By the way, I tested the same code on different machines running Win ME
& I got the same problem.
(Review ID: 118087)
======================================================================
- duplicates
-
JDK-4400064 Rotated text is not rendered correctly on WindowsME
-
- Closed
-