0

I'm having trouble with my SWT application where the shells/dialogs always open underneath other windows by default ("pop-under"). if I set the SWT.ON_TOP bit, the window opens properly on top, but then I block other applications, which isn't really desirable either...

I'm wondering if there's a proper way to specify that I want the window to pop-up, rather then underneath other applications.

Thanks!

mystro
  • 347
  • 3
  • 11
  • I should also mention that the window opens underneath AND out of focus... – mystro Nov 12 '10 at 01:20
  • additionally, this problem appears to be related to LSUIElement being set to 1 in Info.plist, so the application runs as an "agent" – mystro Nov 12 '10 at 01:41

1 Answers1

0

I think this question is a duplicate of this SO question. What's your SWT version? It should be resolved in the latest version, as is explained there. Also see this bug report at Eclipse.org.

Community
  • 1
  • 1
Yuji
  • 34,103
  • 3
  • 70
  • 88