Article View: borland.public.jbuilder.java.language
Article #16492Re: Screen size for an applet, please?
From: Max Polk
Date: Mon, 15 Feb 1999 00:00
Date: Mon, 15 Feb 1999 00:00
15 lines
1022 bytes
1022 bytes
[This followup was posted to borland.public.jbuilder.java.language and a copy was sent to the cited author.] In article <7a47sm$sk310@forums.borland.com>, jay@cwdance.freeserve.co.uk says... > I would like to know if there is anyway in determining the size of a screen > (i.e. 640 x 480 or 800 x 600) as an applet on my web site, or can I only do > this in applications. Here's an applet example requiring an 800x600 screen size: Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); if (d.width < 800 || d.height < 600) screenTooSmall ();
Technical Details
Message-ID:
<MPG.1132a216290ab149896b2@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7a47sm$sk310@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,aa8ffa7044ecd8c0 X-Google-Attributes: gidf74b3,public From: none@none.com (Max Polk) Subject: Re: Screen size for an applet, please? Date: 1999/02/15 Message-ID: <MPG.1132a216290ab149896b2@forums.borland.com> X-Deja-AN: 444797506 References: <7a47sm$sk310@forums.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language