Abiword shift+tab behavior?

Does anybody know how to set
Shift+tab
to decrease indent like it does in other word processors? I find it strange that I have to use backspace to decrease the indent (which is also annoying because backspace is typically use to delete the bullet at the current indentation). Using shift+tab doesn't do anything.
I cant find info anywhere and i get the feeling this is something only im experiencing.. I'm on abiword 2.4.6.

Kdelperuto wrote:
I do not know..For an example...if you are in Word or Pages and you press tab to indent..I used to press Shift and then tab to undo such indent if it isn't what I was going for in the page set up.  When I press the combination, it no longer undos the indent, it keeps indenting.  Howver, the shift works to capitalize a letter and the tab works to indent normally.
try command Z to undo your tab indent in Pages.

Similar Messages

  • How to override traversal keys CTL-TAB and CTL-SHIFT-TAB in JSplitpane?

    Recently added a JSplitpane to a frame with a number of other panels. One of those panels has two actions triggered by CTL-TAB and CTL-SHIFT-TAB. Since adding the JSplitpane those actions no longer trigger, apparently because JSplitPane is ManagingFocusForwardTraversalKeys and ManagingFocustBackwardTraversalKeys.
    I found if I disable the splitpane that the original actions are triggered, but that disables the divider.
    What would be the recommended way to change the behavior of a JSplitpane to ignore CTL-TAB and CTL-SHIFT-TAB?
    This is a list of things I have tried:
    bodySplitPane.getInputMap().remove(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK));
    bodySplitPane.getInputMap().remove(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK));
    bodySplitPane.getActionMap().remove("focusOutForward");
    bodySplitPane.getActionMap().remove("focusOutBackward");
    bodySplitPane.setFocusTraversalKeysEnabled(false); // doesn't work
    bodySplitPane.setFocusTraversalKeys(0,new HashSet<KeyStroke>());
    bodySplitPane.setFocusTraversalKeys(1,new HashSet<KeyStroke>());
    bodySplitPane.enableInputMethods(false);
    //bodySplitPane.setEnabled(false); // false allows ctl-tab to pass through but freezes the divider so it can't be moved via mouseThanks in advance.
    Jeff
    Edited by: 837741 on Dec 6, 2012 1:11 PM
    Edited by: 837741 on Dec 6, 2012 1:13 PM

    Found this in the tutorial (http://docs.oracle.com/javase/tutorial/uiswing/misc/keybinding.html) which solved the problem for me:
    bodySplitPane.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK),"none");
    bodySplitPane.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK),"none");Turns out my left splitpane has no focusable components, but might be that if it did I would have needed to set the action in the other two input maps as well like this:
    bodySplitPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK),"none");
    bodySplitPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK),"none");
    bodySplitPane.getInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK),"none");
    bodySplitPane.getInputMap(JComponent.WHEN_FOCUSED).put(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK),"none"); Contrary to what the tutorial says, "none" seems to work as the action for any of the input maps, and "nil" or any string seems to work. I found no need to define an action class as the tutorial states and the tutorial does not show any use of the action inner class.
    Also found this helpful http://www.ibm.com/developerworks/java/jdk/additional/IBM50KeyBindings.html
    Edited by: 837741 on Dec 7, 2012 7:25 AM

  • Regarding ctrl-tab and ctrl-shift-tab

    hi,
    i have a JFrame inside which i have a JInternalFrame and this contains 4 JPanels
    which have components now,
    when i press ctrl-tab from first panel's component the focus should move to
    first component of next panel same from other panels and ctrl-shift-tab - reverse
    how can i achive it ?
    i extended FocusManager and by overriding processKeyEvent() i was able achieve what a wanted
    but i have many JInternalFrames which are entirely diffenent from each other
    so had to have different FocusManagers .
    after setting new focusmanager the Mnemonic of JFrame were not working .
    so i need any work arounds for the above problem.
    desperately need help.
    thanks.

    Hi,
    It should work. In the case, don't minimize the Book3.xlsx's window. Then you should be able to use Ctrl+Tab and Ctrl+F6 to switch between the book1,2 and 3.
    Because Excel 2013 move to a single document interface, so there is no workbook title bar minimize, maximize, and close buttons. When you minimize the Book3's window in Excel 2013, the action will be treated as you have used the workbook title
    bar minimize button to minimize the workbook.  
    In Excel 2010, the buttons can be found here:
    If you use the workbook title bar minimize button in Excel 2010 instance, the same behavior can be reproduced.
    Best regards,
    Rex Zhang
    TechNet Community Support

  • Safari 4 is awkward handling many tabs: no longer shifts tab bar context?

    With Safari 4.01, I have difficulty managing browser windows with MANY tabs.
    The problem is, when I click the >> and choose a tab (A) that is currently "off screen," Safari will display A as the right-most tab on the tab-bar.
    But, crucially, Safari 4.01 DOESN'T shift the whole tab-bar to the right to show tab A in context! What does this mean? If I want to click tab B next to A, I can't just do that. I have to click the >>, mouse down and only then can I click tab B.
    Also, even after tab A is selected, the highlight in the >> tab drop-down still shows it as grayed-out.
    The crazy thing is that the tab bar behaved correctly in Safari 4 Beta! That release would shift tab context to the right, AND it would gray-out the now left-most tabs in the >> drop-down, AND un-gray tab A in the same drop-down.
    My questions: Am I simply missing a switch? Did Apple really take away the crucial context-shifting behavior in the tab bar? Could my plugins be interfering? (I use Glims, SafariBlock, Click-to-Flash, Inquisitor, and Google Gears).
    I generally find Safari 4.01 to be very usable. But this tab issue is driving me crazy! I appreciate your help.

    OK, I found the file, deleted it, restarted Safari and found all the bookmarks still arranged out of order or not in their proper folders. I found many of the dups from before and deleted them all. I also re-arranged the bookmarks back to where they should be and will see if anything changes in the next day or two. I will reset safari right now and get back to this thread Thursday. Thanks for the help again, I really appreciate it.
    Brad

  • How do I restore tab behavior back to the way it was in FF 3.5??

    I just upgraded to FF 3.6.13, I generally wait to upgrade until any new bugs have been identified and corrected. In FF 3.5, when I opened a new tab from a link, the new tab appeared to the right of the current tab (NOT at the very end of the tab bar) and the focus STAYED ON THE CURRENT TAB. If I opened multiple new tabs, they each opened to the right of the previously opened new tab, as in <original tab sequence> Yahoo Facebook GMail MyBlog <New tab sequence after opening links> Yahoo Facebook NewFBLink1 NewFBLink2 NewFBLink3 NewFBLink4 GMail MyBlog, with the focus remaining on the CURRENT TAB (in this example Facebook, from which I was opening the links). In 3.6.13, the tabs SOMETIMES open to the right of the current tab, sometimes at the end of the tab bar, and no matter how I fiddle the settings, I cannot make them CONSISTENT. Have tried the extensions 'Tab Mix Plus' and 'New Tab at End' - these do not give me consistent behavior - sometimes they do as I wish, sometimes not. In addition, sometimes the focus stays on the current tab (which is what I want) - sometimes the focus changes to the new tab just opened, sometimes it stays on the current tab until I've opened 3 or 4 new tabs, then jumps to one of the new ones. In the 'options', I do NOT have 'when I open a link in a new tab, switch to it immediately' checked; yet sometimes it does, sometimes it doesn't. HOW do I achieve consistent behavior?? This is why I don't upgrade often. Very frustrating. I have not changed any plugins, other than trying Tab Mix Plus and New Tabs at End after upgrading to 3.6.13, once I realized that the tab behavior was not consistent. How can I go back to FF 3.5 ???

    First of all, sometimes Extensions can interfere with one another. That '''''<u>MAY</u>''''' be the case with your using both Tab Mix Plus and New Tabs at End. They both have a function that you can set for where new tabs appear. TMP has options concerning focus on new tabs.
    My suggestions are:
    #Un-install New Tabs at End (Tools > Add-ons > Extensions, click New Tabs at End, click Uninstall, then exit and restart Firefox).
    #*If using no other extension that affect where tabs appear (to the right of current tab or at end of all open tabs), a simple preference change can affect that change for you, <u>and you have one less extension to be concerned with</u>. I have also made this change as TMP did not have the Focus options to do this when the "new tab at end" feature first appeared or when I first started using the version of Firefox in which this feature appeared:
    #*#Type '''about:config''' in the URL bar and press the Enter key.
    #*#*See: http://kb.mozillazine.org/About:config
    #*#If you see the warning, accept it (promise to be careful).
    #*#Filter = browser.tabs.insertRelatedAfterCurrent
    #*#Look at the "Value" column ('''false'''=open at end, '''true'''=open after current tab); Value = true is the default.
    #*#Double-click that preference to toggle the value from true to false, or false to true
    #*#Restart Firefox (File > Restart Firefox)
    #*#See: http://www.mydigitallife.info/2010/02/01/change-firefox-to-open-new-tab-at-far-right-end-of-tabbar-disable-insert-next-to-current-active-tab/
    #Tab Mix Plus settings
    #*Open the Tab Mix Plus Options (Tools > Add-ons > Extensions, click Tab Mix Plus, click Options)
    #*Click on Events > Tab Opening
    #*#Place a check mark before "Open new tabs next to current one"
    #*#I have checked "Open other tabs next to current one"
    #*##I have un-checked "Only if related to current tab"
    #*##I have un-checked "Change opening order"
    #*#I have checked "Open duplicated tabs next to original"
    #*Click Events > Tab Focus
    #*#If you ALWAYS want to stay on the current tab and let the new tabs open in the background, un-check everything. These selections will/should over-ride Tools > Options > Tabs, "When I open a link in a new tab, switch to it immediately"
    See if the above changes give you the results you are seeking. Tab Mix Plus has lots of options. You may need to change one or two settings at a time until it behaves the way you desire. Keep track of the changes you make so that you can easily re-trace/re-set when the results are not what you want.

  • The new tab behavior is driving me nuts. It keeps re-centering on tabs nearest the start of the list when I move a tab. How do I change this?

    The new tab behavior is driving me nuts. It keeps re-centering on tabs nearest the start of the list when I move a tab. How do I change this?
    I don't want to download an app. I would rather add a new string in about config or just change of the ones in there to false. It's making my work life rather difficult, to be forced to go all the way back to the end of my list after moving one tab just to have to do it again. I mean it's to the point where I might consider changing browsers if they had tab scroll bars.
    Edit: At this point I will download any app. Please make this stupid feature stop.

    The result of setting up that code will do exactly as you described: the tabs will be crowded together. I had not noticed any change in behaviour of Firefox with tabs because all the tabs are crowded together, so they cannot scroll, and I very seldom move tabs.

  • 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.

  • 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();
    }

  • Shift-Tab not working

    For some reason, using Shift-Tab to select fields in reverse does not work properly in Safari and other browsers (Chrome, Firefox). When I hit Shift-Tab, the browser window closes, or, if more than one tab is open, I am warned about closing all the tabs. This is not a new problem but I cannot recall when it started. Thanks.           

    I looked in System Preferences/Keyboard which was fine but then realized I have Witch installed. I looked at triggers there and of course, the trigger for closing a window was Shift-Tab. Deleting that fixed the problem. Thanks.

  • Using Shift+Tab With in JTable (Swing)

    My Jtable have 4 columns , one of the column that is third one is setEditable fale , now im using SHIFT+TAB to travel the cells in this situation i cant travell from 4th cell to 2nd one because the third one is non editable , is ther any work around ??

    Raggy,
    Actually my problem is like this.No. Why tab INTO a cell which can't be edited... the tab key "moves to the next active control"... an uneditable cell isn't "active", so don't risk wearing-out the users precious nail polish by making them hit the tab key an extra time.
    Sometimes this job scares me... the time, effort, thought, and talent which goes into such innanities. Sheesh!
    Go ask your users which they'd prefer.
    Keith.

  • Shift-Tab to decrease indent level in list not working.

    I really can't say it any clearer: when I press Shift-Tab to decrease the indent level (for example in an outline-style list), it is not decreasing the indent level.
    This is for Pages 5.1/Mavericks 10.9.1
    This used to work in iWork '09 but I just tried it in Pages '09 and I get a error beep.
    The only thing I can think of is that there is some accessibility or other command that is overriding this but I can't figure out what.
    Any ideas?

    PeterBreis0807 wrote:
    It is working for me. I tried Numbered, Letter and Harvard lists.
    The only place it doesn't work is in tables where it jumps cells.
    What do you actually mean by "Outline style list"?
    Peter
    I'm using a Harvard list. It simply is not working.
    Just called AppleCare and they had not seen this issue but I got bumped up to iWork support (or whatever they are calling it now). They are calling me back tomorrow.
    Command-] works for indenting as well but Command-[ does not work for outdenting.
    My guess is it is a conflict but I thought maybe someone had run into this before and there might be a quick fix.

  • Shift+Tab Key Event

    Hallo all,
    I have a big problem ;) I am having JTables and these Jtables must lose their focus when someone clicks on Shift+TAB at the (0,0) th of its cell. I tried to do it in a key event but it doesn't accept my solution. Here is a code chunk:
    AWTEvent currentEvent = EventQueue.getCurrentEvent();
    if( currentEvent instanceof KeyEvent)
            KeyEvent ke = (KeyEvent)currentEvent;
                if(ke.getSource()!=this)
                    return;
                if(rowIndex==getModel().getRowCount()-1 && columnIndex==getModel().getColumnCount()-1
                        && KeyStroke.getKeyStrokeForEvent(ke).equals(shiftTabKeyStroke)){
                    KeyboardFocusManager.getCurrentKeyboardFocusManager().focusPreviousComponent();
                    return;
                }So when I compile it, it makes a return to its 0,0 th cell instead of giving focus on the previous component.

    DB means to say this.
    AWTEvent currentEvent = EventQueue.getCurrentEvent();
    if( currentEvent instanceof KeyEvent)
            KeyEvent ke = (KeyEvent)currentEvent;
                if(ke.getSource()!=this)
                    return;
                if(rowIndex==getModel().getRowCount()-1 && columnIndex==getModel().getColumnCount()-1
                        && KeyStroke.getKeyStrokeForEvent(ke).equals(shiftTabKeyStroke)){
                      SwingUtilities.invokeLater(new Runnable(){
                          public void run()
                                 KeyboardFocusManager.getCurrentKeyboardFocusManager().focusPreviousComponent();                         
                    return;
                }

  • How to Handled Shift +Tab(Focus) click in radion button?

    Hi,
    I am using Jdeveloper 11.1.2.0.
    My scenario is one radio button having three items(Left,Right,Center). Now my radio button focus is first radio(Left). Now I click the the tab sequence. It will go to the next field, whether it is input field.
    Suppose Now I am come to back ward like shift+Tab it is come to the radio button. Here what is happening mean the focus is going to the Last radio button item(Center), what I want is which radio Item I select Initially ,the Same Place cursor want to go. How to proceed to this. Please give some suggestion to proceed.
    Regards,
    Ragu

    Hi,
    so what you are saying is that the tab focus navigation bypasses the other radio buttons whereas tab back focus navigation doesn't. If this is the case, and due to missing information in your question, try this
    set autosubmit="true" on the radio group so the radio button selection is saved.
    If this doesn't help, please provide information about the implementation of how you created the radio group and which data they are bound to. Chances are that this indeed needs to be filed as a bug but also that it is a problem in your model
    Frank

  • Steam In-Game Community & Chat Overlay (Shift+Tab Feature)

    I'm trying to run Steam + TF2 through WINE.
    The steam Shift+Tab feature works perfectly in Ubuntu out-of-the-box, but doesn't work at all in arch. Has anyone successfully activated this feature; can anyone suggest how I might activate the feature?
    Best
    n
    Last edited by nhurtt (2012-03-30 23:45:04)

    Yeah, setting the gameoverlayrenderer to native has fixed the problem. Quite obvious I suppose, in retrospect.
    IDK how to inline images on these forums, but w/e. Here's the problem I'm experiencing with switching between vts.
    http://uppix.net/7/7/d/5cd9f47777f313d3 … a07ce1.jpg
    http://uppix.net/e/8/6/cc172d23c6765694 … e736e6.jpg
    http://uppix.net/1/1/a/1450395069669fbd … 4f8d5a.jpg
    Any ideas how to stop this, or maybe even just fix it without restarting steam everytime I switch vts?
    I've actually modeled my start script from one that you posted on the wine forums, Cloudef. it's:
    #!/bin/sh
    X :2 -ac -terminate & nvidia-settings --load-config-only
    sleep 3
    DISPLAY=:2
    export WINEARCH=win32
    export WINEPREFIX=/home/nick/.local/share/wineprefixes/steam
    export WINEDEBUG=-all
    export LANG=en_US.utf8
    openbox &disown
    nohup wine '/home/nick/.local/share/wineprefixes/steam/drive_c/Program Files/Steam/steam.exe' >/dev/null 2&>1
    exit 0
    The script on the archwiki which supposedly accomplishes launching steam on a separate vt fails miserably on my computer. I've seen other startup scripts which use xinit to launch another X session, but they didn't work well either. Any suggestions / ideas I can use?
    Last edited by nhurtt (2012-04-01 21:23:12)

  • Using Shift+Tab in Forms9i

    Hi,
    I have just migrated my application from Forms6i to Forms9i. Now I am facing a problem.
    I have a field with 'Required' property is True. When I try to press 'Shift+Tab' to back to the previous field, it says 'Field must be entered'. Seems like it is firing the When-Validate-Item trigger even during 'Shift+Tab', which was not the case in Forms6i.
    Is there any solution for this? Or is it a known issue in Forms9i?
    Regards,
    Saleem

    Surpsise! It's not the when-validate-item trigger that fires, but it is because the field you are in has the "required" property set to "true". If you set the required property to false for the item (at design-time or at runtime programatically, using set_item_property - RTM on this), it won't do that. Some other way to be able to move within a record in a datablock without to run into this kind of trouble is to set the forms property "defer_required_enforcement" to true (which you may also do at design-time or at runtime programatically using set_form_property).
    I believe this will help.
    Still, I wonder how you didn't have the same problem on Forms 6i...

Maybe you are looking for