-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTRAIN_00159.eml
44 lines (40 loc) · 1.83 KB
/
TRAIN_00159.eml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
NoneNone> On Mar 27, 2010, at 3:11 PM, Martin Nedbal wrote:
>
>
>> Hi,
>> I have a simple JNI-based code for embedding WebKit into Swing GUI (I
>> can post sources if needed). It works fine while in regular Swing JFrame
>> but it fails to work when added to modal JDialog - events are blocked
>> apparently. WebKit view shows properly, but if I request a page to be
>> loaded into it it's not loaded and FrameLoaderDelegate does not get
>> didFinishLoadForFrame nor didFail* calls.
>>
>> I wasn't able to find much about this issue in Google/Apple mailing
>> lists. The only thing I found was a thread from 2005 discussing nasty
>> workaround based on having non-modal dialog with blocking loop after
>> setVisible() call.
>>
>> It can be reproduced on Snow Leopard with latest Java6 installed but it
>> does not really seems to be dependent on versions that much.
>>
>> Any ideas how to solve this problem in a clean way?
>>
> I think the problem is that when an AWT-based dialog is up, the runloop is being run in a private Java-modality mode that doesn't let WebKit "events" occur the same way it lets key, mouse, and other events through. But that's just a guess.
>
> If you have reproducible test case, can you submit it to<http://bugreporter.apple.com>, and we can take a look and see if there isn't something we can do from within the AWT.
>
> Thanks,
> Mike Swingler
> Java Runtime Engineer
> Apple Inc.
>
Sure, no problem.
I'll prepare simple example and file it to bugreporter.
Best regards,
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/mlsubscriber.tech%40csmining.org
This email sent to [email protected]