This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
This is a email program. Here, the class "ProgressMonitor" is a JDialog which is showing the text "Sending..Please wait..." when the email is being sent, and disappears when the email is sent. But in here, the JDialog appears blank!When the email is sent, it shows the JLabel! Why is that? I have tried using SwingUtilities.InvokeLater() too, but in that case, the the blank window also wasn't shown when the email is sending. I know this is a code with number of lines, but the issue is in lines 172-203. I decided to put this whole code because removing code eliminates the issue sometimes, and you won't be able to test if you need. Please help!
Are you better than me? Then please show me my mistakes..