Results 1 to 3 of 3
  1. #1
    kastraki2000 is offline Member
    Join Date
    Apr 2011
    Location
    Greece/Athens
    Posts
    6
    Rep Power
    0

    Default Help with mouselistener

    Hello I made an applet where when you do click a shape increases its size.does anybody knows which method I must use so when I do right mouseclick to decreases its size?I have searched in documentation but I am a little confused.sorry for my pour English.

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    On the first page of google I found this: http://wiki.answers.com/Q/How_do_you..._in_Java_Swing

    Also, to verify this I found the API for the event received when a mouse event occurs, view this as well: MouseEvent (Java Platform SE 6)

    Hope this helps.
    Last edited by sunde887; 04-30-2011 at 11:19 AM.

  3. #3
    kastraki2000 is offline Member
    Join Date
    Apr 2011
    Location
    Greece/Athens
    Posts
    6
    Rep Power
    0

Similar Threads

  1. can't get x and y from mouselistener
    By j2me64 in forum Java 2D
    Replies: 3
    Last Post: 04-24-2010, 05:57 PM
  2. MouseListener & GUI
    By Suurisa in forum New To Java
    Replies: 2
    Last Post: 10-27-2009, 01:52 AM
  3. i need help for MouseListener
    By sfaxianovic in forum New To Java
    Replies: 2
    Last Post: 08-21-2008, 04:30 AM
  4. MouseListener
    By Aswq in forum New To Java
    Replies: 12
    Last Post: 07-18-2008, 09:10 AM
  5. I need help with my MouseMotionAdapter and MouseListener.
    By MurderfaceX4 in forum New To Java
    Replies: 1
    Last Post: 12-07-2007, 04:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •