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.