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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
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://aspose.com/file-tools
 
subject: focus is not coming event after giving window.focus()