Changing Cmd+Shift+Tab Shortcut

Hi,
In Leopard I was able to switch applications in reverse order using just CMD+SHIFT with a 3rd party app - LiteSwitch X, instead of the regular CMDSHIFTTAB. But that app doesn't work in 10.6 anymore.
Is it possible to modify the shortcut CMDSHIFTTAB to CMD+SHIFT?
Thanks in advance for your help.

You can slit download it from here:
http://www.versiontracker.com/dyn/moreinfo/macosx/14857&vid=307128
Regards
TD

Similar Messages

  • Cmd-Shift-L shortcut broken in 4.0.4

    Hi - I just upgraded to Safari 4.0.4 and found that the cmd-shift-L shortcut (which opens a google search for highlighted text in an active new tab) is no longer functioning. Has anybody figured a way of restoring this? I have come to depend on it since acidsearch's unfortunate demise.

    Has anybody figured a way of restoring this?
    Not broken here, still working fine as always. Have you tried repairing permissions or creating a new user account and seeing if the problem persists there? It's an issue with your install, as a guess. Working fine on all the Mac's around here with Safari 4.04

  • Disable Cmd-Shift-B shortcut

    Hello,
    In TIGER as well as LEOPARD, how do I disable the Cmd-Shift-B shortcut that launches Bluetooth File Exchange? I had found "Services Manager" for Jaguar PPC but that will not run on my MacBook Pro.
    I am tired of not being able to type Cmd-Shift-B to make text bold in my other applications!
    Thank you,
    Eric

    The shortcut to open the Bluetooth File Exchange in the service menu stands in the info.plist file inside of the Application Package.
    Open the Bluetooth File Exchange Application with the contextual menu. Then open the folder Contents.
    When you have an Plist Editor, open the file "info.plist" with the Editor and delete the entry "NSKeyEquivalent" in the Path "NSServices > 0".
    Have you not an Plist Editor, open the file with TextEdit and delete the entry:
    <key>NSKeyEquivalent</key>
    <dict>
    <key>default</key>
    <string>B</string>
    </dict>
    Then logout and login again.
    If this work under 10.5, can i not say.
    And before you make changes, make a backup of this file.

  • Cmd+Shift+L shortcut (shortcut for google search) not working in 5.1

    Cmd+Shift+L shortcut (shortcut for google search) is not working after I upgraded Safari to  5.1

    Has anybody figured a way of restoring this?
    Not broken here, still working fine as always. Have you tried repairing permissions or creating a new user account and seeing if the problem persists there? It's an issue with your install, as a guess. Working fine on all the Mac's around here with Safari 4.04

  • Shift-Tab Keyboard Shortcut not working

    For some reason, my Shift-Tab keyboard shortcut is not work in TextEdit, PowerPoint, and NeoOffice. Has anyone else run into this problem?
    It's very annoying having to deal with Bulleted lists and setting the proper indentation!
    I did a clean install of Leopard as well as updating to the 10.5.1 patch just released.

    Well, I found the problem. The new Speech option, "Speak selected text when key is pressed" to the Shift+Tab combo by default. Changing this to something else or disabling it fixes the problem.

  • CMD + Shift constrain drag shortcut buggy in Photoshop CS6 (Mac)

    Since moving to Photoshop CS6 a shortcut I regularly use for switching tool and dragging elements on a page is producing varying results. The CMD + Shift drag is very useful to allow users to drag elements constrained vertically or horizontally on the page. However since CS6 I have noticed it no longer allows me to drag effectively while my cursor is over the elements I want to move. It goes a bit nuts and does different angles instead of the constrain. This problem is intermittent and depending on the elements I am attempting to move will randomly depend on whether it works. This shortcut I have been using for years and has become native to me. So why now is it not working properly ?

    I can reproduce this issue in Bridge CS6. Thanks for reporting!
    Best Regards,
    Bridge QE
    Chun Xia

  • Shortcut for Google Search (Cmd-Shift-L) Linked to Newsfire

    I recently downloaded the now free RSS reader Newsfire just to try it. I didn't like it that much compared to NetNewsWire, so I trashed it with AppZapper, thus deleting all the files related to Newsfire.
    Now every time I try to use the shortcut for Google Search on a selected piece of text in Safari (Cmd-Shift-L), it tries to link to Newsfire and add a new feed. This is highly annoying and worst of all, I can't figure out how to get rid of it.
    The Newsfire site has nothing on it as far as a forum or an email to Dave Watanbe. I've heard the criticism that he's gotten in the past over the way he handles his business, so I've decided to try to fix the problem through these discussions.
    Anyone else having this problem?
    Message was edited by: glb

    I fixed it myself with the free Onyx program for Mac.
    If you reset the Launch services Database under Maintenance, it fixes this issue.

  • Change tabbing shortcut for controls

    Is there a way to change the tabbing shortcut to the Enter key, instead of using the Tab key? And is it possible to set the tabbing order for controls?  
    Thanks,
    Chris
    Solved!
    Go to Solution.

    I would advise against it as using the Tab key for navigation has been standardized for a long time.  But you could use the Key Down? filter event in an event stucture to modify a keys behaviour.  Specifically if someone hits the enter key pass 9 to Char and ASCII to VKey.  You could also use this to disable the tab key.

  • When I now use the cmd-tab shortcut to go to a different open application it madly scrolls through all the open applications and does not let me select one. Any ideas as to what might be wrong. It doesn't appear to be a sticking key?

    When I now use the cmd-tab shortcut to go to a different open application it madly scrolls through all the open applications and does not let me select one. Any ideas as to what might be wrong. It doesn't appear to be a sticking key?

    Problem with the cmd-tab keyboard shortcut now cured with the latest software update, so the original problem must have been a software glitch.

  • Using cmd-shift-left/right arrows in Terminal

    Hi,
    Is there a way to revert to Leopard's shortcuts for switching tabs in Terminal?
    I'm working on a daily basis with both Leopard and Snow Leopard and the fact that I have to use cmd-shift-left/right in the former (which is coherent with Safari) and cmd-left/right in the latter (which is coherent with I wonder what?) is extremely annoying.
    I tried using System Preferences Keyboard pane to assign the shortcut to no avail, but it doesn't seem to work at all.
    BTW, I really don't understand why Apple changed this shortcut. As with any application, changing shortcuts is not really considerate for end users ;P
    TIA

    I don't know why you have command+left or right arrow for tab switching. i have command+shift +left or right arrow. running 10.6.2 here. also, the other shortcuts for this that show up in the window menu are command+} and command+{. those can be also be changed in keyboard system preferences. that should have worked for you. i can do it without problems. but I suggest you reset your terminal preference file. that should restore teh default shortcuts. quit terminal and delete the file ~/library/preferences/com.apple.terminal.plist. start terminal and the shortcuts should be commandshiftarrows.

  • 'Reload All Tabs' shortcut

    I'd like to create a keyboard shortcut to reload all tabs inside an active window (Cmd-Shift-R would be very comfortable). But this option is availible only in the tab bar's context menu and isn't represented in the menu bar, so I can't just setup my shortcut in the Keyboard settings panel. And I don't like the idea of installing the third-party plugins just for this thing.
    I can create a script using Automator and make a shortcut for it using FastScripts, but these scripts cause very unpleasent lag when running. Is there any mean to bind the shortcut to an option not represented in menu bar? Also this case looks like a bug, and I was hoping that it would be fixed in Safari 4, but no luck so far.

    You can try ReloadAll!: https://addons.mozilla.org/firefox/addon/14550

  • Terminal.app Next or Previous Tab shortcut

    Hello everyone!
    I noticed that the shorcut to change the current tab has changed: Cmd + Left or Cmd + Right previously and now it's Cmd + { or Cmd + }.
    I have a french keyboard so it's not easy to use this shortcut.
    Does anyone know how to change it?
    Thank you.
    Regards,
    Romain

    Hello,
    Same problem but solved now. The problem is the simple quote in "Sélectionner l'onglet suivant"...
    1. Right click on the icon of Terminal.app
    2. Select "Afficher le contenu du paquet"
    3. Open file:///Applications/Utilities/Terminal.app/Contents/Resources/French.lproj/Main Menu.strings
    /* Class = "NSMenuItem"; title = "Select Next Tab"; ObjectID = "469"; */
    "469.title" = "Sélectionner l’onglet suivant";
    /* Class = "NSMenuItem"; title = "Select Previous Tab"; ObjectID = "470"; */
    "470.title" = "Sélectionner l’onglet précédent";
    4. Copy string and paste it in the shortcut preference pane
    5. Enjoy ;-)
    Regards,
    Pascal

  • [LAVA Cross Post] CTRL+SHIFT+Alpha Shortcuts don't work in LabVIEW

    Cross-post from LAVA: http://lavag.org/topic/15619-ctrlshift-shortcuts-sometimes-not-working-in-labview/
    Bug Synopsis: CTRL+SHIFT+Alpha shortcuts do not work in LabVIEW. Most notably, CTRL+SHIFT+Z, CTRL+SHIFT+E, and CTRL+SHIFT+S
    Test setup: LV2012 32bit with f1 patch running in Win7 64bit inside a Parallels 8 VM in OS X 10.8.1
    To summarize the testing I have tried:
    Many different LabVIEW, Guest OS, and Host OS combinations all fail, including:
    LV2012f1 32 and 64 bit, and LV2009 32 bit
    Win7 32 and 64bit, and also WinXP x64
    Parallels 7 and Parallels 8
    OS X 10.7 and 10.8
    Capturing the keyboard by the VM
    Twiddling every keyboard setting possible on Parallels, Guest, and Host
    Reinstalling keyboard drivers
    Plugging in a known-good keyboard that works on a native Windows machine
    Deleting LabVIEW.ini and letting it regenerate
    Remapping the shortcuts from, e.g., CTRL+SHIFT+E to CTRL+E - in this case, "Show in Project" works, so this might indicate it's a problem registering the shortcut press, not invoking the action itself.
    Sending the keystrokes via on-screen keyboards from both Guest and Host
    Sending the keystrokes via SendInput from user32.dll WinAPI
    Testing every imaginable combo of FN, CONTROL, ALT/OPTION, COMMAND/CMD, SHIFT
    Reinstalling VMs from scratch and reinstalling LV
    Here's a kicker: CTRL+SHIFT+Alpha shortcuts work fine on other Windows programs (I've tried 4 different programs, including Chrome, Notepad++, Paint.NET), yet it does NOT work for VIPM with CTRL+SHIFT+C. This means that the only two programs where the CTRL+SHIFT+Alpha bugs exist are both LabVIEW-related.
    Here's another kicker: It's only CTRL+SHIFT+Alpha shortcuts with the prob - CTRL+SHIFT+3 properly toggles grid alignment, and the "Tools >> Options >> Menu shortcuts" will register any CTRL+SHIFT+Non-alpha shortcut; it just does not respond to the CTRL+SHIFT+Alpha shortcuts.
    Any new troubleshooting ideas are highly appreciated; please feel free to jump in here or on LAVA.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}
    Solved!
    Go to Solution.

    X. wrote:
    Still well and alive in Parallels 9 and LabVIEW 2013 SP1. Of course I could upgrade to the latest versions to check whether things have gotten any better.
    Any news on that?
    @mellroth figured out the solution :-)
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Screenshot cmd-shift-4 not working after startup

    Guys, please help me. I have a 7 months old Imac running on OS X 10.9.4 with a bluetooth/wireless keyboard.
    Recently my keyboard shortcut for screenshot (cmd-shift-4) stopped working. The funny thing is when I restart, the screenshot shortcut works for a minute or two and suddenly stops working again. I'm guessing is it one of the daemons/startup/login items?
    I already tried:
    -putting fresh batteries to the keyboard
    -reinstalling Mavericks
    -using another account name -
    -checked the system preferences (under the keyboard shortcuts)
    None of these worked. I use this function a lot in my work and it's driving me nuts for such a simple feature please help.
    tion ~/Desktop/

    If you boot into Safe Mode, does Command-Shift-4 continue to work
    <http://support.apple.com/kb/ht1564>
    If you use Command-Control-Shift-4 to capture the screen shot into the copy/paste buffer and then use Applications -> Preview -> File -> New from Clipboard, does that work?  I'm mostly checking if screen shot functionality works at all, or if it is just the creation of a file on the desktop, or if maybe some other function has taken over Command-Shift-4 hotkey.
    If you look in Applications -> Utilities -> Console -> All Messages, do you get any message that might be related to screen capture at the exact moment you are trying to do a Command-Shift-4?

  • JComponent unreachable by tabbing, but SHIFT-tab works??

    Hey all,
    I have some weird behaviour happening with a JComboBox in the following JPanel code. The JPanel has several JLabels, JTextFields and JComboBoxes. All button one (the last one) of the JTextFields and JComboBoxes is reachable by pressing the TAB button. However, I can get to it if I press SHIFT+TAB and go through my focusable components backwards.
    Either I'm missing something very simple, or maybe this is a bug. I would think it's me, not Java, that is causing this problem.
    Any help is appreciated. Thanks.
    * Created on Jul 20, 2006
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    package GUI;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.event.FocusEvent;
    import java.awt.event.FocusListener;
    import inputHandlers.DigitDocument;
    import javax.swing.BorderFactory;
    import javax.swing.Box;
    import javax.swing.JComboBox;
    import javax.swing.JComponent;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import javax.swing.border.TitledBorder;
    * @author Michael C. Freake
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class CurrCovgPanel extends JPanel implements FocusListener{
         private static int WIDTH, HEIGHT;
         private static Color BACKGROUND_COLOR, GREEN_COLOR = Color.GREEN, WHITE_COLOR = Color.WHITE;
         public CurrCovgPanel(Color bgColor, int width, int height){
              super(new FlowLayout(FlowLayout.LEADING,0,1));
              //BACKGROUND_COLOR = bgColor;
    BACKGROUND_COLOR = Color.BLUE;
              WIDTH = width;
              HEIGHT = height;
              init();
              // TODO Create a 'load' method that would put actual buffer values in the components.
              // Otherwise we can default to blank/default values in all fields.
              // TODO May want to create and call validate method here that would indicate any errors
              // to the user on load.
              // OR Have the CovgApp call this validate method AFTER the screen has been loaded.
         public void init(){
              setBackground(BACKGROUND_COLOR);
              setPreferredSize(new Dimension(WIDTH,HEIGHT));
              setBorder(BorderFactory.createTitledBorder(
                                            BorderFactory.createLineBorder(Color.YELLOW),
                                            "CURRENT COVERAGE AND PREMIUMS",
                                            TitledBorder.CENTER, TitledBorder.TOP,
                                            null, Color.YELLOW));
              int labelHeight = 15;
              // The following components should be Globals to whatever class they end up in.
              // If they are globals, we can access their values and modify them in other methods.
              JTextField buildLimit1 = new JTextField(new DigitDocument(4),"0",0);
              buildLimit1.setPreferredSize(new Dimension(35,labelHeight));
              buildLimit1.setHorizontalAlignment(JTextField.RIGHT);
              buildLimit1.setForeground(Color.CYAN);
              buildLimit1.setBackground(BACKGROUND_COLOR);
              buildLimit1.setBorder(null);
              buildLimit1.addFocusListener(this);
              JTextField buildLimit2 = new JTextField(new DigitDocument(4),"0",0);
              buildLimit2.setPreferredSize(new Dimension(35,labelHeight));
              buildLimit2.setHorizontalAlignment(JTextField.RIGHT);
              buildLimit2.setForeground(Color.CYAN);
              buildLimit2.setBackground(BACKGROUND_COLOR);
              buildLimit2.setBorder(null);
              buildLimit2.addFocusListener(this);     
              JComboBox buildDed1 = new JComboBox();
              buildDed1.setPreferredSize(new Dimension(60, labelHeight));
              buildDed1.setForeground(Color.CYAN);
              JComboBox buildDed2 = new JComboBox();
              buildDed2.setPreferredSize(new Dimension(60, labelHeight));
              buildDed2.setForeground(Color.CYAN);
              JComboBox buildForm1 = new JComboBox();
              buildForm1.setPreferredSize(new Dimension(60, labelHeight));
              buildForm1.setForeground(Color.CYAN);
              JComboBox buildForm2 = new JComboBox();
              buildForm2.setPreferredSize(new Dimension(60, labelHeight));
              buildForm2.setForeground(Color.CYAN);
              JLabel buildPrem1 = new JLabel("1234",JLabel.RIGHT);
              buildPrem1.setPreferredSize(new Dimension(30,labelHeight));
              buildPrem1.setForeground(Color.CYAN);
              JLabel buildPrem2 = new JLabel("5678",JLabel.RIGHT);
              buildPrem2.setPreferredSize(new Dimension(30,labelHeight));
              buildPrem2.setForeground(Color.CYAN);
              JTextField contLimit1 = new JTextField(new DigitDocument(4),"0",0);
              contLimit1.setPreferredSize(new Dimension(35,labelHeight));
              contLimit1.setHorizontalAlignment(JTextField.RIGHT);
              contLimit1.setForeground(Color.CYAN);
              contLimit1.setBackground(BACKGROUND_COLOR);
              contLimit1.setBorder(null);
              contLimit1.addFocusListener(this);     
              JTextField contLimit2 = new JTextField(new DigitDocument(4),"0",0);
              contLimit2.setPreferredSize(new Dimension(35,labelHeight));
              contLimit2.setHorizontalAlignment(JTextField.RIGHT);
              contLimit2.setForeground(Color.CYAN);
              contLimit2.setBackground(BACKGROUND_COLOR);
              contLimit2.setBorder(null);
              contLimit2.addFocusListener(this);
              JComboBox contDed1 = new JComboBox();
              contDed1.setPreferredSize(new Dimension(60, labelHeight));
              contDed1.setForeground(Color.CYAN);
              JComboBox contDed2 = new JComboBox();
              contDed2.setPreferredSize(new Dimension(60, labelHeight));
              contDed2.setForeground(Color.CYAN);
              JComboBox contForm1 = new JComboBox();
              contForm1.setPreferredSize(new Dimension(60,labelHeight));
              contForm1.setForeground(Color.CYAN);          
              JComboBox contForm2 = new JComboBox();
              contForm2.setPreferredSize(new Dimension(60,labelHeight));
              contForm2.setForeground(Color.CYAN);
              JLabel contPrem1 = new JLabel("4321",JLabel.RIGHT);
              contPrem1.setPreferredSize(new Dimension(30,labelHeight));
              contPrem1.setForeground(Color.CYAN);
              JLabel contPrem2 = new JLabel("8765",JLabel.RIGHT);
              contPrem2.setPreferredSize(new Dimension(30,labelHeight));
              contPrem2.setForeground(Color.CYAN);
              JComboBox liabLimit = new JComboBox();
              liabLimit.setPreferredSize(new Dimension(60,labelHeight));
              liabLimit.setForeground(Color.CYAN);
              JLabel liabPrem1 = new JLabel("7", JLabel.RIGHT);
              liabPrem1.setPreferredSize(new Dimension(30,labelHeight));
              liabPrem1.setForeground(Color.CYAN);
              JLabel liabPrem2 = new JLabel("7", JLabel.RIGHT);
              liabPrem2.setPreferredSize(new Dimension(30,labelHeight));
              liabPrem2.setForeground(Color.CYAN);
              JComboBox liabForm = new JComboBox();
              liabForm.setPreferredSize(new Dimension(60,labelHeight));
              liabForm.setForeground(Color.CYAN);
    //          ********** THIS IS THE JCOMBOBOX THAT SHOULD TAB INTO THE glassLimit JCOMBOBOX          
              JComboBox medLimit = new JComboBox();
              medLimit.setPreferredSize(new Dimension(60,labelHeight));
              medLimit.setForeground(Color.CYAN);
              JLabel medPrem = new JLabel("12", JLabel.RIGHT);
              medPrem.setPreferredSize(new Dimension(30,labelHeight));
              medPrem.setForeground(Color.CYAN);
    //          ********** THIS IS THE JCOMBOBOX THAT ISN"T ALLOWING FOCUS
              JComboBox glassLimit = new JComboBox();
              glassLimit.setPreferredSize(new Dimension(60,labelHeight));
              glassLimit.setForeground(Color.CYAN);
              JLabel glassPrem = new JLabel("5", JLabel.RIGHT);
              glassPrem.setPreferredSize(new Dimension(30,labelHeight));
              glassPrem.setForeground(Color.CYAN);
              JLabel grcYN = new JLabel("N", JLabel.LEFT);
              grcYN.setPreferredSize(new Dimension(30,labelHeight));
              grcYN.setForeground(WHITE_COLOR);
              JLabel subTotalPrem1 = new JLabel("539", JLabel.RIGHT);
              subTotalPrem1.setPreferredSize(new Dimension(30,labelHeight));
              subTotalPrem1.setForeground(WHITE_COLOR);
              JLabel subTotalPrem2 = new JLabel("554", JLabel.RIGHT);
              subTotalPrem2.setPreferredSize(new Dimension(30,labelHeight));
              subTotalPrem2.setForeground(WHITE_COLOR);
              // Setting up and adding Location 1 & 2 headers
              JLabel loc1 = new JLabel("Location 1", JLabel.RIGHT);
              loc1.setPreferredSize(new Dimension(60,labelHeight));
              loc1.setForeground(Color.YELLOW);
              JLabel loc2 = new JLabel("Location 2", JLabel.RIGHT);
              loc2.setPreferredSize(new Dimension(60,labelHeight));
              loc2.setForeground(Color.YELLOW);
              JLabel prem1 = new JLabel("Premium", JLabel.RIGHT);
              prem1.setPreferredSize(new Dimension(60,labelHeight));
              prem1.setForeground(Color.YELLOW);
              JLabel prem2 = new JLabel("Premium", JLabel.RIGHT);
              prem2.setPreferredSize(new Dimension(60,labelHeight));
              prem2.setForeground(Color.YELLOW);
              add(loc1);
              add(Box.createHorizontalStrut(155));
              add(prem1);
              add(Box.createHorizontalStrut(30));
              add(loc2);
              add(Box.createHorizontalStrut(155));
              add(prem2);
              // Setting up static JLabels for viewing on the screen
              JLabel build = new JLabel("BUILD", JLabel.RIGHT);
              build.setPreferredSize(new Dimension(40,labelHeight));
              build.setForeground(GREEN_COLOR);
              JLabel cont = new JLabel("CONT", JLabel.RIGHT);
              cont.setPreferredSize(new Dimension(40, labelHeight));
              cont.setForeground(GREEN_COLOR);
              JLabel liab = new JLabel("LIAB", JLabel.RIGHT);
              liab.setPreferredSize(new Dimension(40, labelHeight));
              liab.setForeground(GREEN_COLOR);
              JLabel med = new JLabel("MED", JLabel.RIGHT);
              med.setPreferredSize(new Dimension(40, labelHeight));
              med.setForeground(GREEN_COLOR);
              JLabel glass = new JLabel("GLASS", JLabel.RIGHT);
              glass.setPreferredSize(new Dimension(40,labelHeight));
              glass.setForeground(GREEN_COLOR);
              JLabel grc = new JLabel("GRC", JLabel.RIGHT);
              grc.setPreferredSize(new Dimension(40,labelHeight));
              grc.setForeground(GREEN_COLOR);
              JLabel subTotal = new JLabel("SUB TOTAL", JLabel.LEFT);
              subTotal.setPreferredSize(new Dimension(70,labelHeight));
              subTotal.setForeground(GREEN_COLOR);
              JLabel ded1 = new JLabel("ded", JLabel.RIGHT);
              ded1.setPreferredSize(new Dimension(40, labelHeight));
              ded1.setForeground(WHITE_COLOR);
              JLabel ded2 = new JLabel("ded", JLabel.RIGHT);
              ded2.setPreferredSize(new Dimension(40,labelHeight));
              ded2.setForeground(WHITE_COLOR);
              JLabel form1 = new JLabel("form", JLabel.RIGHT);
              form1.setPreferredSize(new Dimension(40, labelHeight));
              form1.setForeground(WHITE_COLOR);
              JLabel form2 = new JLabel("form", JLabel.RIGHT);
              form2.setPreferredSize(new Dimension(40, labelHeight));
              form2.setForeground(WHITE_COLOR);
              JLabel form3 = new JLabel("form", JLabel.RIGHT);
              form3.setPreferredSize(new Dimension(40, labelHeight));
              form3.setForeground(WHITE_COLOR);
              // Load the coverage JPanel to the Window
              // Line 1 - BUILD
              add(build);
              add(Box.createHorizontalStrut(5));
              add(buildLimit1);
              add(Box.createHorizontalStrut(230));
              add(buildLimit2);
              add(Box.createHorizontalStrut(210));
              // Line 2 - BUILD Deductible
              add(ded1);
              add(Box.createHorizontalStrut(5));
              add(buildDed1);
              add(Box.createHorizontalStrut(200));
              add(buildDed2);
              add(Box.createHorizontalStrut(180));
              // Line 3 - BUILD Form
              add(form1);
              add(Box.createHorizontalStrut(5));
              add(buildForm1);
              add(Box.createHorizontalStrut(140));
              add(buildPrem1);
              add(Box.createHorizontalStrut(30));
              add(buildForm2);
              add(Box.createHorizontalStrut(180));
              add(buildPrem2);
              // Line 4 - CONT
              add(cont);
              add(Box.createHorizontalStrut(5));
              add(contLimit1);
              add(Box.createHorizontalStrut(230));
              add(contLimit2);
              add(Box.createHorizontalStrut(210));
              // Line 5 - CONT Deductible
              add(ded2);
              add(Box.createHorizontalStrut(5));
              add(contDed1);
              add(Box.createHorizontalStrut(200));
              add(contDed2);
              add(Box.createHorizontalStrut(180));
              // Line 6 - CONT Form
              add(form2);
              add(Box.createHorizontalStrut(5));
              add(contForm1);
              add(Box.createHorizontalStrut(140));
              add(contPrem1);
              add(Box.createHorizontalStrut(30));
              add(contForm2);
              add(Box.createHorizontalStrut(180));
              add(contPrem2);
              // Line 7 - LIAB
              add(liab);
              add(Box.createHorizontalStrut(5));
              add(liabLimit);
              add(Box.createHorizontalStrut(140));
              add(liabPrem1);
              add(Box.createHorizontalStrut(270));
              add(liabPrem2);
              // Line 8 - LIAB Form
              add(form3);
              add(Box.createHorizontalStrut(5));
              add(liabForm);
              add(Box.createHorizontalStrut(460));
              // Line 9 - MED
              add(med);
              add(Box.createHorizontalStrut(5));
              add(medLimit);
              add(Box.createHorizontalStrut(140));
              add(medPrem);
              add(Box.createHorizontalStrut(270));
              // Line 10 - GLASS
              add(glass);
              add(Box.createHorizontalStrut(5));
              add(glassLimit);
              add(Box.createHorizontalStrut(140));
              add(glassPrem);
              add(Box.createHorizontalStrut(280));
              // Line 11 - GRC
              add(grc);
              add(Box.createHorizontalStrut(5));
              add(grcYN);
              add(Box.createHorizontalStrut(440));
              // Line 12 - SUB TOTAL
              add(subTotal);
              add(Box.createHorizontalStrut(175));
              add(subTotalPrem1);
              add(Box.createHorizontalStrut(270));
              add(subTotalPrem2);
         /* (non-Javadoc)
          * @see java.awt.event.FocusListener#focusGained(java.awt.event.FocusEvent)
         public void focusGained(FocusEvent e) {
              // TODO Could adjust color here to look better.
              JComponent theComp = (JComponent) e.getSource();
              if (theComp instanceof JTextField){
                   theComp.setBackground(Color.WHITE);
              System.out.println("theComp = " + theComp);
         /* (non-Javadoc)
          * @see java.awt.event.FocusListener#focusLost(java.awt.event.FocusEvent)
         public void focusLost(FocusEvent e) {
              // TODO Could perform validation checks and do call to rating here.
              JComponent theComp = (JComponent) e.getSource();
              if (theComp instanceof JTextField){
                   theComp.setBackground(BACKGROUND_COLOR);
              System.out.println("theComp = " + theComp);
    }

    Here some code to help anyone run and view my panel:
    Main:
    package GUI;
    import java.awt.Color;
    import javax.swing.JFrame;
    public class ShowPanel extends JFrame{
         public ShowPanel(){
              super();
              setTitle("MY Example");
              getContentPane().add(new CurrCovgPanel(Color.BLUE, 590,240));
              pack();
              setResizable(false);
              setVisible(true);
         public static void main(String[] args){
              ShowPanel a = new ShowPanel();
    }Another need component:
    package inputHandlers;
    import java.awt.Toolkit;
    import javax.swing.text.AttributeSet;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.PlainDocument;
    public class DigitDocument extends PlainDocument{
         private int maxChars;
         public DigitDocument(int maxChars){
              super();
              this.maxChars = maxChars;
         public void insertString(int offs, String str, AttributeSet a) throws BadLocationException, NumberFormatException{
           try{
              if(this.getLength()+str.length() > maxChars) throw new NumberFormatException();//<----
              int i = Integer.parseInt(str);
              super.insertString(offs, str, a);
           catch(NumberFormatException e){
              // do nothing because a user input was not a digit
              Toolkit.getDefaultToolkit().beep();
    }

Maybe you are looking for