Ignore:
Timestamp:
2007-06-30T22:01:02+02:00 (17 years ago)
Author:
imi
Message:
  • added and fixed some tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/gui/dialogs/HistoryDialog.java

    r203 r267  
    7272                }
    7373        };
     74
    7475        /**
    7576         * Main table. 3 columns:
     
    8081
    8182        private Map<OsmPrimitive, List<HistoryItem>> cache = new HashMap<OsmPrimitive, List<HistoryItem>>();
    82         private JLabel notLoaded = new JLabel("<html><i><p align=\"center\">"+tr("Click Reload to refresh list")+"</p></i></html>");
     83        private JLabel notLoaded = new JLabel("<html><i>"+tr("Click Reload to refresh list")+"</i></html>");
    8384        private JButton reloadButton = new JButton(tr("Reload"), ImageProvider.get("dialogs/refresh"));
    8485        private JButton revertButton = new JButton(tr("Revert"), ImageProvider.get("dialogs/revert"));
     
    8889                historyPane.setVisible(false);
    8990                notLoaded.setVisible(true);
     91                notLoaded.setHorizontalAlignment(JLabel.CENTER);
    9092
    9193                history.setDefaultRenderer(Object.class, new DefaultTableCellRenderer(){
     
    131133                reloadButton.setToolTipText(tr("Reload all currently selected objects and refresh the list."));
    132134                reloadButton.putClientProperty("help", "Dialog/History/Reload");
     135               
    133136                revertButton.addActionListener(new ActionListener(){
    134137                        public void actionPerformed(ActionEvent e) {
Note: See TracChangeset for help on using the changeset viewer.