🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by dar7yl Sat, 15 May 2004 18:52
How do I access the window of an Applet?
#937
Author: dar7yl
Date: Sat, 15 May 2004 18:52
13 lines
1409 bytes
I want to allow the user to resize an applet when he changes the size of the
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).
Re: How do I access the window of an Applet?
#994
Author: Daniel
Date: Sun, 15 Aug 2004 04:58
32 lines
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).
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads