[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/gui/main/

yanas at dev.java.net yanas at dev.java.net
Thu Apr 26 23:35:37 CEST 2007


User: yanas   
Date: 2007-04-26 21:35:37+0000
Removed:
   sip-communicator/src/net/java/sip/communicator/impl/gui/main/CommunicatorMain.java

Modified:
   sip-communicator/src/net/java/sip/communicator/impl/gui/main/MainFrame.java

Log:
 a method was created which is charged with the gui loading

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/gui/main/
=========================================================================

File [removed]: CommunicatorMain.java

File [changed]: MainFrame.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/gui/main/MainFrame.java?r1=1.95&r2=1.96
Delta lines:  +6 -2
-------------------
--- MainFrame.java	2007-04-17 14:07:52+0000	1.95
+++ MainFrame.java	2007-04-26 21:35:34+0000	1.96
@@ -18,6 +18,7 @@
 import net.java.sip.communicator.impl.gui.*;
 import net.java.sip.communicator.impl.gui.customcontrols.*;
 import net.java.sip.communicator.impl.gui.i18n.*;
+import net.java.sip.communicator.impl.gui.lookandfeel.*;
 import net.java.sip.communicator.impl.gui.main.call.*;
 import net.java.sip.communicator.impl.gui.main.chat.*;
 import net.java.sip.communicator.impl.gui.main.chat.conference.*;
@@ -100,7 +101,6 @@
         
         this.addWindowListener(new MainFrameWindowAdapter());
 
-        //this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
         this.setInitialBounds();
 
         this.setTitle(Messages.getI18NString("sipCommunicator").getText());
@@ -108,6 +108,10 @@
         this.setIconImage(
             ImageLoader.getImage(ImageLoader.SIP_COMMUNICATOR_LOGO));
 
+        // In order to have the same icon when using option panes
+        JOptionPane.getRootFrame().setIconImage(
+                ImageLoader.getImage(ImageLoader.SIP_COMMUNICATOR_LOGO));
+
         this.init();
     }
 




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list