Want to remove DialogComponentNumber when some event happened ,how to do that?
You can try to use the
getComponentPanel() method of the actual dialog component, and try calling
setVisible(false) on the resulting
Component. You might need to call