Dear Swingers, ;->

We're writing an app that has an Edit menu containing items for Cut, Copy,
Paste, Select All, etc.

I know Swing already has functionality corresponding to these tasks because
when the appropriate key is pressed (ctrl-x, c, v, a, respectively), the
right thing happens.

How can I get access to these actions so I can attach them to my menu items?

I know DefaultEditorKit has public static classes for cut, copy, and paste,
and some others.  However, SelectAll, among others, is an inner class that
is not public, so I can't access it from a subclass outside of its package.

What is the best way to get to this functionality?  For example, is there a
way to "stuff" the appropriate key into a key input buffer?

Thanks for any help.

- Keith and Maddy

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to