Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Communication-Mobile android

mousetrack

  • Category : android
  • Tags :
  • Update : 2014-04-15
  • Size : 10kb
  • Downloaded :0次
  • Author :rpu****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
Knowledge: Use the Graphics class production box, use java.awt.Event class response to mouse movements, using color Color class settings box, use the cursor position int class record. Realization of ideas: First, to make the interface box, set the box through the Graphics class object function g.setColor (Color.red) color is red, then the statement g.drawRect (0, 0, size () width- 1. , size () height-. 1) and g.drawRect (mx, my, (size () .width/10)- 1, (size () .height/10)- 1) draw two rectangles, complete the box production. Then realize "box not catch" effect, to respond to mouse events, through the function public boolean mouseDown (java.awt.Event evt, int x, int y action in response to pressing the mouse, by judging the mouse cursor position to avoid grasping the interface box
Packet file list
(Preview for download)


Java抓不住的方块\MouseTrack.class
................\MouseTrack.html
................\MouseTrack.java
................\_desktop.ini
................\抓不住的方块.doc
Java抓不住的方块
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.