Set key accelerator for JComboBox

Hi,
I would like to set a key accelerator (Alt+...) for the list items of a non-editable JComboBox. Something like what you do for Buttons and check boxes with setMnemonic(). Is there a way to do it? I couldn't find anything.
Regarsd,
Plamen

I'm not sure about being able to use the ALT key with a combo box, but once the box has focus, you can press a letter on the keyboard and the list will jump to the first item that begins with that letter. You may have already known about that, but I thought I'd throw it out there just in case.
- Sheepy

Similar Messages

  • Setting key photo for iWeb photo album

    This one's confusing me a little. I'm trying to select a key photo for my album in iWeb, but it keeps defaulting to the first photo in the album. I would've thought it would be similar to selecting a key photo for an event in iPhoto (i.e. just scrolling to the desired photo and hitting the space bar), but no go. Just wondering if anybody has figured out how to do it. Thanks

    I think the iWeb programmers thought we would be excited enough by the mouse over feature of the albums.
    You could send them feedback suggesting this feature for a future update as others have asked the same question.
    http://www.apple.com/feedback/iweb.html

  • Setting 'key photo' for Faces?

    On an iPhoto event, you can select one photo and set it as a 'key photo'.
    Can the same be done with Faces? How?
    Dave

    in faces view skim across the person you want until you see the photo you want for a key photo and hit the space bar to set it (this works for events too)
    You really should take 2 1/2 minutes to watch the iPhoto tutorial - http://www.apple.com/findouthow/photos/#faces
    LN

  • Choose key photo for album

    Dear Common Wisdom:
    I have created a web site of photo galleries with an index page at http://www.byzantineaegina.org
    How can I choose a key photo to represent each gallery on the first page?
    Thanks!
    CJ

    you can set key image for albums page, as long as the image is one of the first of 50 images in the album (aka photos page) and you need to know how iweb widgets work.
    have a look: http://temp.cyclosaurus.com/revolving/keyImageAlbums/keyImageAlbums.html
    notice the displayed image is the 4th image in the album, not the first image.

  • Trouble using Accelerator for CTRL+S

    Hi,
    I set an accelerator for CTRL+S (Save), like this
    item = new JMenuItem("Save");
    item.addActionListener(new WeakActionListener(saveAction));
    item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, KeyEvent.CTRL_MASK));Inside my JDialog, I have a lot of textboxes, and if I am inside one of the text boxes, and I press CTRL+S, nothing happens. is there any solution to this?
    thanks

    I'm having no problems getting the accelerator to work while in a text field. What kind of text box are you using? It seems to work fine with JTextField.
    I'm also curious why you didn't simply put the saveAction in the constructor for the JMenuItem.

  • Key accelerator displays as Ctrl-S?

    I have a popup menu in a JText area. I've set the accelerator for the item to Ctrl S . But when it is displayed it displays as Ctrl-S (ctrl dash S) instead of Ctrl+S (ctrl plus S). Code snippet:
    mSaveItem.setAccelerator(
         KeyStroke.getKeyStroke(
                   KeyEvent.VK_S,
                   java.awt.event.InputEvent.CTRL_DOWN_MASK));
    What am I doing wrong? Or is this part of the default L&F?
    Thanks
    Lori <*>

    Thanks for the fast reply - it's been driving me nuts :-)
    Lori <*>

  • How to set-up Mainstage for 2 Keys, 2 patch lists in a single concert?

    Am new to Mainstage and Logic. Need help ASAP for a show, please, and am too lazy to read the manual   How do I set up Mainstage for 2 Keys with 2 performers each controlling a patch/set list of their own in a single concert file? First rehearsal is Monday (Memorial Day) with opening night a week from today, so time is of the essence, and your help is sincerely appreciated! Thanking you in advance. --Jon

    koolzero wrote:
    When I start TI after I pointed it to my repository I get a message that no packages applicable were found.  I did not download all the updates just a few to test it, will it not work unless all updates are downloaded?
    Did you change status from test to active in UR before downloading? If not you can change the downloaded items in the manage repository menu.
    Assuming the items you did download were not already installed on your client with TI it should work.
    Message Edited by zilla on 2009-05-06 10:23 PM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

  • Photos will not allow me to set the key picture for the album or event

    Photos will not allow me to set the key picture for the album or event - it is set to grey !
    Anyone else had this and found why ?
    new PHOTO app replacing iPhoto bugs/ Problems OTHER PROBLEMS :
    - no longer has a five star rating system
    - my keywords for selecting albums are gone.
    - cannot copy location of one photo to another
    - cannot have an album with  keywords AND rating > a value
    - cannot set key photo of album/event
    - multi parameter search feature gone
    Anyone got any ideas how to get around this terrible downgrade of the software ?
    BTW I have just discovered that iPhoto and its' libraries are still there, so I can go back but be left behind and frozen in time on this version if I do.
    Photos now take up 700Gb whereas it was 350Gb  #@!$#@!@#!@#
    Thanks

    That are all good points - but Photos is a completely new application. and it is only version 1.
    Continue to use iPhoto, girraween; the next update to Photos will probably add a few more features.
    iPhoto 9.6.1 is working very well with MacOS X 10.10.3.
    The migration let iPhoto installed and also your iPhoto Library will still work with iPhoto.
    If you did not uninstall iPhoto, it will still be there in your Applications folder.  And if you had updated to the latest version iPhoto 9.6.1 before you upgraded to MacOS X 10.10.3,  you can simply drag iPhoto back to the Dock from your Applications folder and continue to use it. Double click iPhoto and confirm, that you want to open iPhoto and not Photos.   It is not compulsory to use Photos, while it it still the first release. When you launch iPhoto, you will see a warning, that the iPhoto Library has been migrated to Photos, but simply click the "Open iPhoto" button.The library will still work with iPhoto. ()see: If Photos won't open a library that you already migrated - Apple Support
    If your iPhoto version is not iPhoto 9.6.1, you need to update it.
    See this User Tip:
    Usually it will work to reinstall instead of updating:
    Get iPhoto 9.6.1 if you didn't update before OS... | Apple Support Communities
    The main idea is to move the iPhoto app to the Trash, so Spotlight does not see it as installed, reload the AppStore, and then to try to download again from the App Store - from your Purchases tab, not from the main page, since you can neither buy iPhoto nor update it, but you can reinstall, if your AppleID is associated with it.
    Meanwhile you may want to send a feature request to Apple using the feedback form. Apple - Photos - Feedback
    I hope, Apple will listen and add more features to Photos to make it usable for large Photo Libraries.

  • What is the syntax for set-key RSA-PUB in JCOP Shell?

    I am trying to perform Put Key for the RSA DAP Verification Key using JCOP Shell.
    I have tried variations of the following:
    set-key 115/1/RSA-PUB/[128 byte public key modulus]
    set-key 115/1/RSA-PUB/A001[1 byte public key exponent]A18180[128 byte public key modulus]
    set-key 115/1/RSA-PUB/A001[1 byte public key exponent]A180[128 byte public key modulus]
    But when I send the following command on a SSD with DAP Verification privilege after mutual authentication
    put-key -m add 115/1
    I get jcshell: Unknown exception: java.lang.ArrayIndexOutOfBoundsException: 161 (or 172)
    Thanks,
    Ming

    The format for RSA-PUB is:
    <pubexp length><pubexp><mod length><mod>
    For example:
    115/1/RSA-PUB/0301000180xxxxxx....

  • How can I more easily set the Key Photo for a face?

    I know I can scrub across the face on the cork board to select, but this is completely unusable if you have more than 20 or 30 photos. By way of example: I have 1,700 photos of a person going back more than ten years. I want to choose a recent photo as the key. The order of the photos when you scrub is totally different than the order when you open the face. I can't right click -> set key photo or Photos -> Set Key Photo when I'm looking at the individual photos of that person.
    Is scrub-and-select really the only way to do this? I know iPhoto lets you right-click -> set key photo after opening a specific face.

    I'm replying only in case no-one else does.  To the best of my knowledge, as you have found, the only way to select the face shown on the corkboard in Faces view is via the "skim-and-spacebar" method.
    (Well, there is a second identical way: click the info button ("i") and skim-and-click.)
    There is no parallel in Faces to the "Set key photo" command available for Projects.
    Fwiw, the User Manual refers to the Faces key photo as the "Snapshot".
    Feedback might be worthwhile:  "Aperture→Provide Aperture Feedback".

  • Set default Value for a key figure

    Hi Experts,
    I need to enter a set o value for some char in a layout but for this set is not relevance a keyfigure. I know that there needs to be a keyfigure in the layout for the data to be saved to the transactional cube.
    So is there a way to write a default value to the keyfigure without the user having to enter the keyfigure in the layout?
    Any help will be rewarded.
    Many thanks,
    Fabio

    I gave an example of = 0.
    In youe case, if the default value is other than zero,
    then:
    = value.
    Ravi Thotahdri
    Pl let me know what fox code do you have.

  • Key accelerator

    How do I set up Key accelerator in Forms 10g?
    E.g.
    Shift+Ctrl+A triggers some menu item.

    I found the way to do it. Anybody that knows if 10g handles more than 5 accelerators or if there is any way of defining more accelerators for a menu than these 5?

  • How to set print option for a Billing document using T-code VF02

    Hi All,
    Please suggest me the way to set print option for a Billing document for T-code VF02 and please let me know how to get print preview for any particular Billing document?
    regards
    Anand.

    Enter the billing documents detail
    Goto Goto> Header>Output.
    Check the status for your output type in this screen.
    If it is green then come back to the VF03 screen.Enter the billing document number.
    Click on Billing document-->Issue output to.
    Press (CtrlShiftF1) or click on the icon beside "Print options".
    Here you can see the print preview.
    If the status is red then click on the processing log.Here you will get the error messages.
    If the status is in yellow colour,then click on the "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Before the print preview option you should make sure you have added correct output type to the relevant billing document. To do that, go to transaction VF02.
    Enter the billing document no
    Go to Menu option -> Go to -> Header -> Output
    In that screen you have to add relevant output type. (Standard output type is RD00)
    Add that & press enter key
    Highlight that line & press "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Press "Back" Button
    again select that line & go to "Communication method" button
    Set "Logical destination" as LOCAL"
    Don't mark "Print immediately" & "Release after output" ticks. If you mark them, sa soon as you save the billing document, you'll get a print out.
    Press "Back" Button
    Save
    Now form the initial "Change Billing Document" screen, Go to Menu option; Billing Document -> Issue Output to
    You can see that output type line appear.
    select that line & press "Print Preview" button or (CTRLSHIFTF1)
    You can see the print preview.
    Alternatively you can use VF31 to print multiple print outs at same time.
    If you want to get PDF outputs of billing documents, go to your printer settings in the your computer from Control Panel.
    Set PDF Writer as "Default Printer" (Right click & select "Set as Default Printer")
    Then normal way, print the billing from SAP.
    It'll automatically send to your PDF writer. You can save it to the path you want,

  • How to set key fields in a Database view

    Hi guru's
    iam balaji,plz guide me with how to set key fields in a view.......that field is a non key field in the base table....
    thanks in advance,
    Balaji.S

    take a look at this:
    Diagnosis
        In the view, not all of the mandatory fields were included as key
        fields. The key of the view therefore is not unique.
    System Response
        All the fields are regarded as key fields in order to guarantee that th
        key lengths are unique.
    Procedure
        For views with a large number of fields, this could have a negative
        effect on the performance for the language construction described below
        In this case, all the mandatory key fields should be included in the
        view.
    regards

  • Setting color codes for more than one photo at a time

    Is there any way to set color codes for more than one photo at a time?

    Hi John,
    I will look at keywords. My issue is speed. Right now I am culling and editing an event shoot that spanned a week with 35 separate events and more than 5000 images. So I use the fastest most convenient method I can and it still takes a long time to have a completed and final shoot. On this shoot I will end up with a final set of around 1500 images. Right now I am finishing processing a show that will hang in the Deutsches Amerikanish Zentrum in Stuttgart.
    As I am sure you are aware by now, having seen enough of my inane questions that over the last two years or since Lightroom version 1.xx if I could not figure out how to do something I skipped it. So many things in Lightroom are buried and unless you have a mind like a steel trap (and think that some of you guys in the forum do) locating how to do something is not obvious.
    For example, I only learned (in the last hour) that I could assign colors as a group of selections by using Shift + number. I found this in a side head in Martin Evenings Lightroom book. I still do not know how to find a way to display the color filter "selection" set in Library mode. Is there a way?
    To top it off, Stuttgart Media University asked me if I would add a Lightroom module to my schedule this year. Now I have a compelling reason to learn all those missing pieces that I have created workarounds for. Hence the number of posts you have been seeing from me over the past few of weeks.
    I tell my class that there are no such things as stupid questions, only questions. Now I am practicing what I have been preaching for the last gazillion years. Guys like you have been great.
    My workflow is
    1. I first separate all images by event. I do that at the time of import.
    2. I do a fast pass rejecting all the obviously bad images
    3. I do a second pass grouping the images by sub-group (speeches, people talking, performances, etc.) This is where I run out of selection methods and your key-wording could work but it would probably take too much time to establish a keyword set for a single event. Where I have more than five subgroups I set up different collection sets with one collection for each sub group. However I would like to keep a single event in one collection.
    4. I then select the images to be used by color code.
    5. Next I process the final images (crop develop etc) by collection.
    6. Last I output the set according to client requirement.
    If you have a better workflow, I am all ears.
    By the way, what is your photo specialty and where are you located?
    Jim

Maybe you are looking for

  • Will not stay installed. Always shows install window and disk on desktop.

    Downloaded and installed Firefox last fall on new Mac Air, OS 10.9.5. Installed as directed, same way I have always done. When I dragged the icon to the dock, it seemed fine, but next time I used the Mac, it appeared as a '?', not the actual icon. Ev

  • Premiere Elements 8 error message when poening a project.

    When I open a project in Premiere Elements 8 I get the following message,  Sorry, a serious error has occurred that requires Adobe Premiere Elements to shut down. We will attempt to save you current project.  I tried to uninstall and reinstall Premie

  • Adobe Illustrator cc crashing when home folder chosen is on another hard drive.

    I use my mac with one ssd as a boot drive, I have my applicatiosn on there also. I have my home is set to my other 3tb hard drive. I set that through the users & groups. When it is set to my other hard drive Illustrator crashes when it starts up. Whe

  • Nokia N95 - problems with Adobe PDF

    Acrobat PDF was working right until recently and now it doesn't open. I've tried to reinstall it by using the N80 version (since both phones are S60 3rd) but it won't let me install since it says that the app is already installed. I've updated to the

  • ITunes updated to 7.3.1 and now won't open

    I started iTunes and it automatically updated. Now I get a message that OSX 10.4.7 is required to use iTunes. This computer will only go to 10.4.3. I tried downloading the system updaters, but they will not install because the 1GHz processor isn't en