rep

B

bob

How can you make an applet repaint itself when the window
it is in is resized?

Thanks in advance.
 
C

Chris Smith

bob said:
How can you make an applet repaint itself when the window
it is in is resized?

There's not necessarily a way to do that, because the containing window
isn't necessarily modeled in the Java AWT. However, your applet should
receive a repaint event whenever it is needed, for whatever reason.
That's the container's job, and you can't do it in the container's
place.

If you clarify the problem you're trying to solve, then perhaps there's
a nice solution; but it won't be intercepting window resize events from
an applet's parent window.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,477
Members
44,898
Latest member
BlairH7607

Latest Threads

Top