Raymond Software, Inc.





Java Applets and Applications


Google Web API Demo Applet

  • This version of the Google Web API Demo Applet works with the current beta version of the Google Web APIs. It may not work with future versions, so please send us a note if this happens, and we'll update the Applet.
  • Before you run the Applet, make sure you have a Google License Key handy, because the Applet won't work without it. You will need to create a Google account if you don't have one. See "Google Web APIs - Home" for information on how to do this.
  • You can also download the command line version of the APIs from "Google Web APIs - Home" as well.

Security:

  • The Applet will not work unless you give it permission to access certain things. If you try to run it without granting permissions in your policy file, it will throw an exception. To grant the necessary permissions, add the following code to your .java.policy file, which should be located either in your home directory or ${java.home}/lib/security/java.policy directory on a UNIX machine:

    grant {
    permission java.util.PropertyPermission "google.soapEndpointURL", "read";
    permission java.util.PropertyPermission "http.proxyHost", "read";
    permission java.net.SocketPermission "api.google.com", "resolve";
    permission java.net.SocketPermission "216.239.37.104:80", "connect,resolve";
    permission java.net.SocketPermission "216.239.51.104:80", "connect,resolve";
    };

  • We developed and tested the Applet using

    java version "1.4.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
    Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode),

    on a Mac running Jaguar build 6R73 (MacOS 10.2.8), and have not experienced any problems with it.

Legal:

  • Please note that we, like Google, do not make any warranties as to the correctness or suitability of this code for a particular purpose. If you use this Applet, you do so entirely at your own risk. So please don't sue us.

Run the Applet.













All trade names and copyrights mentioned here are the property of their respective owners.
Copyright © 1995-2008 Raymond Software, Inc. - privacy policy
Last updated on Wednesday, 28-Nov-2007 02:11:15 GMT /jr webmaster