Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-02-2008, 11:03 PM
Member
 
Join Date: Jan 2008
Posts: 2
jazgold is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-02-2008, 11:07 PM
roots's Avatar
Moderator
 
Join Date: Jan 2008
Location: Dallas
Posts: 263
roots is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-02-2008, 11:25 PM
Member
 
Join Date: Jan 2008
Posts: 2
jazgold is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting domainname/user in Firefox Ganesh Prasad JavaServer Pages (JSP) and JSTL 0 02-14-2008 02:13 PM
Move to forum 'New To Java' lalithalydia New To Java 1 01-31-2008 08:16 AM
Help with Move Shape romina AWT / Swing 1 08-07-2007 06:27 AM
IE and Firefox Ed Advanced Java 1 06-15-2007 05:16 PM
How to Move a File to Another Directory Ada New To Java 1 05-26-2007 02:17 PM


All times are GMT +3. The time now is 11:53 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org