Community
Participate
Working Groups
As soon as we are requiring Java 1.4.1 and the java_swt launcher, I suggest to remove these lines from Display's static initializer and move it to java_swt.c: int [] psn = new int [2]; if (OS.GetCurrentProcess (psn) == OS.noErr) { OS.SetFrontProcess (psn); } I have to call GetCurrentProcess() in java_swt anyways and the earlier we call SetFrontProcess(..) the better, because it becomes less likely that an SWT application inadvertently comes to front.
Since we are in the process of removing java_swt, we shouldn't remove this code from Display. In fact we'll have to add more stuff to Display. Closing.