Revision: 14735
http://gate.svn.sourceforge.net/gate/?rev=14735&view=rev
Author: markagreenwood
Date: 2011-12-12 11:47:51 +0000 (Mon, 12 Dec 2011)
Log Message:
-----------
a few minor changes related to how we show/hide the dialog and dispose of
resources
Modified Paths:
--------------
gate/trunk/src/gate/gui/creole/manager/PluginUpdateManager.java
Modified: gate/trunk/src/gate/gui/creole/manager/PluginUpdateManager.java
===================================================================
--- gate/trunk/src/gate/gui/creole/manager/PluginUpdateManager.java
2011-12-12 11:44:28 UTC (rev 14734)
+++ gate/trunk/src/gate/gui/creole/manager/PluginUpdateManager.java
2011-12-12 11:47:51 UTC (rev 14735)
@@ -425,7 +425,6 @@
public PluginUpdateManager(JFrame owner) {
super(owner, true);
- MainFrame.getGuiRoots().add(this);
this.owner = owner;
// get the list of remote update sites so we can fill in the GUI
@@ -943,6 +942,7 @@
@Override
public void setVisible(boolean visible) {
if(visible) {
+ MainFrame.getGuiRoots().add(this);
// if the window is about to be made visible then do some quick setup
tabs.setSelectedIndex(0);
installed.reInit();
@@ -965,6 +965,8 @@
// now actually show/hide the window
super.setVisible(visible);
+
+ if (!visible) dispose();
}
private static class PluginTableModel extends AbstractTableModel {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs