JComboBox Event? How do I know when a JComboBox has been clicked?

What event is fired when a JComboBox is pressed?
I can tell when an item has been selected but I want
to know when the combobox was clicked originally.

Two (untested) ways of doing this:
1. Subclass JCombobox and fire an event when the box is opened. To find out when its opened, you'll probably have to look at the source for JCombobox and override the method.
2. use the model as a clue. Chances are the underlying combo box model will have its getValueAt() method called when the user opens the drop down box. Cant be sure that thats the only time itll happen tho,,
DS

Similar Messages

  • How do I know when my unlock has been processed?

    Hi all,
    Sorry for what's probably a dumb question, but I can't find an answer anywhere.
    I have an AT&T iPhone 4S, and I recently called them to request an unlock.  Since it was on a business account while under contract, they had to submit a request directly to Apple instead of just using the web form.  However, they told me that they never received anything from Apple during the process that would indicate that I'll be notified once the request has been approved.  So from my understanding, completing the process on my end involves tethering to iTunes and restoring the phone - but how will I know when it's actually time for me to do that? 
    I should add: I am no longer with AT&T, or in touch with anyone else who is still on the account that I had been part of.  So if anyone else on that old account gets notified, I won't know.  And since I'm not with AT&T myself, I feel doubtful that they'd let me know.
    Thanks for your help!

    Apple does Not Unlock phones... This is done by the Carrier.
    About Unlocking...
    http://support.apple.com/kb/HT5014
    Also See this  AT&T Unlock Eligibility

  • How do i know when a datagrid has been sorted?

    i can figure out what/how a datagrid has been sorted but i can't seem to catch *when* it's been sorted. there's no "sort" event, headerRelease is happening before the sort and CollectionEvent & DataChange aren't firing when sorted. left scratching my head.
    any suggestions?
    thanks.

    thanks alex, building the test case helped me work out the issue (i think).
    test case has creationComplete that builds dummy data ArrayCollection (bindable), refreshes the datagrid dataprovider, then adds the eventListener. if i put the addEventListener call before any of this, it gets ignored.
    in the real app, the data is coming in via coldfusion (cf) remoting calls. i was adding the eventListener before any data was returned, guess i'll have to work out something in the result handlers.
    timing bits my ankles off again ;-)
    thanks for the help.

  • How do you know when Acrobat xI has been downloaded?

    How can you tell Acrobat Xi has been downloaded?

    What is your operating system?  Where did you download it to?  Did you also install it after downloading?

  • Hi, for Iphone tips page "see when a message was sent " , then how do I know that the message has been read?

    Hi,
    for Iphone tips page "see when a message was sent " , then how do I know that the message has been read? Thanks  

    Hi Bhavesh,
    Please see my replies inline:
    > 1. If i remember your ealier thread correct also, I
    > would suggest that you drill down in Where Did the
    > Error Occur. Instead of no restriction, select
    > Adapter Engine and also your Corresponding Adapter
    > and then trigger the error message and check if the
    > alert is triggered.
    When I click on "Where did the error occur" -> "Adapter Engine", I do not have a choice of errors from the dropdown. I only see one option "*".
    Is this right?
    > 2. ><i>When I click on "Alert Inbox" ->
    > "Subscription", I get a message "The table does not
    > contain any entries". Is this correct?</i>
    >
    > Yes this is correct. You have defined in your alerts
    > as the option as FIED RECIPIENTS. You also have
    > options like Reciepients via User Role and
    > Subscription Authorization in ALRTCADTDEF.
    >
    I see.
    I've also managed to overcome this problem by selecting "Subscription Authorization" in the Alert Category Definition page, and entering SAP_XI_MONITOR as one of the roles.
    After that, I am able to see a the alert category defined. By default it's already subscribed, because I'm using the same user - PISUPER.
    I saw in another post that the option "Suppress Multiple Alerts of this Rule" should be left unchecked. I tried that, but I still do not see any alerts raised in ALRTDISP.
    What did I miss?
    Please help.
    Thanks.
    Ron

  • How can I check how many times or when an app has been re-downloaded on my iphone

    How can I check how many times or when an app has been re-downloaded on my iphone. I know how to check purchases but I am looking for how to check when an app had been re-downloaded on my device whether it's through my device or Apple ID

    You mention "lack of control" several times.  The control is there - you control the Apple ID and password that owns the app.  No other Apple ID can use the app.  You have not shared your Apple ID or password with anyone, so you and only you own the app.
    Therefore, the number of times the app is downloaded or re-downloaded is completely irrelevant.  You might, for example, decide to purchase a new iPhone or iPad and download the app there.  Or the app developer may issue a new version which you download.  None of this matters regarding your "control" of the app.  All that matters is that you own it and nobody else can use it.

  • HT5824 hi..i m not sure if i have used the icloud before..how do i know if my iphone has been backed up by icloud?

    hi....i m very blur at this...not sure if i have used icloud before...how do i know if my iphone has been backed up ?
    it all happened 2 days ago when my iphone lost everything after updating to ios7. I couldn't even restore back up even i have done my back up before updating...
    just trying my luck here , if anyone can help he to retrieve my photos and notes.

    Access iCloud.com on a computer to check
    http://support.apple.com/kb/PH2702
    Lost or Stolen iOS device  >  http://support.apple.com/kb/HT5668

  • Project Managers to know when a task has been updated for the last time

    Hi,
    I would like know if there is any timestamp feature in Project Server 2007, so that it can be possible for Project Managers to know when a task has been updated for the last time.
    Thanks in advance

    Hi,
    If you are using the My Tasks to drive the task updates then you can use the 'Applied Requests and Errors' available under 'Go To' in the Task Updates area. Here the PM can find when requests have been approved and how many updates he/she received for a
    particular task (by clicking the task name) etc.
    Hope this helps
    Paul

  • How do I know if the program has been downloaded to another computer or not?

    How do I know if the program has been downloaded to another computer or not? Also how do I know if it is the educational version or not?

    What exactly? Your questions don't make much sense since you failed to provide an explanation what problem you actually have, what program you actually mean and so on. That aside, edu versions are technically not different from the normal programs, just their licensing is different.
    Myleniumu

  • How do i know if my iphone has been syncronize with other device and how to remove it.?, how do i know if my iphone has been syncronize with other device and how to remove it.?thanks

    how do i know if my iphone has been syncronize with other device and how to remove it.?, cuz. I had found out that one of my co-work who was updatinng my phone was syncronizing to his name..in this case my photos is been syncronize to his acount.pls help...
    thanks

    Hey Cherielly,
    Thanks for using Apple Support Communities.
    Since you are having an issue with syncing to a different apple id. You may want to make sure you are signing in with the correct apple id.
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht1311
    Have a nice day,
    Mario

  • How do I know if my iPad has been virus infected through an attachment in an email opened

    How do I know if my iPad has been infected by a virus through opening an email attachment

    Read http://en.wikipedia.org/wiki/IOS_jailbreaking
    It will void your warranty and cause Apple to no longer support your mobile device.
    Allan

  • HT201328 How wil I know if my phone has been unlocked?

    I've just phoned t-mobile to have my phone unlocked, how will I know when this has happened

    see here for process
    http://support.apple.com/kb/HT5014

  • How to find out when a file has been written to ?

    Hello All,
    In an application I want to open up a file (while letting another process write to it). As stuff is getting written to the file I want to be able to process that data (getting close to real-time as possible). How would one go about finding out when new data has been written to the file ? Does Java provide some alerting mechanism for file changes ? Thanks in advance...
    -Pete

    Maybe you could keep tabs of the file size. If the file size grows (which it will do each time the writing process flushes that files output buffer), then the file was written to.
    What I'd like to know is if there is some way to monitor the entire drive for changes and respond to stuff like that. I know that the Win32 API provides services that monitor the file system for changes, but I don't know if other OS's do... or if Java provides an interface to those features.

  • I need to set up a DSN for my Thunderbird 24.3.0 or at least know when the email has been received by a client.

    My employer wants to be able to know when a client has received an email sent by us. I have researched DSN extensions and add-ons for Thunderbird but the only one I could find was not compatible with version 17. I updated to version 24 and still I can not find a solution. All we want is to be able to know when the client has received our emails.

    Hey,
    There are a number of them [https://addons.mozilla.org/en-US/thunderbird/search/?q=dsn%20extensions DSN extention search results]
    If you have any questions about the support for those add ons please see their support page that is listed on the add on profile page.

  • How do I know if my Mac has been infected with the virus

    I recently was asked to download an Adobe Acrobat reader update but before I was made aware that the current virus was contained in a similar request, I downloaded what I assumed to be a legit update.  I currently do not use my mail program on my Mac so am unaware of any spam being distributed from the computer.  How can I identify if my computer has been infected with this Trojan Horse virus?

    Two Helpful Links Regarding Flashback Trojan
    A link to a great User Tip about the trojan: Flashback Trojan User Tip
    A related link in the tip to a checker: Malware Checker Dowload Link
    A Google search can reveal a variety of alternatives on how the remove the trojan should your computer get infected. This can get you started.
    For now I recommend the User Tip from etressoft to detect and remove:
    Checking for and removing the "Flashback" trojan

Maybe you are looking for