This is a Clojure Java interop problem. If you are doing GUI programming with Swing in Clojure this is a real problem. The question is how do you subclass (?) a built-in swing operation to extend it to include your own code. After the paste, I want to do something to the pasted text. This is done all the time, but I have no idea how to do it in Clojure.
Bill On Sep 30, 8:16 am, Laurent PETIT <laurent.pe...@gmail.com> wrote: > You have probably mistaken this clojure group for another ... > > 2010/9/30 WoodHacker <ramsa...@comcast.net>> I have a keyboard paste problem, > but I think it has more general > > interest. When the user types Control V in a JTextPane, data from > > the clipboard will be pasted into the text. I want to act on that > > pasted text. I can easily capture the keystroke. The problem is > > that my capture takes place BEFORE the actual paste. What do I do > > to make my handler occur AFTER the paste? > > > Bill > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clojure@googlegroups.com > > Note that posts from new members are moderated - please be patient with > > your first post. > > To unsubscribe from this group, send email to > > clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en