I have a modal JDialog that I pop up from a parent window. Right now it's appearing in the upper left corner of the screen. I'd like it to pop up centered over the parent window, but I can't find any methods to do this. Anyone know how? Thanks in advance.