Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot push event queue



Yeah, we've hit this too. There's a really nice component (from Java World,
I think) that allows you to automatically pop up a "waiting" cursor is some
event is taking a while to dispatch that we use but won't work on Mac
because of this problem.

I haven't gotten around to filing a bug yet. Anyone know if one already
exists?

Rob

On 10/31/02 7:39 AM, "Vladimir Kondratyev" <email@hidden>
wrote:

> Hello!
>
> We are currently working on supporting an ability to
> run IntelliJ IDEA 3.0 under Mac OS X. We have found
> the problem with JDK 1.4.1 rc 2 for Mac. The following
> code raises ClassCastException:
>
> Toolkit.getDefaultToolkit().getSystemEventQueue().push(new
> MyEventQueue());
>
> The problem is that the passed event queue is
> downcasted to CEventQueue, although the passed event
> queue is actually derived from java.awt.EventQueue.
> We haven't found in push()'s javadoc any restrictions
> concerning the actual class of the passed parameter.
> It seems that the current Macs implementation does
> not allow to run cross-platform programs which use
> event queue in such a way.
>
>
> Best regards,
> Vladimir Kondratyev
> ---------------------------------------------------
> JetBrains, Inc / IntelliJ Software
> http://www.intellij.com
> "Develop with pleasure!"
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> _______________________________________________
> java-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/java-dev
> Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
> Do not post admin requests to the list. They will be ignored.
>

Rob

--

Rob Eden E-mail: email@hidden
StarLight Systems Web: www.starlight-systems.com

"If there is a better solution... find it."
- Thomas Edison
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >cannot push event queue (From: Vladimir Kondratyev <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.