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


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

Re: Discovering actions supported by a JTextArea

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Discovering actions supported by a JTextArea
Date 2011-02-08 18:09 -0500
Organization The Wasteland
Message-ID <nospam-C88950.18095608022011@news.aioe.org> (permalink)
References <894ac279-bc62-45a4-aa2b-0399daa3debf@f2g2000yqf.googlegroups.com>

Show all headers | View raw


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>

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

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

csiph-web