[913] in java-interest

home help back first fref pref prev next nref lref last post

How to fetch the screen resolution?

daemon@ATHENA.MIT.EDU (Robert Uomini)
Tue Aug 15 05:09:29 1995

Date: Mon, 14 Aug 1995 22:22:36 -0700
From: uomini@fractals.fractals.com (Robert Uomini)
To: java-interest@java.sun.com

Hi,

Does anyone know of a java library call which will return the resolution
of the screen the browser is running on? I wrote an applet which needs
the screen resolution (horiz and vertical pixels/inch), and it's a pain
to have to hard code it in HTML, thus making the page machine dependent.

Robert Uomini
The Fractal Images Company (http://www.fractals.com)
Voice: 510-528-0258/800-548-0258
Fax:   510-528-0243
*******************************************************************************
*  Buying or selling a home? Come visit the most comprehensive set of	      *
*  residential real estate listings and related services on the Internet:     *
*  The FractalNet Real Estate Server, http://www.fractals.com/realestate.html *
*******************************************************************************

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post