the problem in detail
i have a timer which pops a jdialog at a certain intervals , the issue is i donot want to create different jdialogs for each and every timer task instead i would want to use thesame jdialog for all the timer tasks,
in the timertask run method iwant to find out if there was jdialog class has been initialised if yes perform the update of teh gui components else create a new jdialog.
for some reason even if the timer task just created a jdialog the next timer task still creates a new jdialog which i donot want
the if condition always seems to be true i.e m ==null .......
it doesnt go to the else part at point of time
please advice and thanks in advance
Thomas