CTRL SHIFT "some other key" question

I am trying to do something similar to the CTRL-SHIFT-F1 keyboard shortcut to show the Swing/AWT hierachy, however I want to display this in a graphical form (I know how to do that part), but I am having problems implementing the keyboard shortcut part.
Cound someone point me in the right direction, how do you specify a keyboard handler for the whole window ?
Thanks

Add the key listener to the main Frame or main JPanel.

Similar Messages

  • Hi, While writing an email online using Firefox 3.6.3, I was using one of the "CTRL+left or right arrow" to move the cursor along the text. I must have pressed some other key because the display has become huge - and I can't scroll vertically or horizont

    Hi, While writing an email online using Firefox 3.6.3, I was using one of the "CTRL+left or right arrow" to move the cursor along the text. I must have pressed some other key because the display has become huge - and I can't scroll vertically or horizontally, which makes using the Mail pages of Hotmail impossible. I have since logged in using MSFT Explorer and it works fine. This problem occurs only on the Mail page of Hotmail Live not on the home page or others.
    Could you please let me know if this is a problem with Firefox, or if you have any advice on how to reset the appearance of Hotmail in Firefox?
    == This happened ==
    Just once or twice
    == While I was compiling an email in Hotmail Live

    Wow, lightning fast and absolutely right!
    Thank you so much!

  • My keyboard on macbook pro (laptop) is acting weird. One key is not responding at all. Have verified using Keyboard viewer and some other keys are printing the unresponsive character at random.

    my keyboard on macbook pro (laptop) is acting weird. One key is not responding at all. Have verified using Keyboard viewer and some other keys are printing the unresponsive character at random. "z" is the unresponsive character.
    Is it a damaged keyboard ?
    The laptop is just 2 months old, will Apple replace it with a new one if its indeed a damaged keyboard or just repair, I use it for official purposes so being without a laptop is not much of an option.

    No one here works for Apple, so we don't know what Apple might or might not do.  If it's a genuine defect, they will of course repair it under warranty.  It is not their responsibility if it effects your ability to work or not, so that's on you.
    If, however, they determine that the key is problematic as a result of your misuse of the laptop, then everything is on you.  And trust me, if they find a glob of dried up beer or coffee there, they will charge you.
    Your only choice is to take it in for repair.

  • The keyboard for my iMac 9, 1 got wet and is not working correctlly. Delete,return, and some other keys not functioning. In all caps including numerals. I've left it to dry for a few days but still will not work. Computer now in Safe boot mode and I c

    The keyboard for my iMac 9, got wet and is not working correctly. Delete ,return, and some other keys not functioning. In all caps including numerals. I've left it to dry for a few days but still will not work. Computer now in Safe boot mode and I can't login due to all caps and numbers being symbols. Is there anything I can do?

    Buy a replacement keyboard. They're only $50-65 USD.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • How to map small enter some other key?

    Hi,
    Is there a way in Leopard to map the small enter o bottom right of MacBook keyboard to some other key, i.e. Option Key ?
    I need it realy badly!
    Cheers people!

    Hi,
    I'm sure you Mac cats know how resolve this issue.
    Peace!

  • 10.3.5 sluggish on my iMac (and some other newbie questions)...

    I just purchased an iMac, and am brand-new to Macs. I can do anything on a PC, and actually do PC tech support for a living, so you can imagine that I feel completely ridiculous asking some of these questions, but here goes:
    1. How do I copy and paste? Ctrl+C does not work.... surely there is another alternative?
    2. Is there a way I can download OE for Mac? I know Microsoft no longer offers downloads or support, but if there is another place I could find ol'familiar Outlook Express, that would be fantastic.
    3. My browser (either IE or Safari) is not completely maximized. There's the area below, and an area to the side with some icons as well... is this the maximum size of the browser, or...?
    4. Right now I'm running OS 10.3.5, which seems a bit sluggish. It came installed. I also have the discs for 8.6, and if it will make the system run better, I'll definitely ''downgrade.'' How would I do this? Do I have to ''reformat'' or anything like that?
    5. Are there other tweaks, sort of like MSCONFIG, that will help speed up my system in general?
    Here are my system stats:
    iMac (Grape!), 333MHz, 6GB Harddrive, 196 MB RAM...
    It's a G3 CRT, I think (if that matters).
    Any help would be so much appreciated!
    Tiffany
    ([email protected])

    Hello Tiffany,
    First of all, Welcome to the Apple Discussions!
    In regards to your #4, I would just suggest running Software Update (after upgrading the RAM memory if possible) and upgrading to the latest version of 10.3 that should be offered to you, ie. 10.3.9). As the other posters have suggested above you should upgrade your RAM to at least 256 MB. With any updates to system software, remember to Repair Permissions from Disk Utility found at HD/Applications/Utilities/Disk Utility before and after the update.
    There are many "tweaks" and troubleshooting information for OS X that you can perform to get the best from your OS and machine.
    Some great information can be found @:
    http://www.thexlab.com/faqs/faqs.html
    A great tip, as your machine has a very small amount of Disk space is to run a little app called Delocalizer that will free up alot of space taken from Foriegn language files. The link to it can be found in Dr. Smoke's FAQ for "Freeing space on your Mac OS X startup disk".
    hope that helps some,
    littleshoulders [:-)

  • Screen sized changed! I accidently hit 'shift' and some other key.

    I mistakenly hit a combination of keys and my viewable browser window Shrunk with a black box around it... in the upper left corner, there are now screen size options.
    How can I EXIT this mode (and how did i get into it in the first place)
    Thank you!

    ok, you're welcome - just realized that the X button will introduced in firefox 22, hopefully it will be more self-explanatory how to get out of this mode for other users with the same issue then...

  • Illustrator CS6 is ignoring my Ctrl, Shift and Space keys.

    Using CS6 on Windows 7 and Illustrator has decided not to acknowledge my Ctrl key, Shify key or space bar. This makes using shortcuts impossible.
    I have tried resetting Illustrator and even deleted the App data files but it didn't help. I found people with similar problems but never a solid solution. I even uninstalled evernote when some person said that helped them.
    At the moment if I try to undo I get the Zoom tool and I can no longer save with Ctrl + S, I can't bring up the hand tool with space or use any of the more common shorctcuts. This problem only affects Illustrator in all other programs the keys work fine, including other programs in CS6.
    Has anyone got any idea what is wrong?

    durnold,
    You may try whichever of the following you have not been through already, and see whether it helps (4) and especially the usual suspects in Item 7) under 5) may be most relevant):
    1) Close down Illy and open again;
    2) Restart the computer;
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (irreversible);
    4) Move the folder with Illy closed (reversible);
    5) Look through and try out the relevant among the Other options;
    Even more seriously, you may, if all else fails and no better solutions appear:
    6) Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Numeric Keys and some other keys are not working

    Hi,
    I am having T60 2613 HNU model, ,the problem i am facing issue in keyboard.
    following key are not working
    numeric keys are not working
    end key is not working
    left arrow is not woking
    working keys are as follows
    5,6 is working
    all alphabet keys are working
    I have even updated the bios also not working, I went to bios and made to load default value. my problem is not solved
    i try to remove the xp and tried to go for Fedora 12, there also i am facing the same problem.
    Do any body have solution of this. , please help me.

    http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-62911
    run the above software. 
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Handling complex shortcut key like "ctrl+shift+x"

    Hi,
    In oracle forms, i want to trigger a button click on pressing "ctrl+shift+x" shortcut key. I could not able to do this with AccessKey. Is there any other way to do this ?
    Thanx in Advance
    Regards,
    Saravanan A

    You could map the ctrl-shift-x key to fire the key-f0 trigger.
    The make the key-f0 trigger do the same functionality as clicking the button
    This is not quite what you are asking for I know, but provides a similar result.
    Tony

  • How can I disable ctrl+alt+del and other keys

    I need help on how to disable some keyboard key combinations (ctrl+alt+del)in particular. Disabling other keyboard keys is equally welcomed.
    Also how can I disable Windows 2000/XP's Task Manager from exposing my running program to be terminated.
    Thanks

    I need help on how to disable some keyboard key
    combinations (ctrl+alt+del)in particular. Disabling
    other keyboard keys is equally welcomed.This is not a java question per se. I would recommend searching on MSDN or some such site to figure this out.
    Also how can I disable Windows 2000/XP's Task Manager
    from exposing my running program to be terminated.This can be done by limiting the permissions of the Windows user that you would like to prevent from doing this. The user manager lets you do this.
    >
    ThanksNo problem.

  • When trying to cler all browsing history at the location bar, although I follow the instructions to 'ctrl, shift, delete, some web pages remain stuck. Even if I highlight them one at a time and hit delete, they remain. What can I do to eliminate them?

    When trying to delete web pages from my history at the location bar drop-down area, I do as Firefox instructs by hitting the 'ctrl, shift, delete' keys but some web pages remain. Even if I highlight each page and hit delete, they remain. How can I eliminate these web pages?

    If you visit a bookmarked site then that site will become a history item and shows as such in the location bar drop down list.

  • Ctrl + Shift + T doesn't work anymore. History -- Recently Closed Tabs still works. Other hotkeys still work.

    I am using Nightly-Elm 21.0a1 Recently Ctrl + Shift + T stopped working. History --> Recently Closed Tabs still works. Other hotkeys also still work.
    I already tried Safe Mode, didn't work. In a new profile it does work.
    This guy (https://support.mozilla.org/en-US/questions/853883) seemed to have the same problem. The solution offered was to transfer some files from a fresh profile. I am not sure what files to transfer. I tried the prefs.js, but that didn't help.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • TS3048 I have just purchased a new apple cordless keyboard.  The numeric line of keys along the top are not functioning as they should.  For example I am unable to get a question mark or a forward slash.  I have tried holding down both shift and alt keys.

    I have just purchased a new apple cordless keyboard.  The numeric line of keys along the top are not functioning as they should.  For example I am unable to get a question mark or a forward slash.  I have tried holding down both shift and alt keys.

    Thanks for prompt response - I tried what you suggested but I'm afraid it has not helped.  It seems as though the line of number keys along the top aren't actually doing what is printed on them.  Some are OK, but the further towards the right hand side of the keyboard you go, the less predicatable it becomes.  So whilst the second key from the left gives me 1 and ! when holding the shift key, by the time I get to the 6 when I press and hold shift I get ^ rather than & symbol which is what is actually printed on the key.  The & symbol is actually on the next key along - and when I hit the key with 8 I get * rather than the ( which is printed on they key but actually located on the next key along.  Things get even more muddled by the time I am over on the right hand side as rather than a question mark (I have had to type the word as I cannot find the symbol anywhere!) I get this _ and the other symbol marked on the key is a comma, but I get - instead.  It is going to drive me mad if every time I want to type something it is a guessing game....!  What do you suggest - question mark

  • Shift+ some keys missed in jumanji, dwm on Sony Vaio F12

    I have a strange issue on my Sony Vaio F12. Shift + some keys seem to become <some keys> only. For example Shift+space in jumanji is interpreted as Space only. Shift+Mod4+Ctrl+Q in dwm isn't caught properly, while Shift+Mod4+Enter is. xev seem to get it right, though. The state is 0x0 when pressing Space only, and 0x1 at Shift+Space.
    (Note: I'm currently moving to a fresh Arch install (x86_64) on a new computer. These key combinations, including the dwm one, worked fine on my old 32bit install on a Dell XPS m1330, so the configs should be right).
    Any ideas?
    Thanks in advance,
    halhen

    Thanks for the suggestion about customizing function keys, however, since the keys currently do nothing there's nothing to be re-mapped. (Such as VolumeUp => Page Up.)
    As far as I can tell, use of the Fn key actually blocks the arrow key press events on the Yoga, so not even Up, Down. Left, Right presses are received by the OS if/when the function key is pressed. (This be can verified in any basic text editing program such as Notepad. Additionally, I wrote a program to display any/all received key events and confirmed no event occurs in such cases.)
    The keyboard firmware or driver must be receiving the key state changes but simply ignores any arrow key event if the function key is pressed. I suspect any change to this behavior would have to come from the firmware or driver, which currently intercepts the hardware button presses before the OS may have a chance to redirect them. So I think the Lenovo hardware/software guys would have to enable this, which I figured it wouldn't hurt to ask.
    I like the use of the function key in conjunction with the arrows because that way I don't need to move my fingers off the arrow keys in order to move the text cursor to the beginning or end of a line. (I certainly still find the fixed Home and End keys on the keyboard necessary.)
    (Oh, and I apologize for inserting an image >50k, I didn't know the forum rules concerning a maximum image size.)

Maybe you are looking for