Author: jflesch
Date: 2007-03-14 12:10:42 +0000 (Wed, 14 Mar 2007)
New Revision: 12115

Modified:
   trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java
Log:
Modify a little bit the PeerMonitor behavior : At startup, display the node 
informations

Modified: trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java  
2007-03-14 12:05:46 UTC (rev 12114)
+++ trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java  
2007-03-14 12:10:42 UTC (rev 12115)
@@ -263,6 +263,10 @@
        }

        public synchronized void setNodeInfos(Hashtable infos) {
+               if (nodeInfos == null) { /* first time */
+                       
displayInfos(I18n.getMessage("thaw.plugin.peerMonitor.nodeInfos"), infos);
+               }
+
                nodeInfos = infos;
        }

@@ -411,7 +415,6 @@
        }


-
        public void valueChanged(ListSelectionEvent e) {
                if (e.getFirstIndex() == 0) {
                        
displayInfos(I18n.getMessage("thaw.plugin.peerMonitor.nodeInfos"), nodeInfos);


Reply via email to