Don't clear graph when user closes the window
This commit is contained in:
@ -13,6 +13,7 @@
|
|||||||
* Remove "Settings read from I2P router" message
|
* Remove "Settings read from I2P router" message
|
||||||
* Set graph values to 0 when router is gone
|
* Set graph values to 0 when router is gone
|
||||||
* Clear graph after changing router host/port
|
* Clear graph after changing router host/port
|
||||||
|
* Don't clear graph when user closes the window
|
||||||
* Update to jchart2d 3.2.2 2011-09-25
|
* Update to jchart2d 3.2.2 2011-09-25
|
||||||
* Remove debug output
|
* Remove debug output
|
||||||
* README updates
|
* README updates
|
||||||
|
@ -6,10 +6,10 @@ package net.i2p.itoopie;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ItoopieVersion {
|
public class ItoopieVersion {
|
||||||
|
|
||||||
/** Version of itoopie */
|
/** Version of itoopie */
|
||||||
public static final String VERSION = "0.0.4-beta4";
|
public static final String VERSION = "0.0.4-beta5";
|
||||||
|
|
||||||
/** Version of the I2PControl API implemented */
|
/** Version of the I2PControl API implemented */
|
||||||
public static final int I2PCONTROL_API_VERSION = 1;
|
public static final int I2PCONTROL_API_VERSION = 1;
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,13 @@ public class WindowHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void deRegister(JFrame frame){
|
public static void deRegister(JFrame frame){
|
||||||
_frames.remove(frame);
|
// don't remove the main frame when
|
||||||
|
// the user clicks on the X, so we have the updated
|
||||||
|
// graph when the user clicks on the icon again
|
||||||
|
if (frame == mainFrame)
|
||||||
|
hideFrames();
|
||||||
|
else
|
||||||
|
_frames.remove(frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void hideFrames(){
|
public static void hideFrames(){
|
||||||
|
Reference in New Issue
Block a user