having a bit of a problem setting the location of a jdialog component and was hoping someone wouldn't mind helping
I'm calling setLocationRelativeTo(c), and it isn't centering the dialog relative to the parent, it's centered compared to the desktop.
i'm not really sure why, because the docs (or at least my understanding of them) suggest it should be working.
apologies for not providing a small workable piece of code, but my code is long and unwieldy, and not something i want to subject others to!
Here is the constructor for the dialog (which extends JDialog)
is it anything to do with the fact that the method is inherited from the Window class?
Thanks,
Nick