InputMap/ActionMap key bindings for arrow keys, alt key

I'm having trouble defining InputMap/ActionMap key bindings for the arrow keys and the Alt key. My bound actions never run. I believe the problem is that the arrows are used in focus navigation, and the Alt key is used for opening the menu. How can I get these key bindings to work? Is there any other way that I can get events from these keys? I'd even be happy with simple AWT KeyListener events at this point. Thanks.

I've been having this same problem. I built a demo application that demonstrates the problem. It all works fine until I add the JTree. The JTree seems to be consuming the arrow key strokes. Here is the code:
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.KeyStroke;
public class ArrowKeyDemo extends JFrame implements ActionListener {
    private javax.swing.JTree tree;
    private javax.swing.JPanel panel;
    public ArrowKeyDemo() {
        initComponents();
        panel.registerKeyboardAction(this, "A",
                KeyStroke.getKeyStroke(KeyEvent.VK_A, 0, false),
                JComponent.WHEN_IN_FOCUSED_WINDOW);
        panel.registerKeyboardAction(this, "left",
                KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0, false),
                JComponent.WHEN_IN_FOCUSED_WINDOW);
    private void initComponents() {
        panel = new javax.swing.JPanel();
        tree = new javax.swing.JTree();
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                exitForm(evt);
        panel.add(tree);
        getContentPane().add(panel, java.awt.BorderLayout.CENTER);
        pack();
    private void exitForm(java.awt.event.WindowEvent evt) {
        System.exit(0);
    public static void main(String args[]) {
        new ArrowKeyDemo().show();
    public void actionPerformed(ActionEvent actionEvent) {
        System.out.println(actionEvent);
}Having the JTree in there kills the ability to trap key strokes for any other purpose. This seems to be true of other Swing components as well. You can stop the JTree from consuming key strokes by adding the line:
tree.setActionMap(null);
But you will probably need to set the ActionMap to null for every Swing component that is trapping key strokes. I'm not 100% sure, but I think that includes scroll panes as well.
I'd love to hear a more elegant solution.
--Timothy Rogers

Similar Messages

  • Unrestricted keystroke bindings for spaces?

    i can't seem to find my previous post on this ...
    i have long anticipated the possibility that apple may not be so restrictive on keystroke bindings for switching spaces in leopard. but now, of course, through the GUI they are quite restrictive.
    i have been using Virtue for some time now, and i am so accustomed to using my own bindings, alt-Z and alt-X to switch left and right, respectively. it's so efficient, simple and minimal.these are nice because you can switch with the left hand and the right hand can use the mouse.
    ANYWAY, i know i can wait for a 3rd party app to make it happen, but does anyone know how this might be accomplished now?
    i would continue to use virtue but (a) some features aren't working so well now in leopard and (b) maintenance of virtue has stopped because spaces is supposed to be "all that."
    an answer to this would seriously make my day ... anyone?

    Which L&F you're using? Is the combo editable or not?
    Looks silly the question, but the implementations are just so different...
    Kurta

  • Re: Why doesn't WL7.0 support get/post bindings for web services ...

    hi!!!
    Could you pls point to any code example.
    thanks
    Pushpa
    "Richard Berger" <[email protected]> wrote:
    >
    Manoj: Thanks for the answer - do you have or can you point me at any
    code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their
    get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer
    and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for meto
    access a
    web service, I need to write a "middle tier" of some sort (I used
    the
    automatically
    generated Java proxy code and JSP). All works fine, but it seems
    like
    it
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that
    BEA
    chose not
    to provide this feature? (e.g. is it architecturally unsound in anyway?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL definesWeb services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols areused
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

    This isn't a straight FORM Post as in the http binding support in WSDL. It posts
    a soap message.
    It's apparent that Workshop supports form-post and form-get.
    But I dont see how it is done with straight WebLogic webservices. Does WebLogic
    server read the web-services.xml or the WSDL file? I dont see a way to put in
    http-post binding in the former and in the latter it seems to be ignored.
    Can someone clarify.
    Thanks.
    Chu-chi
    "manoj cheenath" <[email protected]> wrote:
    Here is a live example:
    http://65.193.192.35:7001/base/SoapInteropBaseService
    Here is an example that you can download:
    http://manojc.com/?sample2
    This is how you run it:
    http://manojc.com/?tutorial/doc/howtorun.html
    More info can be found from the edocs:
    7.0:
    http://edocs.bea.com/wls/docs70/webserv/index.html
    8.1:
    http://edocs.bea.com/wls/docs81/webserv/index.html
    Regards,
    -manoj
    http://manojc.com
    "pushpa krishna" <[email protected]> wrote in message
    news:[email protected]...
    hi!!!
    Could you pls point to any code example.
    thanks
    Pushpa
    "Richard Berger" <[email protected]> wrote:
    Manoj: Thanks for the answer - do you have or can you point me at
    any
    code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their
    get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer
    and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for
    me
    to
    access a
    web service, I need to write a "middle tier" of some sort (I used
    the
    automatically
    generated Java proxy code and JSP). All works fine, but it seems
    like
    it
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that
    BEA
    chose not
    to provide this feature? (e.g. is it architecturally unsound in
    any
    way?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL
    defines
    Web services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols
    are
    used
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

  • Why doesn't WL7.0 support get/post bindings for web services ...

    This might be a naive question, but according to the documentation, WL 7.0 does
    not support http post/get bindings for web services. Thus, for me to access a
    web service, I need to write a "middle tier" of some sort (I used the automatically
    generated Java proxy code and JSP). All works fine, but it seems like it would
    sure be nice to have HTML forms access web services without having to write a
    middle tier.
    .NET does this and it is extremely useful - is there a reason that BEA chose not
    to provide this feature? (e.g. is it architecturally unsound in any way? or is
    there an easy way to simulate it?). Given some of the Web Workshop positioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL defines Web services
    as a set of endpoints operating on messages; these message contain either message-style
    or RPC-style information. The operations and messages are described abstractly
    in WSDL, and then bound to a concrete network protocol and message format to define
    an endpoint. Related concrete endpoints are combined into abstract endpoints (services).
    WSDL is extensible to allow the description of endpoints and their associated
    messages regardless of what message formats or network protocols are used to communicate,
    however, the only bindings described in the specification describe how to use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

    Manoj: Thanks for the answer - do you have or can you point me at any code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for meto
    access a
    web service, I need to write a "middle tier" of some sort (I used theautomatically
    generated Java proxy code and JSP). All works fine, but it seems likeit
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that BEAchose not
    to provide this feature? (e.g. is it architecturally unsound in anyway?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL definesWeb services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols areused
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

  • Custom headers are not exported correctly in the bindings for the WCF-WebHttp adapter

    I have an annoying issue with the bindings for the WCF-WebHttp adapter.
    As you know, the "Messages" tab of the WCF-WebHttp transport properties enables a developer to configure a number of static outbound HTTP headers. When I've entered two or more headers in the textbox, the CRLF between individual headers will be
    stripped after a bindings import. This means I cannot call RESTful services that require more than one custom HTTP header in a messaging-only scenario, because BizTalk goofs up the configuration.
    For example, when I enter the following headers in the textbox:
    Then export the bindings, and immediately import the bindings again (untouched), the textbox now shows:
    I did some brief analysis, and within the binding file's XML, the HttpHeaders property (contained in the TransportTypeData element) is not encoded/escaped in any way, so therefore the significant whitespace (in this case CRLF) that needs to be preserved
    is lost in the import process.
    Can anyone reproduce this and can anyone think of a workaround (without resorting to an orchestration)?

    I did some brief analysis, and within the binding file's XML, the HttpHeaders property (contained in the TransportTypeData element) is not encoded/escaped in any way, so therefore the significant whitespace (in this case CRLF) that needs to be preserved
    is lost in the import process.
    +1

  • [SOLVED] Terminator, "you need to install python bindings for libvte"

    Upgrade terminator to 0.96-3, with new dependency to vte3.
    It suggested to remove vte, which is not needed any more. So I followed the suggestion.
    Then I can't open terminator! Got a error dialog "You need to install python bindings for libvte".
    Finally, I installed the vte package to fix it.

    Indeed, vte is still required.

  • Getting 3 cursor images  for arrows, hand, magnifing glass etc.

    all of a sudden getting 3 cursor images  for arrows, hand, magnifing glass etc. and can't get rid of.
    thanks

    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Setting_the_Windows

  • Photoshop CC for PC - ctrl-alt-arrow key Does Nothing

    I installed Photoshop CC on a new PC, and the ctrl-alt-arrow keystroke does nothing. It used to shrink the marquee around pixels and move the selection by 1 pixel. Now it does nothing. Using shift-ctrl-alt-arrow shrinks the marquee around pixels and moves the selection by 10 pixels, which is what it's supposed to do. Any help is appreciated.

    I'm re-reading your posts, and I'm guessing you started having this problem when you installed on the new PC.
    What I'm thinking is that unchecking the hotkeys is not enough, the hotkey utility may be still be "trapping" the ctrl-alt-arrow keystroke.
    I decided to check this for myself.  First I open the task manager in Windows 7. and saw a process called "igfxHK.exe"  I ended that process and started Photoshop and then tried ctrl-alt-arrow and to my surprise, that does work.  igfxHK = Intel Graphics HotKey.
    Now the next trick is to block it from loading in the first place. I guess you could try to move or rename it. I don't want to ask you to adjust entries in the Registry yet. I have to go in a few minutes.
    From this article: Ctrl+Alt+Arrow key no longer working — Photoshop for Windows — ClearPS.com
    "The good news is that (as far as I can tell) hkcmd doesn't appear to be necessary as my graphics drivers are still functioning fine after I've removed it (I went into regedit, searched for hkcmd and deleted all entries). From searching online I see that hkcmd is known to conflict with other apps, so it seems that it's likely the cause rather than PhotoShop. Why PhotoShop and hkcmd suddenly started to cause conflicts after months of proper functioning, I don't know."   hkcmd is like igfxHK.
    Gene

  • How to make modifier keys lockable? (like Caps Lock for Ctrl or Alt)

    Playing around with the non-modal text editor ne, I found myself wondering if one could simulate a modal interface (like vim has) by having something like "Ctrl Lock" or "Alt Lock" (analogous to Caps Lock) and thus a "ctrl mode"/"alt mode". I would like to try this, but I am not sure how to make it happen.
    My best guess is that this could be accomplished via XKB, but its documentation looks pretty intimidating. Is anyone here proficient in XKB and could point me in the right direction?
    Other ideas:
    – Is this something that a terminal emulator could do? Is there already one that can do it?
    – Or a shell?
    – For console applications, would it be possible to have a small wrapper that did nothing but intercept keyboard input and just pass everything through to the wrapped process, except that it would take into account the desired lockable modifier key? (I am thinking of tput here, but from my first search it appears that it doesn't do this sort of thing.)

    @Trilby: Thank you for the elaborate input!
    @drcouzelis: "sticky keys" normally means that modifiers remain active only until the next keypress, while I want a way to lock them in active state for an arbitrary number of keypresses. But still, "sticky keys" was a worthwile input for the search engine.
    The program xkbset, which can be used to set XKB options on the fly, has a function that comes very close to what I desire:
    $ xkbset h
    Usage: To set or unset various options:
    xkbset <options>
    where <options> may be all or any of (the '-' switches the feature off,
    otherwise it is switched on):
    To switch sticky keys on or off, and optionally set or reset:
    () two keys pressed at the same time stops sticky keys;
    () a modifier pressed twice will be locked:
    [-]{sticky|st} [[-]twokey|[-]latchlock]...
    I cannot select specific modiers to be affected with xkbset, but that would be fine with me. Sadly, it didn't completely work for me:
    – It doesn't affect Alt at all for me.
    – The effect seems to go away as soon as I change the window. (Maybe I need to invoke xkbset from .xinitrc for its effects to persist throughout the session? I will try that.)
    So I went on and tried to configure XKB manually. I got up to a certain point without studying the documentation in-depth, but now I have landed on an error message that seems to suggest to me that I would have to get to a better understanding about the layout files before I could understand it. Here is what I did:
    1. Got my current XKB configuration:
    xkbcomp :0 output.xkb
    2. Editet output.xkb to include the following at the end of the xkb_compatibility section:
    //Hoping this makes the ^-key into a Ctrl-Lock key:
    interpret TLDE {
    action= LockMods(modifiers=Control);
    3. Then I recompiled the configuration back into the running X server:
    $ xkbcomp out.xkb :0
    Warning: Compat map for group 2 redefined
    Using new definition
    Warning: Compat map for group 3 redefined
    Using new definition
    Warning: Compat map for group 4 redefined
    Using new definition
    Error: Couldn't lookup keysym
    Symbol interpretation ignored
    Warning: No symbols defined for <AB11> (keycode 97)
    Warning: No symbols defined for <JPCM> (keycode 103)
    Warning: No symbols defined for <I120> (keycode 120)
    Warning: No symbols defined for <AE13> (keycode 132)
    Warning: No symbols defined for <I149> (keycode 149)
    Warning: No symbols defined for <I154> (keycode 154)
    Warning: No symbols defined for <I168> (keycode 168)
    Warning: No symbols defined for <I178> (keycode 178)
    Warning: No symbols defined for <I183> (keycode 183)
    Warning: No symbols defined for <I184> (keycode 184)
    Warning: No symbols defined for <FK19> (keycode 197)
    Warning: No symbols defined for <FK24> (keycode 202)
    Warning: No symbols defined for <I217> (keycode 217)
    Warning: No symbols defined for <I219> (keycode 219)
    Warning: No symbols defined for <I221> (keycode 221)
    Warning: No symbols defined for <I222> (keycode 222)
    Warning: No symbols defined for <I230> (keycode 230)
    Warning: No symbols defined for <I247> (keycode 247)
    Warning: No symbols defined for <I248> (keycode 248)
    Warning: No symbols defined for <I249> (keycode 249)
    Warning: No symbols defined for <I250> (keycode 250)
    Warning: No symbols defined for <I251> (keycode 251)
    Warning: No symbols defined for <I252> (keycode 252)
    Warning: No symbols defined for <I253> (keycode 253)
    The "Error" part is where I am currently stuck. It tells me that my changes were ignored (I no that it's about them because it goes away when I comment them out), but I don't yet understand why.

  • 2630 trouble using central scroll key for arrows

    I just bought a 2630, and I am having a lot of trouble getting the central scroll/navigation key to work as arrows. It seems to be really difficult to click it at the four edges, for the four directional arrows, and have it not think I am just pressing it in the centre to do a selection.
    I can get it to work some of the time by pressing with a fingernail at the very edge between the button and the surrounding part of the phone, but it just doesn't seem reliable.
    Any suggestions? Others having this problem? (I haven't seen other postings on this yet, which really surprises me.)

    OK, I figured this out. I had misinterpreted the illustratoins in the manual to mean that you do the arrow keys by clicking on the actual center select buttton, but towards the edge of that central button. In fact, there is a separate rectangular scroll button surrounding that central button, which is what you use for the arrow keys.
    Sorry for the dumb newbie to cell phones question, but maybe it will help someone else!

  • Terminal key bindings for Home and End

    I am recording this here in the hope of savings others some time.
    It is often stated that the following Terminal key bindings have to be asserted to get Home and End keys working as intended:
    \033OH
    \033OF
    I find this misleading as it is neither what most people would type nor what they would see.
    I type:
    escape O H
    escape O F
    This results in:
    \033oh
    \033of
    which works as intended but using 'shift' to produce the capitals depicted in most notes about this will not work.

    My default bindings did not work for home and end but page up and page down inexplicably worked with shift. The image below shows the keys and their bindings (eg \033[5~ and \033[6~ stated here for Google!) I applied to Terminal to make home, end, page up and page down behave in the same way as many other applications including iTerm. Remember to type 'esc' to get '\033'.
    I started out trying to improve the readability of large manual pages (eg man bash). Whilst the changes above improved things considerably I have now found better alternatives.
    I tried iTerm - the keys worked correctly but inconsistencies between the various window size settings did not inspire confidence.
    I now use ManOpen.app which I have configured to open when I type eg 'm chmod' in Terminal - I changed the name of openman to m and put it together with openman.1 in /usr/bin. The pages scroll normally and have hot links to other manual items. This is a simple way to vastly improve manual reading. The only slight negatives I have found are:
    1 - two preference panes will not open - defaults OK for me
    2 - window positions not remembered - since size can be set I can live with this
    3 - text cannot be set to soft wrap to window width (misnamed zoom by some applications).
    I would be interested to hear if others have found better ways of viewing manuals.
    Here are some interesting pages:
    http://en.wikipedia.org/wiki/Tableof_keyboard_shortcuts#Command_lineshortcuts
    http://www.tuaw.com/2008/03/07/here-comes-your-man-viewer/

  • A desperate cry for help; My alt key has rendered my mac useless!

    Hi!
    A few weeks ago I spilled a little glass of water on my macbook pro (2010/15") and as a consequence of this the alt key became dysfunctional. Although not mechanically jammed, the macbook seems to be registering a constantly activated alt key. This obviously renders the whole keyboard useless as every button I press results in: •Ω醵üıœπ˙ß∂ƒ¸˛√ªfiö÷≈ç‹›‘’‚ and various secondary functions.
    These are solutions i have tried:
    Resetting the PRAM and SMC
    Disabling the alt the key in system preferences
    Removing the alt keys and cleaning the switches
    Plain ol' baning away at the keyboard in sheer frustation
    I figured that the only solution would be getting the macbook pro repaired, but this is pretty costly here in Denmark; 3000 Dkk = 550 usd = 330 gbp. I never really got around to doing this and have been using a seperate keyboard ever since.
    But get this! In the small hours of chirstmas eve/day, I blow out all the christmas candles and go to turn of my macbook pro... there must have been some christmas magic in the air because the "f*•Ω∂é" thing just suddenly worked!!! ;D
    But alas, after a single restart im back to square one!
    Although extremely frustrated, I'm also a little hopeful that there might be a solution which doesnt involve replacing a whole component just because of one single key... ( I swear I sometimes hear that alt key laughing at me! ;p)
    Any advice, suggestions or thoughts would be greatly aprreciated
    Merry Christmas/Happy holidays and a happy New Year!
    Thanks in adavance

    Yea I know, this solution seems unevitable............ But im trying to avoid it
    I dont understand how a simple restart reversed the whole thing, i didnt even move the macbook.......?
    But then again I don't know what made it work in the first place..
    I was afraid that the water caused a short-circuit and that the alt key contact was somehow fried. But the fact that it worked again + the fact that a restart reversed this, might mean this is a software issue or at least an issue that can be resolved by some DIY, ................................or what?

  • JComboBox vs Keyboard bindings for jdk 1.3(getActionMap()/getInputMap())

    My problem is relative simple
    I have a combobox and i want to have some key bindings on it.
    The old "registerKeyboardAction()" don't work an also the new
    test_combo.getInputMap().put( KeyStroke,Mykey );
    test_combo.getActionMap().put(MyKey,MyAction);
    I have this strange behavior only with JComboBox

    Which L&F you're using? Is the combo editable or not?
    Looks silly the question, but the implementations are just so different...
    Kurta

  • Acrobat pro: how set default properties for arrow and line tool seperately?

    I have a problem with the 'comment and markup' tools in Adobe Acrobat Pro.
    I would like to change the defaults of some of the tools, eg the arrow and the line tool.
    This can be achieved by right-clicking on something drawn using the tool in question and then selecting 'properties' - or by selecting the tool and then press ctrl+E, wich opens a 'Callout Tool Properties', and then change what you want there. The latter option keeps the changes as defaults - the former offers a box to tick in the 'properties' dialogue that opens - or, you can right-click on the object again after having changed the properties, and then select 'Make Current Properties Default'.
    My Problem is now, that, apparently, you cannot choose and save default properties freely and for each tool. I woul like to have the default properties for the line tool set as the following:
    -line color: yellow
    -line thickness: 8pt
    -opacity: 60%
    and fot the arrow tool as this:
    -line color: red
    -line thickness: 1pt
    -opacity: 100%
    This all works fine as long as the program is open. As soon as I exit and start it again opening another document /the same one again, the arrow tool changes to
    -line color: yellow
    -opacity: 60%
    only the line thickness remains at 1pt.
    If I change the properties of the line to the ones I want for the arrow, the arrow properties remain unaltered if I close Acrobat Pro.
    Why do these properties interfere? Why is it "line color/thickness" in both? Why, then, do only the opacity and the color interfere, but not the thickness - even if it's the latter two properties that are bot called "line xxx"? Why does Acrobat not save all properties for these two shapes seperately - even IF the two shapes are both of a line-like kind?
    Is there a way to get around this?

    Trobbel - This indeed is puzzling behavior. Clicking 'Make Current Properties Default' should preserve the default  appearance for each. I don't have a solution, but merely a couple of suggestions:
    1) Make sure you have installed any available upgrade for your version of Acrobat Professional.
    2) Consider using the line tool exclusively - you can add an arrowhead and make one tool perform both tasks.
    Hope this helps. /rmbrown

  • PDF Optimizer Removes Lines for Arrows & Circles

    I'm using Acrobat 9 Pro for Mac.  I've created documents that need  arrows & circles around certain images, & have created PDF's from those docs.  I need to optimize those PDF's to reduce the filesize, but in doing so, the PDF Optimizer removes the lines from the arrows & circles, leaving just the beginning & ending points.  Here's an example of before/after optimizing:
    I've changed just about every setting in the PDF Optimizer, but it still removes the lines.  What am I missing here?
    Thanks for your help!

    I'm afraid I initially missed your "I've changed just about every setting in the PDF Optimizer," and don't have the expertise to take this much further.  I assume you added your circles and arrows with Acrobat 9's commenting tools.  If so, a desperate measure might be to flatten them, as discussed by Dov Isaacs a few times, most recently with regard to "Typewriter Objects," over in the InDesign forum, but I'm getting out of my depth.
    Good luck,
    David

Maybe you are looking for

  • Error messages after alternate plug-ins directory chosen

    After my initial install of the CS6 beta, which went quickly and flawlessly (I have learned to turn off my virus protection during install due to previous problems with installs of older versions of PS) I went to preferences and chose my CS5 plug-ins

  • Issue converting String to DateTime to subtract 1 Day duration  in XSLT

    Hi I need to subtract 1 Day duration from the input date which is in format "yyyy-mm-ddT00:00:00"( data type=String) I tried using the available function: subtract-dayTimeDuration-from-dateTime() But, this function expects input as datatype datetime

  • Oracle 11g ODAC with Oracle 10g Database

    Hi, I am trying to work with SDO_GEOMETRY from .Net. When selecting * to a DataSet exception is thrown - Unknown column type. So, i saw that Oracle Data Provider for .NET 2.0 11.1.0.6.20 supports User Defined Types. My question is this: If i will ins

  • ERROR EXP-00003 During an Export!

    Hi, I have a question. During an export I am getting an error: C:\oracle\ora92\bin>exp radsql@image_try file=c:\radsql.dmp tables=ANAG Export: Release 9.2.0.7.0 - Production on Mon Nov 19 01:08:06 2007 Copyright (c) 1982, 2002, Oracle Corporation. Al

  • Converting raw dng files to jpeg

    Hi everyone, Had a question about adobe photoshop elements 8.0. At my job we currently shoot digital images and then modify the raw files while also creating a jpeg version for viewing. With adobe elements, my boss is looking for a way to adjust the