-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
rc1
-
sparc
-
solaris_8
-
Verified
Name: mt13159 Date: 10/17/2001
This is specific to sunray client only, and does not reproduce
on Windows.
Steps to reproduce:
-------------------
[1] Login to http://dnm-005.eng.sun.com:8000/OA_HTML/merlin.html
[2] Connect as operations/welcome
[3] Select General Ledger, Vision Operations(USA) responsibility.
[4] Select Setup->Journal->Sources
[5] Verify column headings(Import Journal References, Freeze Journals
and Require Journal Approval) do not have an indicator to their
respective columns.
Without an indicator it will be confusing to the users to use a column
Basically this is happening because of method drawRoundRect of class
java.awt.Graphics. Below is a testcase which will demonstrate the problem.
On windows this will show 3 lines where as in sunray/sun w/s it will show
only 2 lines.
----------- testcase.java starts -------------------
import java.awt.*;
public class testcase
{
public testcase()
{
Frame f = new Frame();
Panel p = new Panel();
Canvas c = new mycanvas();
c.setSize(300,300);
p.add(c);
f.add(p);
f.setSize(400,400);
f.setVisible(true);
}
class mycanvas extends Canvas
{
public void paint(Graphics g)
{
g.setColor(Color.red);
g.drawString("drawRoundRect with 0 height", 0,50);
g.drawRoundRect(170, 50, 200, 0, 8, 8);
g.drawString("drawRect with 0 height", 0,80);
g.drawRect(170, 80, 200, 0);
g.drawString("drawLine ->", 30,200);
g.drawLine(100,200,200,300);
}
}
public static void main(String[] args)
{
new testcase();
}
}
----------- testcase.java ends ------------------
(Review ID: 133602)
======================================================================
Fixed in merlin-rc1 on solaris 2.8
###@###.### 2001-12-19