public String getNextForm(String nextForm)
{
    nextGuiForm = nextForm;
    while(nextGuiForm == "next form querry")
    {
        try
        {
            Thread.sleep(1);
        }
        catch(Exception e)
        {
            System.out.println("Couldn't sleep @ MainTitle.getNextForm");
        }
    }
   return nextGuiForm; 
}