You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Dmitry A. Durnev (JIRA)" <ji...@apache.org> on 2006/10/24 13:25:18 UTC

[jira] Commented: (HARMONY-1536) [classlib][swing] JOptionPane creates dialogs with double decorations if default look&feel is undecorated

    [ http://issues.apache.org/jira/browse/HARMONY-1536?page=comments#action_12444286 ] 
            
Dmitry A. Durnev commented on HARMONY-1536:
-------------------------------------------

Checked - It's OK now.

> [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