Hi,
Im using a JFileChooser, and when I call setLocation ( iXLocation,
iYLocation); nothing happens!
Is there something i need to refresh to get the window to move?
Currently it opens in the middle of the screen, but the project runs on
2 connected screens, making the middle of it irritatingly divided by
the sides of the monitors...
thanks for the help
zero - 03 Dec 2005 00:09 GMT
"tiewknvc9" <aotemp@hotmail.com> wrote in news:1133561627.726351.68480
@z14g2000cwz.googlegroups.com:
> Hi,
>
[quoted text clipped - 7 lines]
>
> thanks for the help
Did you call setLocation before showing the dialog? If that doesn't work
(and it probably won't, but try it anyway) you'll probably have to extend
JFileChooser and override createDialog. There's an example which should
show you all you need at the JFileChooser javadoc:
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFileChooser.html
Look at the explanation of createDialog.

Signature
Beware the False Authority Syndrome