SwingUtilities.invokeLater(new Runnable() { public void run() { Debug.println("Please Wait!"); MainFrame.getInstance().getTree().setModel(new PleaseWaitTreeModel());  Debug.println("Please Stop Waiting"); } });
pleaseWait(null);
		static void pleaseWait()		{			SwingUtilities.invokeLater(new Runnable()			{				public void run()				{					Debug.println("Please Wait!");					MainFrame.getInstance().getTree().setModel(new PleaseWaitTreeModel());//					MainFrame.getInstance().setSorting(false);					Debug.println("Please Stop Waiting");				}			});			}