FaqJ2MEDeadlockWhenAskingNetworkAccess

When my application tries to access network I get a message from emulator where it asks for permission to use air time. None of the buttons work though. What is going on?

You should use a separate thread for HTTP communication so you don't block the UI.

When using NetBeans Visual Designer 5.0 or newer, consider using WaitScreen component. This component can have an associated thread and depending on the result (exception or not) transition may go to Success or Failure states.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo