Mailing Lists: Apple Mailing Lists

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

JAVA applet and Safari



Dear All,

I wrote an little application for Mac OS X in java.
I used the
System.setProperty("apple.laf.useScreenMenuBar", "true");
and
Application fApplication = new Application();

So, the menubar is at the top of the screen and quit is handled correctly.

I want to  use this application as an applet.
I added init method, did other changes  and an HTML page to test.
The applet is launched, it reads a data file and display it
BUT shortcut key doesn't wok and  [command] [Q] quits Safari...

 I noticed that the applet is registered has a Safari window.

How to make working shortcuts ?
Why the applet is not open as a new application ?

Thanks for help :)

Safari 1.2.4 (v125.12)
Plug-in Java(TM): Version 1.4.2_05
Mac OS X 10.3.8
Modèle d’ordinateur:	PowerBook G4 15"
Type de processeur:	PowerPC G4  (1.1)
Nombre de processeurs:	1
Vitesse du processeur:	1.5 GHz
Cache de niveau 2 (par processeur):	512 Ko
Mémoire:	512 Mo
Vitesse du bus:	167 MHz
Version ROM de démarrage:	4.8.6f0
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to 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.