From 91bd2b3f98f8f151e97bc3c189150fbf5fdb04c1 Mon Sep 17 00:00:00 2001 From: Ingo Bauersachs Date: Fri, 2 Aug 2013 20:03:54 +0200 Subject: [PATCH] Avoid resetting the application icon on every validate This is necessary to avoid overwriting the contact icon of chat windows --- .../plugin/desktoputil/SIPCommFrame.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/src/net/java/sip/communicator/plugin/desktoputil/SIPCommFrame.java b/src/net/java/sip/communicator/plugin/desktoputil/SIPCommFrame.java index 1621680a7..b5c8e7df3 100644 --- a/src/net/java/sip/communicator/plugin/desktoputil/SIPCommFrame.java +++ b/src/net/java/sip/communicator/plugin/desktoputil/SIPCommFrame.java @@ -114,31 +114,6 @@ public SIPCommFrame() WindowUtils.addWindow(this); } - /** - * Validates this container and all of its subcomponents. - *

- * The validate method is used to cause a container - * to lay out its subcomponents again. It should be invoked when - * this container's subcomponents are modified (added to or - * removed from the container, or layout-related information - * changed) after the container has been displayed. - * - *

If this {@code Container} is not valid, this method invokes - * the {@code validateTree} method and marks this {@code Container} - * as valid. Otherwise, no action is performed. - * - * @see #add(java.awt.Component) - * @see Component#invalidate - * @see javax.swing.JComponent#revalidate() - * @see #validateTree - */ - @Override - public void validate() - { - init(); - super.validate(); - } - /** * Initialize default values. */