Solved

Background Applet?

Posted on 2007-11-28
4
746 Views
Last Modified: 2011-10-03
Is it possible to run one applet on top of another on a page?  I have two applets:

1.  A grid applet that interacts with a database
2.  A listener applet that runs a timer, which resets on mouse movement (thanks to the folks that helped me here with that yeterday).

I would like the listener to run in the background of the page, and the grid applet to be on top of it...  basically, I want the timer to reset whenever the mouse moves on the page, not just when it's over the listener applet.  Is this possible?

Unfortunately, I can't modify the grid applet in any way as it's not our code.  Any suggestions?
0
Comment
Question by:gameness
  • 2
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 20370155
you can do that just add your second applet to the page with width and height of 1x1
0
 
LVL 92

Expert Comment

by:objects
ID: 20370161
actually I take that back, problem you have is with the mouse listener.
you cannot achive that easily, what you would need to do is write an applet that could run another applet inside it. Not a simple exercise.
0
 

Author Comment

by:gameness
ID: 20370173
objects,

LOL I was afraid of an answer like that.  I'm starting to think this is a lost cause.  I'm not sure what else I can do to accomplish it.
0
 
LVL 17

Accepted Solution

by:
contactkarthi earned 500 total points
ID: 20370297
have a look at the tutorial here where you can run an applet inside the other..

http://www.developer.com/net/vb/article.php/626261

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now