Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20581
| X-Received | by 10.68.222.167 with SMTP id qn7mr976938pbc.1.1355943486002; Wed, 19 Dec 2012 10:58:06 -0800 (PST) |
|---|---|
| Received | by 10.50.34.167 with SMTP id a7mr3076584igj.5.1355943485922; Wed, 19 Dec 2012 10:58:05 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!newsfeed.news.ucla.edu!usenet.stanford.edu!f6no2503708pbd.1!news-out.google.com!6ni51730pbd.1!nntp.google.com!kr7no12816539pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Wed, 19 Dec 2012 10:58:05 -0800 (PST) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=209.250.173.6; posting-account=QRodjQoAAADvDXKfyIBEJ98i1AkNoRNe |
| NNTP-Posting-Host | 209.250.173.6 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <928f7f57-80eb-489f-9005-0110bcf833ed@googlegroups.com> (permalink) |
| Subject | Help with mouse dragging in grid |
| From | jacobhot999@gmail.com |
| Injection-Date | Wed, 19 Dec 2012 18:58:05 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.java.programmer:20581 |
Show key headers only | View raw
http://pastebin.com/qw00TCd6 (code if needed) 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) Thanks
Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread
Help with mouse dragging in grid jacobhot999@gmail.com - 2012-12-19 10:58 -0800
csiph-web