dynamically placing a border around an image when image selected

asked 2011-07-04 01:37:31 +0800

cosmicrider gravatar image cosmicrider

I am creating a workflow type program that has images a user can drag/drop to create the workflow. I would like to paint a border around the image (which is kept in a HBOX) whenever a user selects it and remove the border (border = red rectangle) when the image is dropped. Java code example would be appreciated

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-07-05 02:30:08 +0800

cosmicrider gravatar image cosmicrider

any ideas?

link publish delete flag offensive edit

answered 2011-07-05 04:42:29 +0800

matthewgo gravatar image matthewgo

You can refer this smalltalk
It seems matches your request.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2011-07-04 01:37:31 +0800

Seen: 179 times

Last updated: Jul 05 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More