This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Having trouble implementing something that when you click and drag on a window a dashed line will appear, allowing you to select whats within that region. A similar tool in Eclipse's visual editor palette is called a Marquee (but I gather this word can also be used for a Ticker).
I've had some success drawing a rectangle to the screen capturing mouse events but I can't get it to display correctly (specifically, clearing the screen).
Ive got something that looks like this. );
Any tips or suggestions on the approach. It would be nice to create a re-usable component. I'm not too worried about the actual section of things within that region (I can probably cope with that) so its more the graphical part.