[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/24937] New: Graphics.drawString misfunction

From: roman at kennke dot org
Subject: [Bug awt/24937] New: Graphics.drawString misfunction
Date: 18 Nov 2005 22:24:45 -0000

drawString() should not actually draw newlines in the strings but instead skip
them. Run the attached testcase with Sun's JDK and you'll see:

Hello World

whereas we print:


(On a side note, fixing this will certainly break JOptionPane and probably
other areas where we make use of this misbehaviour for printing 'formatted'

           Summary: Graphics.drawString misfunction
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: langel at redhat dot com
        ReportedBy: roman at kennke dot org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]