Ignore:
Timestamp:
2014-09-12T01:04:39+02:00 (12 years ago)
Author:
Don-vip
Message:

fix #10462 - Include object type and id in history for undecorated windows

File:
1 edited

Legend:

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

    r7527 r7528  
    1212import java.util.Map;
    1313
    14 import javax.swing.JDialog;
    15 import javax.swing.JFrame;
    1614import javax.swing.JOptionPane;
    1715import javax.swing.SwingUtilities;
    18 import javax.swing.UIManager;
    1916
    2017import org.openstreetmap.josm.Main;
     
    7067            placeOnScreen(dialog);
    7168            dialog.setVisible(true);
    72             // Debug stuff for #10462
    73             if (Main.isDebugEnabled()) {
    74                 Main.debug("#10462 - JDialog.isDefaultLookAndFeelDecorated: "+JDialog.isDefaultLookAndFeelDecorated());
    75                 Main.debug("#10462 - JFrame.isDefaultLookAndFeelDecorated: "+JFrame.isDefaultLookAndFeelDecorated());
    76                 Main.debug("#10462 - dialog.isUndecorated: "+dialog.isUndecorated());
    77                 Main.debug("#10462 - UIManager.getLookAndFeel: "+UIManager.getLookAndFeel());
    78                 Main.debug("#10462 - LookAndFeel.getSupportsWindowDecorations: "+UIManager.getLookAndFeel().getSupportsWindowDecorations());
    79                 Main.debug("#10462 - JRootPane.getWindowDecorationStyle: "+dialog.getRootPane().getWindowDecorationStyle());
    80                 Main.debug("#10462 - Window.getIconImages: "+dialog.getIconImages());
    81                 Main.debug("#10462 - Dialog.getTitle: "+dialog.getTitle());
    82                 Main.debug("#10462 - Dialog.getInsets: "+dialog.getInsets());
    83             }
    8469            dialogs.put(id, dialog);
    8570        }
Note: See TracChangeset for help on using the changeset viewer.