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: Second newbie attempt to get help with applet child windowproblems under Jaguar.



Timothy F. Pope wrote:
|This is a problem that others must run into all the time, but I can't find any
|mention of it in the archives. I have a new iMac running Jaguar with no
|updates to the VM. I am trying to get an applet that works perfectly on PCs to
|work on the iMac. I create a parent window using
|
|class TestFrame extends Frame
| implements WindowListener
|
|When I launch the applet either locally or from a remote server there is no
|problem with the parent window. If I click on View/Java messages on the
|Internet Explorer menu bar, the Java console window appears briefly, then
|disappears behind the parent applet window. Nothing will cause it to stay put
|on top of the parent window. The same thing happens with any child window that
|the applet creates. The only way to read a child window is to minimize the
|applet parent window to the dock so that you can read what is under it. Using
|toFront() on a child window doesn't help.
|If anyone knows what's happening here, I would be most grateful. If not, I
|guess I have an an iMac for sale.

Offhand, if I couldn't find a particular problem in the archives, I'd take that as evidence that others are *not* running into that problem all the time. And, "works perfectly on PCs" is hardly proof that the program has no bugs, only that PCs fulfill its assumptions better than Macs do (a common problem with Java programs).

Sounds to me like a problem with Internet Explorer (what a surprise). Have you tried any other browsers (OmniWeb, Opera, iCab, Mozilla, Chimera, etc.)? Also, how does the applet behave if not run under a browser (either using Applet Runner, or constructing a minimal main() that launches it)?

What's the *simplest* example you can construct that shows the problem? The only actual code you posted is quite useless for diagnosing anything, since it doesn't show us what your code is doing.

Glen Fisher
_______________________________________________
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: 
 >Second newbie attempt to get help with applet child window problems under Jaguar. (From: "Timothy F. Pope" <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.