Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25656 > unrolled thread

Re: Discovering actions supported by a JTextArea

Started by"John B. Matthews" <nospam@nospam.invalid>
First post2011-02-08 18:09 -0500
Last post2011-02-09 08:58 -0800
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Discovering actions supported by a JTextArea "John B. Matthews" <nospam@nospam.invalid> - 2011-02-08 18:09 -0500
    Re: Discovering actions supported by a JTextArea "dalamb@cs.queensu.ca" <david.alex.lamb@gmail.com> - 2011-02-09 08:58 -0800

#25656 — Re: Discovering actions supported by a JTextArea

From"John B. Matthews" <nospam@nospam.invalid>
Date2011-02-08 18:09 -0500
SubjectRe: Discovering actions supported by a JTextArea
Message-ID<nospam-C88950.18095608022011@news.aioe.org>
In article 
<894ac279-bc62-45a4-aa2b-0399daa3debf@f2g2000yqf.googlegroups.com>,
 "dalamb@cs.queensu.ca" <david.alex.lamb@gmail.com> wrote:

> So is there some other way to programmatically find out what key
> bindings (and corresponding actions) a JTextComponent supports?

This convenient utility displays the key bindings for each of the direct 
subclasses of JTextComponent: JEditorPane, JTextArea and JTextField:

<http://tips4java.wordpress.com/2008/10/10/key-bindings/>

The source code is particularly illuminating, especially regarding look 
& feel.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

[toc] | [next] | [standalone]


#25859

From"dalamb@cs.queensu.ca" <david.alex.lamb@gmail.com>
Date2011-02-09 08:58 -0800
Message-ID<1aee8391-c469-4bbf-b427-b06b02d1e841@v16g2000vbq.googlegroups.com>
In reply to#25656
On Feb 8, 6:09 pm, "John B. Matthews" <nos...@nospam.invalid> wrote:
> This convenient utility displays the key bindings for each of the direct
> subclasses of JTextComponent: JEditorPane, JTextArea and JTextField:
>
> <http://tips4java.wordpress.com/2008/10/10/key-bindings/>

Thanks!  That's exactly what I needed to know.  I note the program
shows the key bindings for seemingly every JComponent -- a big help!

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web