harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5520) [tools][appletviewer] appletviewer doesn't change the size of initial frame if it was resized by applet
Date Fri, 15 Feb 2008 21:58:09 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Zakharov resolved HARMONY-5520.
--------------------------------------

    Resolution: Fixed

Fix was committed at r 628180.

> [tools][appletviewer] appletviewer doesn't change the size of initial frame if it was
resized by applet
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5520
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5520
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, JDK
>         Environment: all
>            Reporter: Alexei Zakharov
>            Assignee: Alexei Zakharov
>
> The current implementation of appletviewer  is unable to correctly change the size of
the main frame if it was resized by applet's code. Please see the example below.
> MyFrame.java
> ---
> import java.awt.*;
> import java.applet.Applet;
> public class MyFrame extends Applet {
>     public void init() {
>         setSize(600, 600);
>     }
>     public void paint(Graphics g) {
>         g.clearRect(0, 0, 400, 400);
>         g.setColor(Color.BLUE);
>         g.drawRect(10, 60, 350, 350);
>         g.drawString("Mama", 80, 80);
>     }
> }
> ---
> You can observe this bug if you try to run the Clock demo applet from RI 1.5 distribution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message