World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 06-12-2008, 06:30 AM   #1
satish
Member
 
Join Date: Feb 2008
Posts: 34
satish is on a distinguished road
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 06:36 AM. Reason: mistakes
satish is offline   Reply With Quote
Old 06-12-2008, 04:44 PM   #2
slade
Senior Member
 
Join Date: Jun 2007
Location: Huntsville, AL
Posts: 107
slade is on a distinguished road
Default

See if this works:

Code:
if (WorldWind.getNetworkStatus().isWorlWindServerUnavailable())
            WorldWind.getNetworkStatus().setOfflineMode(true);
slade is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to server fleak Technical Support 4 08-11-2009 09:37 PM
Proxy ? problem on initial connection Unregistered Technical Support 1 01-20-2007 11:35 AM
Connection timed-out Damascus Technical Support 5 09-12-2005 10:51 PM
Unable to read data from the transport connection Slick Nick Technical Support 0 04-16-2005 07:21 PM
No connection? Guest_greg_* Bug Reports 1 01-21-2005 10:33 PM


All times are GMT +1. The time now is 07:23 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.