Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Event Handling work on DrawLine/Rectangle.  RSS feed

 
suraya ya'acob
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I m having rectangle and line in my JPanel.
The question is, can mouseListener work on that things?
for the example, let say i click the rectangle - popup message will appear. Please help me and sample coding will help a lot

then can that things also works in ZoomPanel?
Tq
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!