Mouse Click in AWT


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Mouse Click in AWT

  1. #1
    Keren Guest

    Mouse Click in AWT


    how can I find out that a left click happened?
    using AWT and not Swing.


    Thanks,
    Keren

  2. #2
    rupesh Guest

    Re: Mouse Click in AWT


    "Keren" <Keren_Fathi@packetlight.com> wrote:
    >
    >how can I find out that a left click happened?
    >using AWT and not Swing.
    >
    >
    >Thanks,
    >Keren

    just check in MouseClicked event or MousePressed event
    if(isMetaData())
    returns true means l.click
    else r.click



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center