Is an "active grab" possible in Swing?

I would like to be able to perform an active grab in order to emulate some
behavior that other windows apps have; for example, if a popup is showing
in a native windows app and I click on another window, the popup is hidden.
In a Swing app, if a popup is showing and I click on another window, the popup
stays visible. I could use an active grab to determine that the window should be hidden since it wasn't the one that got clicked on.
Thanks,
: jay

I meant popups as in popup menus. If I have a File popup menu displayed
in a Windows app, and click on another window of a different app, that menu
is undisplayed. In a Swing app, that menu stays visible.
Another situation is if you click the scroll wheel in IE; a scroller icon appears
and simply moving the mouse causes the page to scroll in the direction of
mouse movement. Any key press or mouse click in any window exits this
mode.
These kind of behaviors can only be accomplished by an active grab.
: jay

Similar Messages

  • Activity price calculation without activity not possible.

    Hi,
    I got the following error when I execute KSII ;
    Activity price calculation without activity not possible.
    Message no. KP230
    Diagnosis
    A program error occurred during activity price calculation. The SAP System could not determine the activity price for activity type 250902 in cost center 25093015 because only costs were entered, not activity quantities. The SAP System calculates the activity price by dividing the costs by the activity quantity.
    System Response
    The SAP System sets the activity price to zero.
    Procedure
    Inform your system administrator.
    Please advice why the error occured?

    Hi SAP Genes,
    I am finding an error in One of our Product line "HPI India" where our Cost of Sales Accounting actual COGS cost is very less in comparison with the standard as in the past.as it is marked, as expected as we set it up in the begining of the Year we use Standard Cost we use Aug-July FY, only we are facing this error for this FY 11-12.
    Please take a look at the COGS for HPI. which is marked in Blue all these cost are Highlited,  The actual COGS cost is very less in comparison with the standard as in the past.
    And for rest of the Product Line item is working fine,
    Please suggest me the cause, i am attaching the Analysis sheet as well for your guidance.
    Regards,
    Vijay

  • Activation not possible now try later or use itunes to activate. Tried both not possible it seems.

    Error : Activation not possible now, try after sometime or try through itunes.
    Tried both but not possible.
    Pls help

    Are you running one of the beta versions of iOS 7?
    Has the iPhone been jailbroken or modified to work with other
    than the original wireless provider?

  • Activation not possible: the budget category 9F is not used in FM area

    Dear Friends,
    When i am configuration in "Define Activation of availability control"  than system is showing below error message.
    Activation not possible: the budget category 9F is not used in FM area.
    Please advice where i will maintain in the system.
    Thanks & Regards,
    Pankaj

    Hi Pankaj,
    Just as a hint, for budget you use ledgers 9A and 9B. In AVC you dont use 9A and 9B, you use 9F and 9G but they are linked together.
    BUDGET                   AVC
    9A              =              9F       FOR PAYMENTS
    9B              =              9G       FOR COMMITMENTS.
    You must customize your system to have 9F because it seems to be that you have defined 9A already.
    Please follow Eli´s instructions to customize your system.
    Best Regards,
    Vanessa.

  • An old Question:Is it possible run swing applet in IE?

    Pls tell me what use of Swing if it only can be run in IDE.
    Thank you very much.

    You can use a plugin - see the following which explains all:
    http://java.sun.com/products/jfc/tsc/articles/plugin/

  • Is voice activated dialling possible from a cark 9...

    Apologies if this is really a dumb question.
    Having used a Nokia bluetooth headset for years with my Nokia 6310i, and using voice activated dialling from the headset, I've finally had a cark 91 car kit installed in my car. Can I use voice activated dialling? I have them set up on phone but can't work out how to use them when the phone is in the cark 91 cradle. With the headset you had to push the button and speak after the tone, hence confusion now I haven't the headset and a button to push.
    Thanks, Sue4089

    I tried both methods and, actually both were really easy to do . When I added the DV-AVI file to the timeline and used the Motion properties to scale to 133% (constrained--so both height and width were enlarged), I lost the text I had in the title slide. Then I checked the photos--heads were cut off and on captions under the photos, the last line was missing. (I had enlarged the canvas in PSE and added text.)  I tried reducing the scaling to about 80% which would maintain the captions, which may work--though I have black bars, but I sure had black bars in widescreen too--especially on the vertical photos.
    My test may not be accurate since I don't have a 4:3 TV set any more. I tried the Sidebar setting on my widescreen TV. It may work better on a 4:3 set--I'll try that on someone else's set tomorrow. I had also put text on some photos and each line on the right side was cut off too.  Without thinking I tried to edit it and move it--of course I couldn't because it was "fixed" in the avi file.That's the reason I had asked about editing the prel so I could start the 4:3 project and use everything I had already done in the 16:9 project and everything would still be editable. The draw back on scaling with that method is I have to do each photo individually unless there is a way to batch scale. Is there?
    I am going to have to do more experimenting and viewing on a 4:3 set to decide which way works best for me.
    Thank you so much for your suggested solutions

  • Data loaded into ODS, but no activation possible

    Hello Experts,
    I've data loaded data into an ODS, but no activation is possible!
    In Monitor it just say something like "not activated yet".
    usually it only takes a minute to activate, so I'm confised.
    any suggestions?
    Thanx
    Axel

    Hi,
    In SM37 -> give Job Name as BI_ODSA* and USer as  *  and check is there any job with Active status. If so, We can say ODS Activation is on process.
    With rgds,
    Anil Kumar Sharma .P

  • Netbeans 551: Include all libs in project jar file. Possible?

    Is it possible to manually, or automaticly, include the /dist/lib directory into my "GonioLabt,jar" to make it more 'stand alone', file wise.
    Netbeans generates this dist/README.TXT
    ========================
    BUILD OUTPUT DESCRIPTION
    ========================
    When you build an Java application project that has a main class, the IDE
    automatically copies all of the JAR
    files on the projects classpath to your projects dist/lib folder. The IDE
    also adds each of the JAR files to the Class-Path element in the application
    JAR files manifest file (MANIFEST.MF).
    To run the project from the command line, go to the dist folder and
    type the following:
    java -jar "GonioLab.jar"
    To distribute this project, zip up the dist folder (including the lib folder)
    and distribute the ZIP file.
    Notes:
    * If two JAR files on the project classpath have the same name, only the first
    JAR file is copied to the lib folder.
    * If the classpath contains a folder of classes or resources, none of the
    classpath elements are copied to the dist folder.
    * If a library on the projects classpath also has a Class-Path element
    specified in the manifest,the content of the Class-Path element has to be on
    the projects runtime path.
    * To set a main class in a standard Java project, right-click the project node
    in the Projects window and choose Properties. Then click Run and enter the
    class name in the Main Class field. Alternatively, you can manually type the
    class name in the manifest Main-Class element.

    Yes it is possible. The same question has been
    killing me all day. Here is how I did it.
    (I'm on Mac OS 10.4, but this should work anywhere)
    Netbeans produces the following:
    dist/myJar.jar
    dist/lib/swing-layout-1.0.jar
    I would prefer to have only:
    dist/myJar.jar
    But, as you know, myJar.jar requires the class files
    stored in swing-layout-1.0.jar. I unpacked the jar
    files and examined the manifest files. Here is how to
    unpack and repack the jar files into a single jar
    file:
    First, I renamed myJar.jar to myJar.zip and let OS X
    unarchive the jar for me. I did the same for
    swing-layout-1.0.jar.
    I then dropped the MANIFEST.MF file from
    MyJar/META-INF/ into a new folder on my harddrive
    Then, I dropped the package (its a folder full of
    class files) from MyJar/ into the same new folder on
    my harddrive.
    At this point, the new folder contains:
    /newFolder/MANIFEST.MF
    /newFolder/myPackage/
    Then, I grabbed /dist/lib/swing-layout-1.0/org/ and
    dropped that into the new folder.
    We now have in the new folder:
    /newFolder/MANIFEST.MF
    /newFolder/myPackage/
    /newFolder/org/
    Almost done:
    Open the MANIFEST.MF file with a text editor. Mine
    looked like this:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: 1.5.0_07-87 ("Apple Computer, Inc.")
    Main-Class: ohm.GUI
    Class-Path: lib/swing-layout-1.0.jar
    X-COMMENT: Main-Class will be added automatically by
    build
    I replaced the ENTIRE contents of the file with
    this:
    Manifest-Version: 1.0
    Main-Class: myPackage/Main
    Where 'myPackage' is the folder containing my class
    files, and 'Main' is the class containing the
    'main(String[] args) method.
    Save the file and we're ready to repack the archive.
    Open the command line (in OS X this is the Terminal)
    I assume the syntax is the same in windoze; Navigate
    to the new folder you created.
    In OSX: cd /newFolder
    in windoze: cd \newFolder
    Then use java's jar command:
    jar cmf MANIFEST.MF MyJar.jar *
    What this does:
    jar is the command. cmf are flags: the 'c' is for
    creating a new jar archive, the 'm' is to specify a
    premade manifest file, the 'f' tells jar to write the
    results to a file. MyJar.jar is the name you have
    chosen for the resulting .jar file. the '*' is a
    wildcard character that tells jar to put every file
    in the present working directory into the new .jar
    Thats it! This produced myJar.jar which worked fine
    by itself, as it included all the classes from
    swing-layout-1.0.jar. It would be a trivial matter to
    write a shell script to do all this for you, unless
    of course you use something silly like windows, in
    which case you'll have to write a batch file or use
    python or something. Good luck, I hope this saves
    others time, drop me a e-mail if this was at all
    confusing! [email protected]
    You should be aware that doing this may well violate the licensing terms for third-party libraries
    By the way, what's silly about using Windows? Are you saying you don't develop for Windows because it's "silly"?

  • "Transfer structure is not yet active" in each variant of a process chain

    I run a big process chain in test environment that I had never run before, but find almost every variant of the process chain show the red error, when I right click the red color variant, get the msg at the status bar that says "Transfer structure is not yet active".  Is there a way that can do the mass activation of all master data attributes?
    Thanks

    Hi I have the same error message
    When I intend running the program to Activate Transfer Structures I get  the following error messages
    @5C\QError@     Activation not possible: Transfer structure contains invalid field LANGU
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    @5C\QError@     Activation not possible: Transfer structure contains invalid field NODENAME
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    @5C\QError@     Activation not possible: Transfer structure contains invalid field LANGU
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    @5C\QError@     Transfer structure 0MATERIAL_HIER_AB1 NOT activated successfully Activate manually
    Please Advise on how to fix it .

  • How do I turn off background ni file activity when not using Labview? files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, nicitdl5.exe

    How do I turn off background ni file activity when not using Labview? I use labview rarely, and I also use my computer for demanding multimedia applications, including multitrack digital audio recording. I need to reduce as much background activity as possible, and taking a look with task manager I see files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, and nicitdl5.exe running even when I haven't used Labview (8 I believe). These files run even after I right click the NI icon on the lower right and turn off the application. I would like the computer to boot up without these files, and for the necessary files to be activated only when I start the program.
    Can this be done or do I have to remove labview from the system to improve performance?
    Thanks

    Hello, those processes are part of running NI services that start when Windows boots.  These processes serve varied purposes and stopping them can have undefined and unknown consiquences for your NI products.  These products run at "normal" priority meaning that they should be preempted by any process running at a higher priority which I would expect your other application to be doing given their time sensitivity.  That being said, in Windows XP (I can't speak for other OSes), you can lower their priorities even greater through task manager (right click the process»set priority) to further remove them from contention for resources.  If you want to prevent them from running you can set the service startup type to "manual" in Control Panel»Administrative Tools»Services.  Right click the process go to Properties and Under the General tab choose Startup Type»Manual.  This will start up the processes only when something directly starts it up.  LabVIEW will start these processes up as it attempts to use them.  When you shut down LabVIEW you will need to manually shut down these processes through task manager.  Again, doing this can cause problems with your NI products on your system and it is not advised.
    Travis M
    LabVIEW R&D
    National Instruments

  • My iPad is requesting activation after almost 1 year of usage

    I was enroled as iOS developer and downloaded the iOS 6 Beta 3, everything was working just fine, when the final release came out I tried to buy the full release but iTunes reported I was on the last version, so no update was possible.
    Last night, when surfing the web with the iPad2, a message came out saying activation was needed but no activation was possible because an error message keep saying that there are no activation servers available.
    I tried a restore from a previous backup but the result is the same.
    I tried downloading the ipsw of iOS6 from the apple developer website but iTunes reports the firmware is not compatible with the hardware (It's an iPad2 16Gb wifi) and I tried both ipsw available.
    Please help me beacuse my precious iPad2 has rendered unusable.
    Thanks in advance

    I tried that trought Xcode but no changes, actual build is 10A403 and no fresher version is available, I'm starting to think that I can give away my iPad to my daughters for them to play with it as if it was a mirror for their dolls.

  • To find all activities possible in a role

    hi everebody
    I must find where the 08 activity is possible for each authorization object in a role.
    it's a very large role with hundreds authorizations objects. I don't want open each authorizations objects to look into!
    is there a table ? (AGR_1251 is not appropriate because I can see activities which are in place but not the activities wich are possible)
    thanks for your answers

    Such a report does not exist but it is easy to produce the list using SE16:
    1. Table TACTZ contains the valid activities für authorization objects. In an ECC 6.0 I find 127 authorization objects which use activity 08.
    2. Take the result to search for authorization data in the role using table AGR_1251. Feeding the select option using upload from clipboard with the result of the first step works quite fast. Restrict the selection by FIELD = ACTVT.
    Kind regards
    Frank Buchholz

  • Ethernet active, airport also active... how to stop this security problem.

    Im not sure if anyone else is noticing this but this is becoming a problem in an enterprise environment.
    In the "Network Port Configurations"
    I have "Built in Ethernet" as the top, then Airport below that.
    The problem is that when the Ethernet is working (active) AND the airport is turned on and connected to a network it is ALSO active, grabbing an IP# and essentially bridging the two networks.
    I have tested this many times and it works every time.
    For example:
    My MBP is connected to the LAN using Ethernet, and traffic is going through the Ethernet and has it's own IP (192.168.0.104) given by DHCP. If I turn on Airport and it finds (and connects) to a network (for example... Linksys? LOL) it will also grab an IP from that Airport network.
    Now... if any services (AFS, Windows Sharing, WebSharing..etc) is turned on, you can access the MBP from EITHER network (Since the Airport grabbed and assigned an IP)!!! Even though in the "Network port configurations" it is setup to use the "Built-in Ethernet" first, if it can't find that then use Airport... BUT from what I can see this ONLY applies to Outgoing traffic and not necessarily both incoming and outgoing. It is essentially bridging the two networks
    I cannot find a way to prevent this network security gap automatically. (If Ethernet is active then do not connect to any airport network, even if it's in my preferred list or an open network)
    Another side effect...in an office environment which has Wireless services on the LAN, if your Airport is turned on and your using your Ethernet connection, your computer is using up 2 IP#'s out of your DHCP pool!
    Anyone else having or notice this problem?

    If I turn on Airport and it finds (and connects) to a network (for example... Linksys? LOL) it will also grab an IP from that Airport network.
    And why would you do this? If you are connected to the LAN through the ethernet port why turn on Airport too? Or why have your Mac connect to an unknown WLAN by default?
    When I take my MacBook to school I only have one connection active. On my Mac Mini that is running MacOS Server I have both ports enabled but I guess this is not the most common situation.
    Now... if any services (AFS, Windows Sharing, WebSharing..etc) is turned on, you can access the MBP from EITHER network (Since the Airport grabbed and assigned an IP)!!!
    People will be able to access your /Library/WebServer/Documents/ folder (or any of the users web documents folder) but that's not a security problem unless you have changed (and messed up) the default Apache definitions, changed the web server documents ownership and/or permissions or have some problematic PHP code or CGIs. As for AFS, Windows Sharing or FTP people won't get into your Mac unless you have and empty password or they know your password.
    Even though in the "Network port configurations" it is setup to use the "Built-in Ethernet" first, if it can't find that then use Airport...
    When you place the ethernet port first it really means "use this port first and use the others too whenever they are available".
    PowerMac G5 1.8   Mac OS X (10.4.9)   MacMini (10.4.9 Server), MacBook 2.0, 2nd internal HD, FW 500GB, FW 80GB

  • No activation of relationship to object RY 50000049 in pl.version 50000049

    Hi experts,
    I am new to HR.
    I have deleted a user assignment to a position and assigned another user to the same position.
    I have released the customizing TR from Development, but when I import it to Qualty I am getting the following error:
    TR log:
    No activation of relationship to object RY 50000049 in pl.version 50000049
    RY 50000049 in pl.version 01 does not exist -> activation not possible
    No activation of relationship to object RY 50000051 in pl.version 50000051
    RY 50000051 in pl.version 01 does not exist -> activation not possible
    No activation of relationship to object RY 50000055 in pl.version 50000055
    RY 50000055 in pl.version 01 does not exist -> activation not possible
    Errors occurred during post-handling RH_ACTIVATE_PDOBJECT_AFTER_IMP for PDST T
    The errors affect the following components:
       BC-BMT-OM (Organizational Management)
    Please suggest.
    Regards,
    Karthik

    Hi,
    Plan versions enable you to carry out various simulations and compare plans in the system in parallel. As a rule, only one plan version depicts your enterprise's current organizational plan.
    Implementation Guide (IMG), under Personnel Management -Global Settings in Personnel Management -Plan Version Maintenance-Maintain Plan Versions and Set Active Plan Version in that table see which plan version is active if you are using 01 as plan version cross check is current and active plan are checked if not please check.
    2. Check the switches PLOGI PLOGI shld be with 01 integration
    Thanks

  • Apps doing malware activity?

    Hi guys,
    I know that the applications on iTunes are checked at least for stability issues. Are you guys aware of any checks for virus like/malware activities? I have a wireless account which I only use with my iPhone, and got a warning about copyright infringement.
    It says I share files over BitTorrent protocol using Port: 46367. I don't have any BitTorrent applications and my phone is not jailbroken. All the applications that I have are purchased through iTunes (and they are mostly free apps).
    As I cannot pinpoint which application is doing this backdoor activity, I don't know which app to get rid of.
    Can I file a complaint giving the list of the applications that I have, and have them checked for this kind of activity, and possibly have them removed from iTunes?
    Or what do you guys suggest?

    That was what I thought (without having solid information about it), I specifically told them I was using associated wireless account only with iPhone, but the IT department person that I talked counted me 3-4 application names which he said was working on iPhones (unfortunately I don't remember the names).
    This could be useful information though. Thanks for pointing out.
    It is kinda getting out of the focus, but is it possible that DHCP logs may not reflect accurate information?
    Message was edited by: coolbukalemun

Maybe you are looking for