Hi Michael,
Thanks
alot for this solution. I've used this at one place but now i need to add a JPopup for hint of JTextField.
Problem with JDialog is, it opens new window on taskbar which i dont want. Is there any way to make the parent component of JPopup menu, resizable runtime?