Switched task dialog back to JLabel and enforce dialog size through preferred size of JLabel