Hi,
I'm writing a program to accept dragging files from the OS (I'm using
Windows) to my Java application. Everything works fine, excpet that the Java
window cannot get the focus when drag enter/over. I tried to put
frame.requestFo cus();
in my DropTargetListe ner, but it still doesn't get the focus. I'm sure that
the code is being processed (I changed it to setVisible(fals e) and it
works!). So is it a constraint of Windows or what? Thanks.
--
I'm writing a program to accept dragging files from the OS (I'm using
Windows) to my Java application. Everything works fine, excpet that the Java
window cannot get the focus when drag enter/over. I tried to put
frame.requestFo cus();
in my DropTargetListe ner, but it still doesn't get the focus. I'm sure that
the code is being processed (I changed it to setVisible(fals e) and it
works!). So is it a constraint of Windows or what? Thanks.
--
Comment