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

Sending an event to JComponent  RSS feed

 
Marion Schwarz
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi *,
does anybody know how to send an AWTEvent to a component -in this case a JPanel ?
I created a MouseEvent in a JPanel A and want a JPanel B to react. Both are part of the same JContainer.
thanx in advance
Marion
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Marion,
try this:

chantal
[ December 18, 2002: Message edited by: Chantal Ackermann ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!