Article View: borland.public.jbuilder.java.language
Article #8766Re: Question regarding applets
From: TP
Date: Fri, 02 Mar 2001 21:51
Date: Fri, 02 Mar 2001 21:51
16 lines
1326 bytes
1326 bytes
Try this.setSize(x,y); or: this.resize(x,y); Simon Ulfsbecker wrote: > Hi all, > > I๏ฟฝm wondering wether it๏ฟฝs possible to get the size of the applet, from > within the program. If for example, the user of the applet, specifies in his > html-file that he wants the applet to be 400 pixels broad and 250 pixels > heigh, how can I ask for those numbers in my code? I need to set the size of > a canvas so that it expands relative to the applets size. > > Thanks in advance, > > Simon Ulfsbecker, Sweden
Technical Details
Message-ID:
<3AA015F0.E727223A@udscorp.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<Ogan6.5182$hi2.15010@nntpserver.swip.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,2db3c7e928a188bf X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-02 12:00:08 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: TP <Poupko@udscorp.com> Newsgroups: borland.public.jbuilder.java.language Subject: Re: Question regarding applets Date: Fri, 02 Mar 2001 13:51:44 -0800 Organization: Ultramar Diamond Shamrock Message-ID: <3AA015F0.E727223A@udscorp.com> Reply-To: Poupko@udscorp.com X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 References: <Ogan6.5182$hi2.15010@nntpserver.swip.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: newsabuse@supernews.com Lines: 17