Pop up window only works once - this is for a charity project so help is gratefully received.

I'm working on the site
http://www.rhythmsdelmundo.com
The proceeds of this project go to support climate change
awareness and natural disaster relief.
These are the elements relevant to this problem
The 'buy album' button opens up a pop up window.
The 'take a little voyage through the project' window calls
up a video from an external site which then plays in windows media
player. This is the actionscript on the 'voyage' button.
on (release) {getURL("
http://exodus.interoutemediaservices.com/?id=c0a452ac-f284-4fd6-a8db-3b87d9acd09c&delivery =stream");
_root.mp3movie.pause_btn.onRelease();
My problem is this: If you go into the site and press 'buy
album' the pop up window works fine. However, if you go into the
site and click on the 'take a little voyage...', see the movie and
then go back and press the 'buy album' button, it ceases to work.
It's like the 'take a little voyage' is somehow causing a problem
for the 'buy album' button.
First of all I created the button using javascript, then I
recreated it using actionscript that I found at Kirupa
http://www.kirupa.com/developer/mx/centered_popup.htm
Both methods have the same problem. I'm completely baffled.
Does anybody have any ideas?
Any suggestions are very gratefully received.
Thanks in advance
Rachel

sorry that information might help ....lol
Platform = Power Mac G5, OSX
Browsers =
Firefox 2.0,
Safari 1.3.2 (v312.6),
Netscape 7.2 .
all work fine accept in Firefox and Netscape, if you leave
the "Buy Album" pop up open and click the "Take a little voyage
through the project" then click "Buy Album" again the pop up window
will not re-focus to top.

Similar Messages

  • Command Windows.open only works once

    Hi all,
    Iu2019m using javascript command window.open to open a new browser window from a html link webui and is working fine.
    The issue I have is this only works once. If you close the window that you had opened, and click again in the link it doesnu2019t work. It only works if you call another link before. It seems there is a kind of cache in somewhere.
    Do you have any idea?
    Thanks in advance.
    Fernando.-

    Fernando,
      Change ur mywindow name every time.Kindly go through following code. 
    CALL FUNCTION 'GENERAL_GET_RANDOM_STRING'
      EXPORTING
      number_chars        = 3
      IMPORTING
      RANDOM_STRING       = mywindow
    var lr_window;
    lr_window = window.open("<%= lv_id%>","<%= mywindow%>","resizable=1,width=1100,height=674,fullscreen=yes");
    if (window.focus)
    {lr_window.focus()}
    lr_window.moveTo(0, 0);
    <%
      clear lv_id.
    %>
    <%-- delete lv_window; --%>
    <%-- mywindow.close(); --%>
    <%
      endif.

  • Pinch zoom-in/out only works once in Safai

    Outside of Safari, the pinch gesture works normally. In Preview it will zoom in or out as deep as I need. But when I try and use the gesture in Safari, it will only work once until I 'CMD' + '0' or click "Actual Size" in the View tab. It doesn't zoom on a gradient either. Pinch-open is the equivalent of 'CMD' + '+' and pinch-close is the the equivalent of 'CMD' + '-'. After I make the gesture once, I can pinch all I want and nothing happens. I need to revert the page to its original size for the gesture to work again (still only once).
    I have an i7 Macbook Pro running 10.6.8. Can anybody help me out?

    Sorry, I didnt do a good enough job explaining my issue/bug above. I can't attach a screen shot becuase of where I work and what this content is so I will do the best I can explaining it in text.
    I have a row of buttons created in InDesign that have no effects, no rollovers and lets just call them Apple In, Apple Out, Orange In, Orange Out, Banana In, Banana Out, etc.
    The Apple In button invokes an animation called Apple Fade In. Apple Out simply fades out the content animation. All of the other buttons function the same way. In my exported .swf I can click Apple In and I get my content as expected, I click Apple Out and away it goes. All other buttons work the same way, as expected. If I go through all my fruit and now I want to go back and display the Apples again. I click Apple In and NOTHING happens! If I click Apple Out the fade out animation works just fine, as many times as I want to click it, I get a flash of the content and it fades right out. The "In" buttons no longer work for any of the fruit after the initial "In" animation plays.
    In the Animation Panel I have the animations set to Play Once and Dont Hide. In the Layers Panel I have a layer called Apple Fade. In that Layer Group/Set I have Apple Fade Hack which consists of a native ID square no stroke and no fill grouped with my Apple content on "the stage." Also in that Layer Group/ Set is a collection of bitmap images, text, and vectors called Apple. I created the content first on a layer Apple, when I created the group with the blank square ID bumped the original content group under the parent layer and added another sub-layer called Apple Fade Hack. These two are indented and under the top level Apple Layer. I could probably get away with attaching a screen shot of the timing, layer, and animation panels if I had to.
    Thanks

  • JCOM only works once

    I have a web application that was originally developed using J-Integra
    1.5.3 -- it works great in tomcat 4.1, and the classes themselves can
    also be tested/exercised outside of tomcat, where they work perfectly
    as well.
    Now that the application is mostly finished with development, we want
    to deploy this to our BEA Weblogic 8.1 servers. The problem
    is that, after turning on JCOM, and removing the external jintegra
    jars (using only the weblogic versions now), I can get the app to
    work properly exactly once after startup. That is, I can start
    Weblogic, load the JSP page I use as a tester in my browser, and it
    works as it should. If I hit the refresh button, I get a
    RuntimeException like this:
    java.lang.RuntimeException:
         at com.linar.jintegra.StdObjRef.invoke(StdObjRef.java:55)
         at com.linar.jintegra.Dispatch.vtblInvoke(Dispatch.java:763)
         at jsp_servlet.__index._jspService(__index.java:181)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
         at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6291)
         at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
         at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3575)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2573)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    I also see this in my weblogic logs:
    <Jul 8, 2003 2:14:05 PM EDT> <Error> <COM> <BEA-210000> <100680] *: >
    and thats all the information I get.. I have tried to crank up the
    jintegra logging as high as I can (using both "
    com.linar.jintegra.Log.logImmediately(3, "c:\\temp\\jintegra.log");
    " in the constructor, and by supplying
    "-DJINTEGRA_LOG_FILE="c:\temp\jintegra2.log" -DJINTEGRA_LOG_LEVEL=3"
    on the startup line for weblogic, but gotten only as far as
    c:\temp\jintegra.log being created.. no contents in it, and
    jintegra2.log (the one created from the command line) isnt created at all.
    so, I am at a loss... it does work once, and I absolutely no
    information as to why it fails after that first time. Any ideas would
    be appreciated. thanks.

    not sure exactly why it would only work once, but I
    personally dont like using a listener for simple button actions.
    If it were me, i would just use standard button actions and
    make the caption fade in and out with an alpha tween.

  • Event only works once

    Hi all!
       I'm trying to do a movieclip that has 2 buttons that change the content of a flvplayer.
       The problem is that the buttons only work once, after that the event listener isn't triggered (I think) I have no removeEventListener in my code for those events so I'm totally lost as to why is this happening.
       My code is this:
    stop();
    var correr:Boolean = true;
    Globals.vars.videoP = CM_player;
    SnowManInst.addEventListener(MouseEvent.MOUSE_DOWN, mudarVideo_SM);
    bananaKingInst.addEventListener(MouseEvent.MOUSE_DOWN, mudarVideo_BK);
    addEventListener(MouseEvent.MOUSE_DOWN, pararFilme);
    function pararFilme(e1:MouseEvent){
        trace("pararFilme "+Globals.vars.videoP);
        Globals.vars.videoP.stop();
        correr = false;
        removeEventListener(MouseEvent.MOUSE_DOWN, pararFilme);
        addEventListener(MouseEvent.MOUSE_DOWN, correrFilme);
    function correrFilme(e1:MouseEvent){
        trace("correrFilme");
        Globals.vars.videoP.play();
        correr = true;
        removeEventListener(MouseEvent.MOUSE_DOWN, correrFilme);
        addEventListener(MouseEvent.MOUSE_DOWN, pararFilme);
    function mudarVideo_BK(e1:MouseEvent){
        trace("mudar video BK");
        Globals.vars.videoP.stop();   
        gotoAndStop(2);
    function mudarVideo_SM(e1:MouseEvent){
        trace("mudarVideo_SM");
        Globals.vars.videoP.stop();   
        gotoAndStop(3);
    Any help would be greatly appreciated.

    it's not clear what you're trying to accomplish with that code but there are a few reasons that might fail.
    to starty, you should understand that first a button event is dispatched, then a main timeline event is dispatched (and the main timeline listener toggles between two listener functions) and finally you go to a different frame and any code in the other frame is executed.
    so, that's a pretty screwy setup.  you should remove the main timeline listeners and their functions and it's not clear you need to direct the main timeline to another frame.

  • I need version 3.6.16 for an at home online job. I am unable to find it anywhere from a secure source. Is there a way to get a link to download it? The ChaCha Toolbar only works with this older version. Thanks!

    I need the older version 3.6.16 for my at home based job for ChaCha. Their toolbar only works with this version and they say it is more compatible with this. And I have not been able to find a secure link to download this older version. Can you give me a secure link or is it possible to download this older version securely?

    If you only need Firefox 3.6 for just one thing then you may be better off using a portable version of Firefox as it will not impact your Firefox 6.0.2 install. You can install it on hard disk or on a usb flash drive. Firefox 3.6.22 is the current security update as 3.6.16 is old.
    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • I have placed a check mark in the Block Pop-Up Windows box and when I restart Firefox, the box is empty and I begin receiving Pop-Up's again. What do I have to do to make the check-mark permanent?

    I have placed a check mark in the Block Pop-Up Windows box but when I restart Firefox, the box is empty and I begin receiving Pop-Up's again. What do I have to do to make the check-mark permanent?
    == This happened ==
    Every time Firefox opened

    See this:
    http://kb.mozillazine.org/Popups_not_blocked#Other_software_disables_the_popup_blocker

  • HT1567 I keep getting a pop up window saying that whatever is needed for itunes to burn a CD for me is missing.  How do I get it without having my entire library erased?

    I keep getting a pop up window saying that whatever is needed for itunes to burn a CD for me is missing.  How do I get it without having my entire library erased?

    Hello,
    I am having problems copying my music to a cd, its stating disc recording not found.  Please how can this be fixed.  I have uninstall and reinstall several times.
    Microsoft Windows 7 x64 Home Premium Edition (Build 7600)
    Hewlett-Packard 310-1126
    iTunes 11.0.1.12
    QuickTime not available
    FairPlay 2.2.32
    Apple Application Support 2.3.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.1.3
    Apple Mobile Device Driver 1.63.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0027B2E0106D35F0
    Current user is not an administrator.
    The current local date and time is 2013-01-31 18:45:45.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    ATI Technologies Inc., ATI Radeon HD 4270 
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 11.0.1.12 (x64) is currently running.
    iTunesHelper 11.0.1.12 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    LowerFilters: PxHlpa64 (2.0.0.0),
    No drivers in UpperFilters.
    Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the “Add or Remove Programs” control panel.

  • I have been connecting my external HD to my Mac for 2 years, no problem at all. Yesterday, I could not connect it and appeared the message: USB ports disconnect due to energy. I already checked many blogs and this site for answer. Can someone help me

    I have been connecting my external HD to my Mac for 2 years, no problem at all. Yesterday, I could not connect it and appeared the message: USB ports disconnect due to energy. I already checked many blogs and this site for answer. Can someone help me? How can I fix it?

    Hi, clara_from_brazi.
    Thank you for visiting Apple Support Communities.
    Here are some troubleshooting steps that I would recommend when experiencing this issue.  Also, test connecting the external storage device to the computer with another cable as this can be the issue.  
    OS X Mavericks: Reset your computer’s PRAM
    http://support.apple.com/kb/ph14222
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    Apple Computers and Displays: Powering peripherals through USB
    http://support.apple.com/kb/HT4049 
    Cheers,
    Jason H.

  • HTTP GET only works once

    Web UI Builder:
    I have a device that responds to HTTP GET messages.
    I made a simple vi that uses the HTTP GET String function connected to a string constant and WireShark to monitor Ethernet traffic.
    When the vi is first run an HTTP message is sent and replied to.
    If the vi is run again the message is not transmitted.
    If the HTTP GET message is changed the new message will be transmitted. But not twice.
    If LabVIEW Web UI Builder is closed and restarted the message will again be sent just once when run.
    Why is the message only being sent once? It's like all outgoing messages are being tracked and only sent once.

    I think this is standard (but not always desirable) behavior of the networking stack that Web UI Builder uses. (On Windows, it's basically the built in/  Internet Explorer networking stack). After the first GET request with the same URL, if the server doesn't send no-cache headers, a cached result will be returned.
    If you control the server that you're connecting to (and can add HTTP headers), try adding a no-cache header to the GET response. ("Cache-Control: no-cache" is the first one I'd try).
    If you don't control the server you're connecting to / that doesn't work, another workaround is to append a query string parameter with a random number or timestamp. With this approach, the GET URL is always changing, so the caching behavior is disabled and the request should always go to the server.
    (Something like this appended to the end of the URL:
    or, "&n=[timeInTicks]" if you're already using other query parameters)

  • Spry Tab link only works once... why?

    Hi all,
    I have a spry tabbed area with 4 tabs on my page. Each tab contains data that is dragged from an MSAccess table. A couple of the tabs have repeat regions. This all works fine.  One of my tabs has a repeat region where I can click on a button image to change a record status from True to False (or visa versa). The click runs the associated vbscript which executes the SQL update statement no problem. However I noticed that when I changed the data on this tab and reloaded the page using a Response.redirect after the sql update was executed, it would default to the 1st tab and not the one I was viewing that contains the repeat region. A quick search led me to the SpryURLUtils.js file which solved that problem by allowing me to specify which tab to load. I appended the relevant code to give me this:
    Response.Redirect("myrecord.asp?" & Request.QueryString & "&tab=1#TabbedPanels1"
    As I mentioned, the tab contains a repeat region. If I click on a button to change the status of that record the page reloads fine and displays the correct tab. But this only happens once... each subsequent time I try to change another record my tab contents disappear. The tabs are still visible and if I click on the tab where I've changed the data the tab content is dispalayed, but obvioulsy this isn't right... it should reload and display the correct tab with each call of the code.If I navigate away from this page and then come back to it I can successfully chnage one record and the results are displayed. Change another record and the changes are made, but the tab contents are not displayed again. The interesting thing is that if I reload/refresh the page the problem occurs staright away on the first record change.
    So my question is 2-fold... Why is this happening and how do I solve the problem?
    Here is the vbscript that updates the record and  does the Response.redirect
    <%
    'Change Notification
    If (CStr(Request("ToggleNotify")) = "ToggleNotify") Then
    dim strSQL
    'check to see if notification is currently true or false
        If cstr(Request.Form("NotifyChanges")) = Cstr("True") Then
        'change notifiaction to false
            strSQL = "UPDATE tblUserAccess SET NotifyChanges=0 WHERE AccessID = " & Request.Form("hiddenAccessID")
        else
            strSQL = "UPDATE tblUserAccess SET NotifyChanges=-1 WHERE AccessID = " & Request.Form("hiddenAccessID")
        end if
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_VBUsers_STRING
        MM_editCmd.CommandText = strSQL
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
        Response.Redirect("myrecord.asp?" & Request.QueryString & "&tab=1#TabbedPanels1" )
    End If
    %>
    Here is my Repeat region with the associated form
    <%
    While ((Repeat3__numRows <> 0) AND (NOT rsAccessRights.EOF))
    %>
    <form name="frmNotifications" method="post" action="">
      <tr class="PageText">
        <td width="200"><%=(rsAccessRights.Fields.Item("SectionTitle").Value)%>
            <input type="hidden" name="hiddenAccessID" id="hiddenField2" value="<%=(rsAccessRights.Fields.Item("AccessID").Value)%>">
        </td>
        <td width="200">
                    <%If (CStr((rsAccessRights.Fields.Item("NotifyChanges").Value)) = CStr("True")) Then %>
              <input type="image" src="../sitegraphics/accept.png" alt="Submit button">
            <%else%>
              <input type="image" src="../sitegraphics/cross.png" alt="Submit button">
            <%end if%>
        <input type="hidden" name="ToggleNotify" value="ToggleNotify">
        <input type="hidden" name="NotifyChanges" id="test" value="<%=cstr((rsAccessRights.Fields.Item("NotifyChanges").Value))%>">
       </td>
    </tr>
    </form>
      <%
      Repeat3__index=Repeat3__index+1
      Repeat3__numRows=Repeat3__numRows-1
      rsAccessRights.MoveNext()
    Wend
    %>
    And here is the bit at the bottom that specifies the default tab if nothing is passed in the URL
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.tab ? params.tab : 0});
    //-->
    </script>
    Sorry for the long post!
    This is my first dabble with Spry stuff, so I'm a bit green. If anyone can explain to me why this is happening that would be most apopreciated. If anyone can tell me how to solve the problem I'll send them a big e-kiss!
    Not sure how impotant this is but it happens in both Firefox and IE8.
    Thanks in advance
    Dan

    Hi Ben, thanks for taking the time to read my query.
    The site in question is an intranet site, so I am unable to give you a link to the page. Would the entire page of code rather than just the odd bits help?
    Cheers
    Dan

  • Canon MF4270 Scanning Function only works once

    After my upgrading to 8.1 my canon MF4270 scanning function will only work one time when it is installed. Any subsequent boot (cold or warm) and it fails to work.  The software (canon toolbox or windows scan) will just hang indefinitely.  Sometimes
    I get an error msg, sometimes I do not.
    1. Have the latest driver from the Canon website
    2.  Tried reinstalling the driver several times
    3.  Tried the Windows scan utility
    4.  Tried different USB ports.
    5.  When I do get an error msg it is usually a "USB device is not recognized"
    6.  In Device Manager>Universal Serial Bus controllers>Unknown USB Device (Device Descriptor Request Failed
    7.  When I call up the properties for the yellow triangled usb device, event tab in the scrollable window:
    Device USB\VID_0000&PID_0002\5&e658374&0&9 was configured.
    Driver Name: usb.inf
    Class Guid: {36FC9E60-C465-11CF-8056-444553540000}
    Driver Date: 06/21/2006
    Driver Version: 6.3.9600.16442
    Driver Provider: Microsoft
    Driver Section: BADDEVICE.Dev.NT
    Driver Rank: 0xFF0000
    Matching Device Id: USB\DEVICE_DESCRIPTOR_FAILURE
    Outranked Drivers: usb.inf:USB\DEVICE_DESCRIPTOR_FAILURE:00FF2000
    Device Updated: false
    8.  Also received a "
    Windows has stopped this device because it has reported problems. (Code 43)
    A request for the USB device descriptor failed."
    9.  Canon tech support stated it was an MS WIA service issue and not there problem.
    10.  Also tried compatibility routine.
    We run a paperless office so this is pretty huge.  Need your expertise. 
    Thank You!
    * * * UPDATE:  The above discussion was with the MFC4270 fully powered or in energy savings mode and PC fully powered.  Any reboot of the PC would result in no scanner.  Tried turning off the MFC, reboot the PC, then turn on the scanner,  and
    the scanner worked just fine.  A subsequent reboot with MFC remaining on would fail the scanner.  Any reboot with MFC off, then turned on after booting would work.
    So something amiss with driver and/or USB.

    Hi,
    Code 43 means that a device driver notified the operating system that the device failed, this circumstance can occur if the device hardware fails or if the device driver fails.
    To resolve this problem, take the following steps:
    1. To open Device Manager, click Start, click Search programs and files, and then type Device Manager. A list of available matching items appears above the search box; click Device Manager.
    2. Locate the malfunctioning device in the list of devices, right-click the device, and then click Uninstall. When a warning message appears that you are uninstalling a device from your system, click OK. Device manager uninstalls the device.
    3. Right-click your computer name in Device Manager and click Scan for hardware changes. Device manager scans your system and automatically reinstalls your device.
    4. Right-click the device and click Properties. On the General tab of the device Properties dialog box, in Device status, you should see the message This device is working properly.
    For more troubleshooting steps you can find it here:
    http://technet.microsoft.com/en-us/library/cc725873(v=ws.10).aspx
    Regards
    Wade Liu
    TechNet Community Support

  • CallResponder CREATE only work once

    Hi all!
    Im using Flash Builder 4 to create a new project. Im really happy with the new connection methods, but Im getting an issue really strange. When i create a new service call that include data in my base, it only works on the first time! When i try to include another value, it simply dont work. I dont receive any error message, alert.... nothing. Is there anybody that had this problem? any idea to fix it?
    Explaining the issue in example: I create a Employee service. I generated the employee form, and associated it with the CreateEmployee service. I fill the form with the employee data, and submit. It include the data on my database correctly, but when i try to input another data, the button just dont work. I have to refresh the page to it work again. I tryed to find some answer on the web, but until now i didnt find it. I know that FB4 has been released very recently, so we dont have already a huge knolegment on it.
    Thanks,
    Williams

    Hi,
    I haven't worked a lot with the data wizards but one thing I notice is when you set a form to create a record it will produce a very standard template that uses a valueobject of 'name'. Now on the assumption that you have a new record you wish to enter, the first step is not to try and edit any automatically generated primary keys
    i.e. a mysql table
      ID = int (autoincrement) primary key
      Surname = varchar(25)
      Name = varchar(25)
      DOB = date; 
    the form template would offer all these fields for updating/creating) - so delete the ID option as you don't want to touch that
    Next with the value object once its populated it would possibly update the existing record rather than create a new one so when you enter your create option reseting the value object would be a good idea -  names = new Names(); this gives you a clear object for the create record process.
    Last thing, if you are displaying the records in a grid you would refetch the records in an eventlistener for the createrecord function.
    If you would like a test case for this let me know and i'll put something together.
    David

  • Draggable window only works in MS JVM, and not Sun?

    Hello all,
    Our applet needs to support the MS JVM (and therefore Java 1.1). I have been looking to create a draggable Window to replace a Frame that we have since we want the frame to be 'undecorated' (no minimize button, etc). I found some code on this forum to create a draggable window which works fine. But, I would like to create my own title bar on the Window and only have that draggable. When I add the same listeners to the Label instead of the Window itself, the dragging no longer work so well in the Sun JVM, while it works fine in the MS JVM. The problem I am seeing is that if I don't drag slowly it skips, or doesnt drag. Note, I am only seeing this when adding the drag listeners to the Label in the Window, but this works fine when the listeners are on the Window itself. Also, this works fine in the MS JVM. Any ideas? For example, the code below is what has the issue in Sun JVM, but if I replace the 'title.' to 'this.' on the 2 listeners adds, I can drag the window fine in Sun JVM.
    Thanks for you help,
    Aaron
    public class TestWindow extends Window {
            Label title;
            int width=300;
            int height=300;
           Point origin = new Point();
            TestWindow() {
                super(new Frame(""));
                this.setBackground(Color.blue);
                title = new Label("Draggable window");
                title.setBackground(Color.gray);
                //setLayout(new BorderLayout());
                add(title, BorderLayout.NORTH);
                title.addMouseMotionListener(new MouseMotionAdapter() {
                    public void mouseDragged(MouseEvent e) {
                        Point p = getLocation();
                        setLocation(p.x + e.getX() - origin.x,
                                    p.y + e.getY() - origin.y);
                title.addMouseListener(new MouseAdapter() {
                    public void mousePressed(MouseEvent e) {
                        origin.x = e.getX();
                        origin.y = e.getY();
                this.setSize(width, height);
                this.show();
        }

    Sorry, I didn't read your post carefully the first time.... My suggestion would be to add listeners to both the label and the window, although that would make the whole window draggable. To nullify that effect, you'd have to put another component in the main part of your window (Like a JPanel if you could use Swing) and have it eat up any mouse dragged/clicked events that it receives.

  • Quick Find only works once in a Firefox session

    Suddenly, "Quick Find" only works the first time I type in a Firefox session. From the second time onward, the Quick Find bar no more appears. I tried clicking on the "/" key, but no good.
    I have tried un-check and then check again the "Seacrh for text when I start typing" option. But no good, either.
    How can I get it fixed?

    Have you seen
    * [[searching within a page#w_quick-find]]_quick-find
    Try using the single colon ' instead of the slash /
    I also note you may still be on Firefox 9, so it may be worth updating to the current firefox 11. <br/>There is also an old article
    * [[quick find bar opens when typing in text fields]]
    Try Firefox in [[safe mode]]
    * no need to make changes in the first window just click on continue.
    * if problms continue then whilst in safe mode also ensure you are only using the defult theme, and disable all plugins.

Maybe you are looking for

  • HT4623 I have the updated ios6 but my I tunes will not open at all. How can I fix this?

    I don't know how to fix my I tunes I can log onto it on throw the Internet so I know it's the right password. I have the updated ios6 software and have tried everything I can think of. Logging out and turning off the IPad and starting it back up tryi

  • HT1918 How can I delete a card number ?

    I have been trying to change the payment option from a credit card to an iTunes card. So I think I need to delete the credit card number as it was a prepaid. Is there a way to do this?

  • Page Restriction - Authorization Scheme

    I have an application 8736 this application as 3 tabs TAB1: information  TAB2: department   TAB3: Admin TAB3 as a form in which SHOULD be only be view by users which authorisation rights. I have been trying to do this for sometimes now and it is not

  • Poker play

    Are there somebody who knows a link that's have some information about to construct a poker play in java. I need to do this to play in a local and a remote network. Thanks, Vivian

  • Why exchange rate type "EURX" is used ?

    Dear all, I post with FB65 a document with currency EUR. The local currency is THB and group currency is CHF. The document type doesn't have specific exchange rate type ==> by default the type "M" is taken. But, when I post a document with currency E