Article View: borland.public.jbuilder.java.swing
Article #994Re: How do I access the window of an Applet?
From: Daniel
Date: Sun, 15 Aug 2004 04:58
Date: Sun, 15 Aug 2004 04:58
32 lines
2254 bytes
2254 bytes
hi, > I want to allow the user to resize an applet when he changes the size of the for what I know: once you placed the applet, the visiblesize cannot be changed. However, if you do resize inside the applet, the canvas will be resized, but actually from the outside the applet will be seen as the former square, so whatever you render outside the square will be hidden. That was last time I worked with applets, and I don't think the things changed too much since... Daniel > enclosing window. Currently, I set the applet size in the <APPLET> tag, and > that remains fixed for the duration of the session. I would like to add a > window listener to catch resize events, then resize() on the applet. The > problem is I can't find the *#>@!mn window. > > Ideally, I would also like to restrict the sizing of the window, so that the > venerated user cannot make it too small. > > regards, > dar7yl. (the 7 is silent) > > (see my rant in borland.public.jbuilder.java.language). > >
Technical Details
Message-ID:
<lLKdndIX2vkRcIPcRVn-vg@giganews.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<bGtpc.8479$0e6.3635@clgrps13>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,3fc519ed0601a0c2 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 14 Aug 2004 23:58:52 -0500 From: "Daniel" <dgabrov1@yahoo.com> Newsgroups: borland.public.jbuilder.java.swing References: <bGtpc.8479$0e6.3635@clgrps13> Subject: Re: How do I access the window of an Applet? Date: Sun, 15 Aug 2004 00:58:47 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: <lLKdndIX2vkRcIPcRVn-vg@giganews.com> Lines: 34 X-Trace: sv3-NGlHidSI7t3i6h8VtArvsJ340lvy51J1lNQ+Gd5uNoVwCLhKmAsJ4/MWsMwVME5iXJJBt6Zt492riaV!Z8FjIWW+BfLRZdk8xkd5655A8jlaGXolp/X0GscL1Q6Vrj+ZITTi6KvQkr4xHw== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.13