Article View: borland.public.jbuilder.java.swing
Article #7552Re: Catching Ctrl-V (Paste) event
From: Eduardo Oliveira
Date: Thu, 18 Jan 2001 09:59
Date: Thu, 18 Jan 2001 09:59
30 lines
1713 bytes
1713 bytes
OK so here it is the code:
private void myKeyTyped(KeyEvent e) {
if (e.isControlDown() && e.getKeyChar() == KeyEvent.VK_V)){
e.consume();
}
}
Best regards
Eduardo Oliveira
"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message
news:MPG.14d03421dbd0503989eb3@forums.borland.com...
> On Wed, 17 Jan 2001 16:29:29 -0000, Eduardo Oliveira wrote:
>
> > Can anybody help me catching a Ctrl-V (Past) event. It seems
> > easy but I havn't been able to do it. Thanx.
>
> If you post the code of your attempt, maybe someone can tell you where
> the problem is.
>
> --
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
> http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<3a66bf3f$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!netnews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!212.55.161.83References:
<3a65c91b_1@dnews> <MPG.14d03421dbd0503989eb3@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,77b664eeb05562fc X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-18 02:12:06 PST From: "Eduardo Oliveira" <eduardo.oliveira@s-tecno.pt> Newsgroups: borland.public.jbuilder.java.swing References: <3a65c91b_1@dnews> <MPG.14d03421dbd0503989eb3@forums.borland.com> Subject: Re: Catching Ctrl-V (Paste) event Date: Thu, 18 Jan 2001 09:59:54 -0000 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 212.55.161.83 Message-ID: <3a66bf3f$1_2@dnews> X-Trace: 18 Jan 2001 02:02:39 -0800, 212.55.161.83 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!netnews.com!isdnet!newsfeeds.belnet.be!naxos.belnet.be!news.belnet.be!bornews.borland.com!dnews!212.55.161.83