Add missing Override to Runnable::run

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2038 b8de521a-fa13-0410-8113-fc7ffabbd59a
Catch all exceptions happening in LoginWaitDialog

Just to make sure there is no exceptions happening anywhere in wait
dialog painting thread expand the try catch block around all code.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2039 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't let login wait dialog stay visible after use

Swing may only be accessed from event thread. But we know that event
loop is currently blocked that makes it enough to synchronize access in
our extended class to underlying race implementations.

This fixes issue that WaitDialog randomly staying in screen that was
caused by race between rendering and closing the window.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2040 b8de521a-fa13-0410-8113-fc7ffabbd59a
Use notify-wait to avoid blocking main thread

When login wait dialog is closed thread synchronization blocks main
thread during paint thread sleep. The sleep can be interrupted if sleep
is done in thread communication function wait(). That doesn't block main
thread and allows main thread to call notify() to terminate background
thread.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2041 b8de521a-fa13-0410-8113-fc7ffabbd59a
Dont't leak Login Wait dialog after closing it

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2042 b8de521a-fa13-0410-8113-fc7ffabbd59a
Avoid login wait dialog flickering

Calling paintAll() clears the background and then paints everything again.
Because we are using single buffered rendering those operations flicker
a lot.

But calling paint() instead solves the flickering because it only paints
dirty regions.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2043 b8de521a-fa13-0410-8113-fc7ffabbd59a
Dispose splash Window to avoid leaking the Window

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2044 b8de521a-fa13-0410-8113-fc7ffabbd59a
Make sure BackupDialog is not leaked after closing it

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2045 b8de521a-fa13-0410-8113-fc7ffabbd59a
Avoid leaking SQL Editor Dialog after closing it

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing for
minimal gains.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2046 b8de521a-fa13-0410-8113-fc7ffabbd59a
Avoid leaking exception dialog when it is closed

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2047 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't leak look and feel dialog after closing it

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2048 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't leak print dialog

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2049 b8de521a-fa13-0410-8113-fc7ffabbd59a
Fix module config dialog leak

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2050 b8de521a-fa13-0410-8113-fc7ffabbd59a
Avoid leaking any of download dialogs

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2051 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't leak option window after closing it

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2052 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't leak match simulator dialog after closing it

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2053 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't leak ifa image builder dialog

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2054 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't leak lineup module dialogs after closing

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2055 b8de521a-fa13-0410-8113-fc7ffabbd59a
Don't leak match module dialogs after closing them

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2056 b8de521a-fa13-0410-8113-fc7ffabbd59a
Avoid leaking nthrf dialog

Java doesn't garbage collect Windows unless they are disposed. One
could still access them through Window.getWindows() to optimize popup
window opening. But that would need more changes than disposing.

Disposing can be done either manually calling dispose method or by
setting setDefaultCloseOperation(DISPOSE_ON_CLOSE). If Window object has
requested WindowEvents one has to call removeWindowListener(this) to
break cyclic reference preventing garbage collection.

git-svn-id: https://ho1.svn.sourceforge.net/svnroot/ho1/trunk@2057 b8de521a-fa13-0410-8113-fc7ffabbd59a