Look again and probe is not met within 15 seconds, you leave one and does nothing. Please check. I do not know where the error occurred. The method Send_Message (url); what it does is create a connection and send a file.
Code:
public static void time () throws IOException, InterruptedException
(
try
(
Timer timer = new Timer (15000, new ActionListener ()
(
public void actionPerformed (ActionEvent e)
(
try
(
/ / String name
Send_Message (url);
)
catch (Exception ex)
(
ex.printStackTrace ();
)
)
));
timer.start ();
/ / Try
/ / (
/ / Thread.currentThread (). Sleep (17000);
/ /) Catch (Exception J)
/ / (
/ /)
) Catch (Exception o)
(
)
)
Bookmarks