This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 67034

Summary: Task runs twice when connecting first time to Internet
Product: javame Reporter: Lukas Hasik <lhasik>
Component: -- Other --Assignee: Martin Brehovsky <breh>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: simple test project for 5.0

Description Lukas Hasik 2005-10-18 10:38:28 UTC
the SimpleCancellableTask runs again after user confirms the 'Is it OK to use
airtime' question.
Comment 1 Martin Brehovsky 2005-10-18 10:42:56 UTC
This was caused by the fact the wait screen component is starting the task
immediately, after it is displayes (via showNotify method). Because the
showNotify was called again after dismissing the dialog, the task was started
twice. 

The fix is checking if there is any task already running.
Comment 2 Lukas Hasik 2005-10-18 10:45:26 UTC
Created attachment 26071 [details]
simple test project for 5.0
Comment 3 Lukas Hasik 2007-02-16 14:17:31 UTC
verified
Comment 4 Ivan Sidorkin 2008-09-10 16:02:05 UTC
close old issues