Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to detected when a new child is added to a Composite parent?

 
Jaime Lee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Could anyone please help me out on this? I am trying to figure out a way of detecting whenever a child is added to a SWT Composite parent.

Any suggestions please?

THanks
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know much about SWT, but in Swing there is java.awt.event.ContainerListener that can be triggered about child addition or removal. Perhaps there is something similar in SWT?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!