harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1536) [classlib][swing] JOptionPane creates dialogs with double decorations if default look&feel is undecorated
Date Mon, 30 Oct 2006 07:22:56 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1536?page=all ]

Mikhail Loenko closed HARMONY-1536.
-----------------------------------


> [classlib][swing] JOptionPane creates dialogs with double decorations if default look&feel
is undecorated
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1536
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1536
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitry A. Durnev
>         Assigned To: Mikhail Loenko
>            Priority: Minor
>         Attachments: H1536-JOptionPane.patch
>
>
> If JDialog.isDefaultLookAndFeelDecorated() returns false(which is the default), JOptionPane
creates dialogs with both native
> (provided by the current window manager) & swing(provided by the current look&feel)
decorations.
> The following test:
> import javax.swing.JOptionPane;
> public class JOptionPaneTest {    
>     public static void main(String[] args) {
>         JOptionPane.showMessageDialog(null, "text", "title",
>                                       JOptionPane.OK_OPTION);
>     }
> }
> shows message box with "double decorations" on Harmony, while on RI message box has only
native decorations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message