Results 1 to 2 of 2

Thread: How to disconnect the net connection

  1. #1
    Member
    Join Date
    Feb 2008
    Posts
    34

    Question How to disconnect the net connection

    Hello all
    I try to run example program Annotations.java with out net connection ie. BasicNetwork , its hang.So what I feel, While i running that example, the program search for the net connection.so how to disconnect the net connection in that example.Because it always show the indication "Downloading" in the corner.How to remove that connection.Anybody know the solution reply me , thanks
    Last edited by satish; 06-12-2008 at 07:36 AM. Reason: mistakes

  2. #2
    Senior Member
    Join Date
    Jun 2007
    Location
    Huntsville, AL
    Posts
    101

    Default

    See if this works:

    Code:
    if (WorldWind.getNetworkStatus().isWorlWindServerUnavailable())
                WorldWind.getNetworkStatus().setOfflineMode(true);

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •