When, where, and how is a GUI event created for a Swing component?

Somebody please help me with this issue !
Heavy weight (AWT) components such as JFrame, JDialog, JApplet, and JWindow have
native peers. As I understand, the senario of event creation for such heavy components
is something like follows:
1. A mouse click happens in a heavy component.
2. The native platform (i.e. the OS) captures the mouse click event and
store it as a native event somewhere in the system.
3. java.awt.EventDispatchThread gets this message and translates the native message
into an AWTEvent. When creating the AWTEvent, AWT actually looks up a hashtable
for the reference to the heavy component from the reference to the native window.
The hashtable stores all the pairs of heavy components and their native peers ever
created during the session. Now the AWTEvent includes a reference to the "source"
component that generates the event.
4. java.awt.EventDispatchThread dispatches the AWTEvent to the heavy component
for furture processing.
As for light weight (Swing) components such as JButtion, no native peers are attached.
So, there is no mapping from native peers to light weight components.
After a mouse click happens over a JButton, how, when, and where is the corresponding
event created and finnally routed to JButton. Could somebody give a sketch of the
senario? Thanks a lot.

Basically for Swing components, it would have to figure out based on the size and location of the components which one the click happens in. One could simply know that this panel is so big and it has such and such components in it which are however big and located at whatever point. It's a matter of digging down through components to find the lowest (or would it be highest) one.

Similar Messages

  • Where and how to find the storage locatation for the consignment stock

    where and how to find the storage locatation for the consignment stock (customer stock )  for more than one storage location .
    table :msku
    material no    -   werks - batch
    xxx                   sg11  - 200352ac
    table : mchb
    material no    -   werks  -lgort - batch
    xxx                   sg11   sg10   200352ac
    xxx                   sg11   gs11   200352ac
    note : each stock location having same batch no in different storage and my question how to find which link for msku to mchb .

    Hi,
    Try the table MARD: Storage Location Data for Material, where in the field LABST will give the stock field, against a given material/plant/Storage Loc.
    Regards,
    JLN

  • Where and how can I purchase a CD for installation of 3.6.6?

    I have dial-up Internet. After downloading 3.6.6, I cannot open it, due to "File is Corrupt". Where and how can I purchase a CD for installation of 3.6.6?
    == Operating system ==
    Microsoft Windows XP

    You can't. This issue can be caused by anti-virus software. Try disabling it while you install Firefox. '''Do not forget to enable it again!'''

  • Where and how do i get a battery for my macbook

    yes, i just asked a question about batteries but i did not address this issue. where do i get a battery when i need a new one, how much are they, and who puts them in. if apple needs to put it in how long does it take them.
    also when i keep my macbook plugged in while using it, that doesn't hurt the battery at all right?
    thanx!

    *"where do i get a battery when i need a new one"*
    ummm... click the Store link at the top of this page
    Otherwise: http://www.apple.com/buy/
    *"if apple needs to put it in"*
    You do it yourself. It takes 15 seconds
    *"that doesn't hurt the battery at all right?"*
    Nope

  • Where and how can I get new maps for my Nokia 330?

    Shortly after having bought my 330, I discovered a missing highway, hence I really need a map upgrade.
    However, no map upgrade is available at Nokia's website, and neither is one at the Route 66 website. It looks like the maps are from Navteq and that I should buy a new one at Navteq's website, but the 330 isn't listed there.
    So, am I true if I buy a new map from Navteq for my Nokia 330 running Route 66 Navigate 7?
    Help would be greatly appreciated
    Olivier

    I have exactly the same problem of a very poor satellites level since the beginning.
    I am also a little bit disappointing about the number of contact points to send back the GPS. When I bought the GPS, I was thinking that NOKIA will have a strong support, good sofware update, etc... Unfortunately, the GPS N330 is stopping to work at certain time, this is why now I understand the Reset button, so I have to reset it several time.
    So I am not happy at all, and when I will have the opportunity I will buy another GPS from a manufacturer which is specialised with the GPS
    For the small story, I bought at the same time a N70, and I am not happy also, as it cuts the running communication, it resets sometime without any explanation..
    So it was the first times, but now hat will be the latest.

  • Where and how can I download free apps for my iPad

    Hi, I just bought an ipad2. Can anyone tell me how can I download some free apps for my device?

    If you go into the App Store through your iPad and look to the bottom of your screen, you'll see the words "Featured", "Genius", "Top Charts" and so on. Tap the "Top Charts", and it'll take you into the top Apps but they'll be split by "Top Paid" on the leftside of the screen and "Top Free" on the rightside of the screen. Click on the "Free" button of any App that you'd like to download. You can remove any App that you don't like, so don't be affraid to play around with new Apps.

  • Where and how to set a security code for wi-fi connection

    I am running OS 10.8.5 on my MacBook Air and have an Apple Wi-Fi personal connection.  I havn't needed a security code for my network but we are trying to add a wi-fi connection to our Dish Network Whole Home system which consist of two receivers.  In the set-up procedure it asked for a "Security Key" and we don't have one.  I cannot find anything that will work in this step and it will not connect w/o one.  I do not how to do this nor can I find an area for this option.  Can anyone tell me how to do this ?  The Dish Network "connection kit" is set up for wireless.  I have tried the #'s on the modem itself and various others I found in the system preferences under wi-fi.  I am at a complete loss here !!!!!!
    Thank you in advance for your help b/c I KNOW there is someone out there that knows how to do this.  And....it likely is a very easy thing to do - just not me !!

    Contact Dish technical support since it is their product.

  • Where and How do I get the documentation for BADI --- HRWPC_PCR_APPR_NEXT

    Hi,
             Could anyone plz help me out in finding the documentation for the
             BADI --> HRWPC_PCR_APPR_NEXT.
    Thanks & Regards,
    Deepak

    Hi Deepak,
    search on help.sap.com as per the version and release on which you are working currently..
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/00/173bcba8c54de3ba4ce23835860260/frameset.htm
    also have a look on below thread...
    Re: HRWPC_PCR_APPR_FORM BADI
    also have look in google
    http://www.google.co.in/search?hl=en&q=HRWPC_PCR_APPR_NEXT&meta=
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • When going from a Mac-based Ai to a PC based Ai, the documents "Font" are not found on the PC version?  (mostly Helvetica) where and how do I get those Fonts?  And/or, can I use the Mac version of these Fonts?

    When going from a Mac-based Ai to a PC based Ai, the documents "Font" are not found on the PC version?  (mostly Helvetica) where and how do I get those Fonts?  And/or, can I use the Mac version of these Fonts?
    Thanks, Rich

    In order to be cross platform you must be using the Open Type version of all fonts to cause the least disruption. Macs can read and process the Windows .ttf  type format but PCs can't process Mac formatted type. Most recent versions also cannot use the older PS Type 1 fonts.

  • When and Where and how to use Proxies

    hi
    New to Xi Can anyone explain When and Where and how to use Proxies
    Mohit

    Proxies: are interfaces which will get executed in the application system.They can be created only in the system from message interfaces using the proxy generation functions.
    The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
    The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.
    The Proxy currently has the following components available:
    1. ABAP Proxy – Communication using XI or Web Services
    2. Java Proxy– Communication using XI (J2EE)
    JAVA Proxies:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP Proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    ON SDN TV
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#
    Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
    ABAP Proxies uses Webservice and Http Protocols. And if you use RFC it is mainly meant for Sync. call. But Proxies is used for both Sync and Async.
    If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
    Re: JDBC Sender select/update problem
    If u generate proxy for outbound interface then its client proxy and for inbound interface its server proxy.
    In client proxy u can call the method to send messages but u can't modify it but in server proxy its possible to write a user code within the method to execute proxy.
    CLIENT PROXY:
    A WSDL description from a UDDI server (or an Internet page) is usually used to make a service executable in the Internet and to describe the interface of this service. You require a client proxy and not a server proxy to call this service by using the Web service infrastructure.
    SERVER PROXY:
    You can only generate ABAP server proxies from a WSDL description if they originate in the Integration Repository.You can also generate server proxies for Java and client proxies for ABAP from message interfaces.

  • I am attempting to upgrade from Adobe Premier Elements 9 to Adobe Premier Elements 13 after using 13's trial version for a few weeks.  I am unable to find where and how to do this without losing the project I have been working on.  Please help?

    I am attempting to upgrade from Adobe Premier Elements 9 to Adobe Premier Elements 13 after using 13's trial version for a few weeks.  I am unable to find where and how to do this without losing the project I have been working on.  Please help?

    Vere Clarke
    Premiere Elements 9.0/9.0.1 and Premiere Elements 13 are standalone products.
    So, you can have both on the same computer, but only open one for your work.
    The classical recommendation is to finish a project in the version in which it was created since there
    is no guarantee that a project from an earlier version will open in the later version. Probably will, but
    no guarantees. And, when you do explore this, do it from a copy of the earlier version project. Once you
    take the earlier version project into a later version one, you cannot go back to edit the later version edited
    project in the earlier version program.
    If you have both versions (9 and 13) on the same computer and you have not moved, deleted, renamed any of the version 9's files/folders,
    right click the saved closed Premiere Elements 9.0/9.0.1 project file, select Open With, and then Adobe Premiere Elements 13.
    (Your 9.0/9.0.1 saved closed project file should be found in Libraries/Documents/Adobe/Premiere Elements/9.0.)
    Please review and consider. If any questions or need clarification, please do not hesitate to let me know.
    Thank you.
    ATR

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

  • TS1702 The application "video converter" says that I can retrieve my converted files through iTunes.   Where and how does that happen?

    The application "video converter" says that I can retrieve my converted files through iTunes.   Where and how does that happen?

    I see an iPhone App called Video Converter but not an iPad app. When to do a search, it comes up with a whole bunch of apps so perhaps if you tell us exactly which app it is .....

  • Where and how users and password are stored?

    1) I'd like to know where and how users and passwords are stored in portal30_sso schema.
    Does anybody know something about?
    2) Why have I to start httpd with ssl enabled as root user? Isn't it insecure?

    This only applies to Unix
    Mike
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sebastiaan van Dijk:
    Hi,
    When the portnumber is under 1024, you have to start it as root, but you can run it as another user.
    So, your SSL webserver instance can run under another user than root. Root only has to start it up.
    HTH, Sebastiaan<HR></BLOCKQUOTE>
    null

  • TS1424 Where and how do I report a faulty download/purchase? A number? An email? Help please

    Where and how do I report a faulty download/purchase? Phone number? Email?

    Welcome to the Apple Community.
    Try deleting the problematic tune (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

Maybe you are looking for