Results 1 to 3 of 3
- 01-02-2008, 10:03 PM #1
Member
- Join Date
- Jan 2008
- Posts
- 2
- Rep Power
- 0
File drop zones don't move with window in Firefox
I have a java applet which allows users to upload files.
The code for the drop zones is grabbed from: FileDrop (Taverna 1.7.0.0 API)
Things seem to work fine for the most part. Unforunately in Firefox in Mac OSX (especially Leopard), when the user drags the browser window containing the applet, the drop zones strangely don't move. That is, they remain in the same location on the screen, so when the applet moves, they have moved relative to the applet. If they user moves the window far enough, they zones might not even be within the confines of the window any longer. If the user doesn't move the window, it's fine. If they do, they they must drop the file where the zone was, not where the visual drop zone appears to be on the screen.
Here's the applet:
TRintuition workBench Uploader
It's very odd, and other browsers seem to do fine.
If you've seen anything like this before, please let me know. thanks:)
- 01-02-2008, 10:07 PM #2
Please post this message in firefox as well... hope they could look into it. I havent tried those things ..
dont worry newbie, we got you covered.
- 01-02-2008, 10:25 PM #3
Member
- Join Date
- Jan 2008
- Posts
- 2
- Rep Power
- 0
workaround: window moving event?
it's possible that i've done something stupid, or that i've stumbled onto a big here.
i'm thinking of trying to force redraw (invalidate) the applet whenever the browser window is moved. perhaps this will get firefox to really redraw the drop zones.
i'm not sure if capturing a window-move event is possible. i looked into the WindowListener (http://java.sun.com/j2se/1.4.2/docs/...Listener.html), but it doesn't seem to listen to window movements or resizing. just maximing, minimizing, and focusing.
not sure if this hack would work, but if anyone knows how to capture these events, i'd give it a try...
thnx... peace
Similar Threads
-
Help with Move Shape
By romina in forum AWT / SwingReplies: 2Last Post: 12-09-2010, 03:25 AM -
Getting domainname/user in Firefox
By Ganesh Prasad in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 02-14-2008, 01:13 PM -
Move to forum 'New To Java'
By lalithalydia in forum New To JavaReplies: 1Last Post: 01-31-2008, 07:16 AM -
IE and Firefox
By Ed in forum Advanced JavaReplies: 1Last Post: 06-15-2007, 04:16 PM -
How to Move a File to Another Directory
By Ada in forum New To JavaReplies: 1Last Post: 05-26-2007, 01:17 PM


LinkBack URL
About LinkBacks

Bookmarks