Alerts grab focus

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

Alerts grab focus

Postby arazvi » Fri Aug 31, 2007 4:19 am

Hi Guys,

I am using the Alert class to bring up notifications as and when the state of my application changes. However, when I am interacting with the main window of my application and an Alert pops up, it grabs focus from the window. This causes a problem when I am editing stuff in the main window.

Is there a way to switch of this grabbing of focus ??

Thanks in advance.
arazvi
 
Posts: 27
Joined: Mon Sep 05, 2005 4:07 am

Postby JIDE Support » Fri Aug 31, 2007 7:00 am

Did you call setDefaultFocusComponent on the Alert? If you didn't set, Alert shouldn't grab focus.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

re: Alerts grab focus

Postby arazvi » Mon Sep 03, 2007 3:30 am

Thanks, that solved the problem.
arazvi
 
Posts: 27
Joined: Mon Sep 05, 2005 4:07 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 19 guests