Jtabbed pane is listening to the keyboard, how do i stop?

hello
this is probobly a simple Swing problem. i have a j3d canvas inside a tabbed pane with other info on other panes. i need the keyboard to listen on the canvas so i can move around the j3d world, but the left and right are being detected by the jtabbed pane, but i didnt add any listen to those. how can i stop this behavior from occuring? its very annoying.
i appreciate any help you can lend..

The reason it is responding to keyboard events is becuase it has the focus. Request focus on the component in the tab, and the tabbed pane should stop responding. If that doesn't work, try this:
JTabbedPane tabbed = new JTabbedPane();
KeyStroke[] keys = tabbed.getRegisteredKeyStrokes();
for (int i=0; i<keys.length; i++) {
int code = keys.getKeyCode();
if (code == KeyEvent.VK_LEFT || code == KeyEvent.VK_RIGHT) {
tabbed.unregisterKeyboardAction(keys[i]);

Similar Messages

  • In finder, it says that I am shared to a pc which I didn't know about nor do i know the pc, how do I stop sharing with it?

    In finder, it says that I am shared to a pc which I didn't know about nor do i know the pc, how do I stop sharing with it?

    I gather that you are seeing other "pee-seas" (and | other hosts) in MAC OSX Finder UI under SHARED ? T/F ??  The Finder is reflecting what others are sharing.
    In any case consider these items:
    1) Other hosts on your network (local) have ITEMS (folders and structures) that they themselves are sharing
    with anyone on there network and to others outside who will access them via a specic host nae or address. KInda like your mate who has some files he wants to share with you. You connect to his host (machine) either by a host name (yourmate.com), an IP address (33.33.33.11) or on your local area network usually over Bonjour (yourmates_macbookair.local).
    Simply THEY ARE sharing their stuff with you and this your MACs FINDER makes then apear under the SHARED parion of the side bar in the UI. This is likely what you are seeing
    microsoft platforms have their users share DIRECTORIES mainly through the SHARING properties for that opject. YEp.. and then you can at a minimum SEE it . HOwever this doesnt mean you can access the contents.... This is all familiar to most.. nothing to be concerned about.
    Probably no need for concern.....
    (IMO), its amazing the number of PC users that unknowingly expose their folder contents on a hotel WIFI or ETHERNET network... its astonishing....!
    2) YOUR CONCERN that you are sharing your stuff:
    I'll hazard a guess that form you minmal description that you may feel that others on your network can SEE YOUR STUFF?? Bt Default, any user can see ANYTHING you have put in your ~/Public folder (theis is your Public folder in your home directory. Usually they can ONLY read whats there unless you have gone out of your way to change the ACCESS CONTROL LIST (ACL) to an access for others other than READ ONLY.
    An extention so to speak of this sharing is the concept of a "DROP BOX" that is also maintained by default in your homes public folder (~/Public/Drop Box). This is very useful for people to GIVE you their files by DROPPING then into this ~/Public/Drop Box folder.
    So THIS folder is exposed for all to see on your local network.
    How to stop anyone seeing anything?.. easy..
    Step 1: go to SYSTEM PREFERENCES/Sharing/ and UNTICK the  "File Sharing" service. Its probably already unticked. This will stop exposing anything that you have shared to others. pee-sea users may need your to enable SMB/CIFS TO READ YOUR STUFF. YOU WONT HAVE THIS ENABLED UNLESS YOU DID IT YOURSELF. Additionally there are windows .apps to read mac file systems too... so stopping all fie sharing will do the trick
    Step 1.1: if you dont want others to see your ~/Public folder either then simply select the Public folder in your finder, open the Finder inspector (+i), open the disclosure triangle for "sharing and permissions" and then set the access by others to "NO ACCESS"
    Step 2: while you are in SYSTEM PREFERENCES/Sharing/ and UNTICK the  "Remote Login" and "Screen Sharing" services. Its very likely already unticked. This will stop exposing remote services such as ssh and vnc anything that you have shared to others.
    Step 3: for extra go to SYSTEM PREFERENCES/Security/Firewall and enable any setting for network here that you want to disable or filter... seek out these apple discussion forums.. tonnes of stuff here on his.
    Others reading this thread will also have good advice and opinions.
    Post your results for others to see.
    Warwick
    Hong Kong

  • I downloaded TunesGoWatch by Wondershare. I deleted the app. Every time I turn on my computer I get a popup saying "TunesGoWatch" can't be opened because the identity of the developer cannot be confirmed. I deleted the app, how do I stop this popup?

    I downloaded TunesGoWatch by Wondershare. I deleted the app. Every time I turn on my computer I get a popup saying "TunesGoWatch can't be opened because the identity of the developer cannot be confirmed." I deleted the app, how do I stop this popup?  Your help is truly appreciated

    First:
     (Apple menu) > System Preferences > Users & Groups > select your account > Login Items.
    Determine if that program appears in that list. If it does, select it and then remove it from Login Items with the "–" (minus) button.
    Next:
    Select the entire line that follows (triple-click to select it), then control-click, and from the contextual menu that appears, select Services > Open:
    /Library/StartupItems/
    If the program or an alias to it appears in that folder, drag it to the Trash.
    Next:
    When you log out or shut down your Mac, de-select the checkbox that begins with the words "Reopen windows... "

  • When adding a new photo to an album in iPhoto 8 it changes the order of the photos in the album; how do I stop this ?

    when adding a new photo to an album in iPhoto 8 it changes the order of the photos in the album; how do I stop this ?

    View Menu -> Sort Photos...

  • I have just updated to 10.7.3 and safari always reloads previous pages I have been on every time on open it, my home page is set to google yet it always reloads from the history, how do I stop this

    I have just updated to 10.7.3 and safari always reloads previous pages I have been on every time on open it, my home page is set to google yet it always reloads from the history, how do I stop this

    There is a setting in the System Preferences for this as well that may be causing it. Go to System Preferences>General>Restore windows when quitting and reopening apps - at the bottom of the window under Number of Recent items. Remove the checkmark from that setting.
    Also - if you close all of your windows when you are done with Safari - it should open to your home page.

  • The keyboard and mouse have stopped 'talking' to the computer. New batteries in both units. Can't write, e-mail, text etc. What do I do next?

    The keyboard and mouse have stopped 'talking' to the computer - cursors do not move in response to mouse, right and left clicks do not register and typing does not happen.. Batteries have been replaced on both. The computer seems to be working normally in all other respects. The little green 'on' lights on both the mouse and keyboard light up for ~10 seconds,blink for about 20 seconds, and then go out. Computer shut down and restart did not change the situation. What's next?

    Get a wired keyboard and mouse for times like these, also to perform at boot keyboard commands in emergencies.
    Step by Step to fix your Mac

  • HT2477 when i move the cursor across the screen it launches the dashboard - how do i stop it

    when i move the cursor across the screen to the left it launches the dashboard - how do i stop it doing that ?

    Hi Jimb9,
    Thanks for visiting Apple Support Communities.
    If Dashboard seems to be launching automatically when you move your mouse to the left, first check to see if a "Hot Corner" has been set.
    Hot Corners
    To specify an action to perform when you move the pointer to a screen corner, choose the action from one of the Active Screen Corners pop-up menus.
    After you set an active corner, move your mouse to that corner of your screen to see the result.
    You can find the Active Screen Corners menu by going to System Preferences, then choosing Mission Control and clicking the Hot Corners button in the bottom left.
    These articles have more information about Mission Control:
    Mac Basics: Mission Control
    http://support.apple.com/kb/ht4689
    OS X Mavericks: Mission Control preferences
    http://support.apple.com/kb/PH13925
    All the best,
    Jeremy

  • When i have a music track with muted video above I get a regular beep in the audio,how do I stop it?

    when i have a music track with muted video above I get a regular beep in the audio,how do I stop it?

    The audio requires rendering.
    Audio for FCE should be aiff format @48 kHz.
    FCE can also use 32 kHz if the audio from a camera is 12 bit.
    Al

  • I have 2 iphone. when i install an application frome apple store, it install its self on the two. how can i stop it?

    i have 2 iphone. when i install an application frome apple store, it install its self on the two. how can i stop it?

    Use separate Apple IDs on each device.

  • My ITunes keeps deleting my songs my IPhone and it keeps doing it after it loads the songs how do i stop it?, my ITunes keeps deleting my songs my IPhone and it keeps doing it after it loads the songs how do i stop it?

    my ITunes keeps deleting my songs my IPhone and it keeps doing it after it loads the songs how do i stop it?

    that didnt help because when i plug in my iphone to the computer it doesnt show my iphone in itunes all it does it pop up saying if i would like to download and update my ios software to ios 7.1.1 . when i put it in to DFU mode it didn't do anything and thre computer did not recognise it and neither did itunes. so i dont quite understand how to do this ill keep on trying and see if im in luck.

  • When iam on web sites i get blank page that says:http redir.php?id=4 at top of page, and it blocks me off the site. how can i stop this ?

    this comes on some web sites i am on: http66.197.21/redir.php?id=4, and then the site goes to a blank white page blocking the site. how do i stop this from happening?
    == URL of affected sites ==
    http://

    View --> Show Toolbar

  • 9i and 10g Listener in  SUN box  How do i stop .while applying the patch.

    Hi,
    Sun box running - I am having
    1. oracle_home 9i Version (database's are running)
    My team installed 10g Version 10.2.0.1 in Oralce_home1 there were no database are running in 10g, Now We plan to upgrade into 10.2.0.4 in oracle_home1 while applying patch its asking to stop the listener process.
    Is it mean to stop 91 listener or 10g listener?
    I had checked the running process in my server using grep -ef
    it show all process 9i database's and i find this home1/oracle/product/1020/bin tnslsnr LISTERNER -Inherit. How do i stop ? after applying the patch how do i start?
    Is it require down time?
    Thanks in advance.
    Rajas

    Hi
    When i check the lsnrctl status it is showing the error , How do i resolve it?
    In sun box:
    /home1/oracle/pro/920/bin -9i is running
    /home1/oracle/pro/1020/bin 10g is running
    When i check the lsnrctl status the above oracle home it through error
    Connecting to (ADDRESS=(PROTOCOL=TCP)(PORT=1521))
    TNS-12618: TNS:versions are incompatible
    Thanks in advance
    Rajas.
    Edited by: Rajas on Sep 23, 2008 8:36 PM

  • Brand new iMac 3.4GHz fan runs all the time - how do I stop it?

    Hi, just opened my shiny new imac but the fan runs all the time and very loud! Has anyone any ideas how to fix this or should I return the imac to apple?
    I've also noticed that none of my external drive icon show up on the desktop - nor does the imac hardrive icon appear - any ideas?
    Thank you in anticipaction.

    Try an SMC reset, you may need to do it at least 2x.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Wait 15 seconds.
    Attach the computers power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • I have an i mac and if I go to Finder and all my files it has made hundred of photos from the faces of virtually all the photos I have on the computer, how do I stop this happening ?

    I have an i mac and under images in  All My Files it has made hundreds of face photos from all my pictures in i photos, how can I stop this ?

    Hmmm, so it's taking new pics all the time?
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for pic problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • When I'm on microsoft word and typing and get to the  bottom of the page a new page doesn't just come up, i have to manually put it there so then when i go back and add stuff to the first page i loose whatever was at the bottom. how do i stop this?

    When I'm on microsoft word on my macbook air and get to the bottom a the page, a new page does not come up. i have to manually insert one. so then when i go back to edit my work and add something in what ever was at the bottom of the page disappears. how can i stop this from happening or change it so a new page opens by itself?

    It sounds like you have chosen a publishing template rather than a word processing template. There are two basic modes in MS Word: word processing and publishing layout. Word processing mode (and all word processing templates) have a continuous text box in the page for writing text. The publishing layout mode (and publishing templates) are documents that have text boxes placed for articles, titles, pictures, etc. Be sure to choose the word document template and you’ll get what you expect. Do not choose the word publishing document.

Maybe you are looking for