aspose file tools
The moose likes Applets and the fly likes focus is not coming event after giving   window.focus() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Applets
Reply Bookmark "focus is not coming event after giving   window.focus()" Watch "focus is not coming event after giving   window.focus()" New topic
Author

focus is not coming event after giving window.focus()

Rakesh Kumar
Ranch Hand

Joined: May 30, 2006
Posts: 63
Dear friends,
I am opening a window which loads an applet and after that i am caliing like below.

var win= window.open()
win.focus();
But the focus is not coming on it.

if you have any idea please share it.
Thanks
Rak
Rakesh Kumar
Ranch Hand

Joined: May 30, 2006
Posts: 63
Cod eis as below


parentframe.location.href="dummy.html"
var win = window.open("applethtml")
win.focus()


Actually focus is going to parentframe from wheer applet popped out.Eventhough
I am calling " win.focus()" it is not focussong to applet window.

Please share if you guys have any idea on this how we can bvring the focus on window only.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: focus is not coming event after giving window.focus()
 
Similar Threads
why no matches past the "/" and no output?
focus() not working in firefox
Setting Focus after the form is Submitted
Java 1.6 focus returning problem
Focus problem wiht Mac OS