Click here to Skip to main content
11,934,389 members (71,422 online)
Rate this:
Please Sign up or sign in to vote.
See more: Java Applet
I've created a grid, and a double array of my class gridBalls.
gridBalls has a int type, and you pass to it a number to determine
what to draw in the grid, like 0 blank, 1 ball etc.
What would the code look like in my mousedragged if I wanted to lets say
click on the slot [0] [0] on my grid (pretend its a ball), drag my mouse
to the right and draw a horizontal line (type 3 in this example), or if I
dragged my mouse bottom and it drew a vertical line (type 2)

[torsten] link removed due to security concerns[/torsten]
(code if needed)
Posted 19-Dec-12 8:56am
Edited 22-Dec-12 22:45pm
TorstenH. 20-Dec-12 3:57am
and your question is???

By the way: we do not provide code. Please ask specific.
Abhishek Pant 23-Dec-12 4:32am
just post your code here but not 3rd party website. and be specific where you stuck with.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100