| [news.eclipse.platform.swt] Re: How to make Canvas selectable? |
"Jan" <ahanys@xxxxxxxxx> wrote in message news:fr59kc$c4a$1@xxxxxxxxxxxxxxxxxxxx > Hello, > > I have a question how to extend a Canvas so it can be selected like a > Button? Just add a mouse listener and process when mouseClicked() or mouseReleased(). You can draw whatever shape you want in the canvas, an attractive person! R.