Changeset 7524 in josm


Ignore:
Timestamp:
2014-09-11T16:00:49+02:00 (5 years ago)
Author:
Don-vip
Message:

see #10462 - add debug stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java

    r7025 r7524  
    1212import java.util.Map;
    1313
     14import javax.swing.JDialog;
     15import javax.swing.JFrame;
    1416import javax.swing.JOptionPane;
    1517import javax.swing.SwingUtilities;
     18import javax.swing.UIManager;
    1619
    1720import org.openstreetmap.josm.Main;
     
    5255            placeOnScreen(dialog);
    5356            dialog.setVisible(true);
     57            // Debug stuff for #10462
     58            if (Main.isDebugEnabled()) {
     59                Main.debug("#10462 - JDialog.isDefaultLookAndFeelDecorated: "+JDialog.isDefaultLookAndFeelDecorated());
     60                Main.debug("#10462 - JFrame.isDefaultLookAndFeelDecorated: "+JFrame.isDefaultLookAndFeelDecorated());
     61                Main.debug("#10462 - dialog.isUndecorated: "+dialog.isUndecorated());
     62                Main.debug("#10462 - LookAndFeel.getSupportsWindowDecorations: "+UIManager.getLookAndFeel().getSupportsWindowDecorations());
     63                Main.debug("#10462 - JRootPane.getWindowDecorationStyle: "+dialog.getRootPane().getWindowDecorationStyle());
     64                Main.debug("#10462 - Window.getIconImages: "+dialog.getIconImages());
     65                Main.debug("#10462 - Dialog.getTitle: "+dialog.getTitle());
     66            }
    5467            dialogs.put(id, dialog);
    5568        }
Note: See TracChangeset for help on using the changeset viewer.