You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Loenko (JIRA)" <ji...@apache.org> on 2006/10/30 08:22:56 UTC
[jira] Closed: (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=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