473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

calling a class that repeats endlessly, but not letting it loop forever

warp.class comes with 'Applet Effects Factory' and I want to use it to warp an image on mouse-over. The problem is, it loops endlessly.

What's a clean way to have it run only while the mouse is over the hotspot?
Here's the script that 'Applet Effects Factory' generates:

[HTML]<APPLET CODE="warp.class" WIDTH=215 HEIGHT=108>
<PARAM NAME="GENERATOR" VALUE="CREATED WITH THE APPLET EFFECTS FACTORY WWW.COFFEECUP.COM">
<PARAM NAME="GENERAL" VALUE="1|7|000000|33|40|0|2|">
<PARAM NAME="IMAGES" VALUE="bald_eagle215x108red_bkgd_merged.jpg|">
<PARAM NAME="LINK" VALUE=" |_top| |">
<PARAM NAME="LOAD MESSAGE" VALUE="E80000|FFFFFF|Loading...">
</APPLET>[/HTML]
Jan 3 '08 #1
3 1264
BigDaddyLH
1,216 Expert 1GB
warp.class comes with 'Applet Effects Factory' and I want to use it to warp an image on mouse-over. The problem is, it loops endlessly.

What's a clean way to have it run only while the mouse is over the hotspot?
This is not a Java question, but a 'Applet Effects Factory' configuration question. Knowledge of Java doesn't help anyone answer this, right? If no one here is familiar with that library, you'd do better asking the people who wrote it. They must have a web page with a FAQ/forum/mailing list/etc...
Jan 3 '08 #2
Sure. I suppose I could have simply asked:
What's a clean way to scope a class call such that it dies on mouse out.
Jan 10 '08 #3
BigDaddyLH
1,216 Expert 1GB
Sure. I suppose I could have simply asked:
What's a clean way to scope a class call such that it dies on mouse out.
No such thing, from the client side. If you were coding the GUI, you could use a java.awt.event.MouseListener to notify you when the mouse exits. But it sounds like you're using the GUI, not implementing it, right?
Jan 10 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Emmanuel | last post by:
Hi, I run across this problem, and couldn't find any solution (python 2.2.2) : Code : =========== from __future__ import generators >>> class titi:
1
by: BCC | last post by:
Hi, This is kind of a followup to a previous question... I have a container class that has a load of variables (~100). For example, I have groupings like this: class CContainer {...
5
by: Al Christoph | last post by:
I have a program that mixes wizard like behavior with random access to the various dialogs in the wizard. I do this by having each step map to a toolstripmenuitem. Users can randomly choose the...
30
by: Tim Marshall | last post by:
Here's the scenario, A2003, Jet back end, illustrated with some cut down code at the end of the post: A proc dims a snapshot recordset (dim rst as Dao.recordset) and opens it. There are several...
15
by: Bryan | last post by:
I have a multi-threaded C# console application that uses WMI (System.Management namespace) to make RPC calls to several servers (600+ ) and returns ScheduledJobs. The section of my code that...
6
by: madpython | last post by:
For the pure theory sake and mind expansion i got a question. Experimenting with __new__ i found out how to create a singleton. class SingleStr(object): def __new__(cls,*args,**kwargs):...
11
by: Bob Rock | last post by:
Hello, I have an array of strings and need to find the matching one with the fastest possible code. I decided to order the array and then write a binary search algo. What I came up with is the...
7
by: kvnsmnsn | last post by:
I've got two GIF files named "Tigger.gif" and "Angry_barbarian.gif" that contain animations that I want to display on a web page. I've written the following XHTML code which works for a fraction...
10
by: Dick Moores | last post by:
I'm still trying to understand classes. I've made some progress, I think, but I don't understand how to use this one. How do I call it, or any of its functions? It's from the Cookbook, at...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.