Click here to Skip to main content
Rate this: bad
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
(no name)33.9K
TorstenH. at 20-Dec-12 3:57am
and your question is???
By the way: we do not provide code. Please ask specific.
Abhishek Pant at 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
0 OriginalGriff 390
1 Jochen Arndt 165
2 Richard MacCutchan 135
3 DamithSL 95
4 Garth J Lancaster 90
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220

Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2014
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