Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2759
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "A. Bolmarcich" <a..bolmarcich@THRWHITE.remove-dii-this> |
| Subject | Re: Problem with overlapp |
| Message-ID | <slrnfjmkjr.16vv.aggedor@earl-grey.cloud9.net> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <1195062261.615584.187620@i13g2000prf.googlegroups.com> |
| References | <1195062261.615584.187620@i13g2000prf.googlegroups.com> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 21 |
| Date | Wed, 27 Apr 2011 15:40:59 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918859 96.60.20.240 (Wed, 27 Apr 2011 10:40:59 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:40:59 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2759 |
Show key headers only | View raw
To: comp.lang.java.gui On 2007-11-14, L I M <clgoh@student.cs.uwaterloo.ca> wrote: [snip] > Unless, if you've tried running the code, the user is given an > impression that > the lines are indeed non-overlapping, only the rectagle borders are. > Simply put it, the drawings of the rectagle borders had not covered > that part of the blue line, since the rectangle is transparent. But > the event is still consumed by the rectangle instead of the line > underneath it, since the rectangular object is still on top of that > line. If that is the problem, then a boolean contains(int x, int y) method should be added to the Line class. A return value of true indicates that the component should receive mouse events when the mouse is at location (x,y) of the component. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Problem with overlapp "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: Problem with overlapp "L I M" <l.i.m@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: Problem with overlapp "A. Bolmarcich" <a..bolmarcich@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
csiph-web