>|> I'm searching a way to make a Applet running in full fullscreen on
>|> MacosX. Including no menubar in top.
..
>| Why an applet? What does the applet do?
>
> The applet is based
So, you control the code? [1]
>..on the PApplet of processing.org .
There are some nice applets there, well suited
to Java based screensavers.
<https://screensavers.dev.java.net/>
>..It allows
> animations and stuff like that ...
> I once heard about making an application fullscreen and then incorporate
> the applet in it . Would that be possible ?
[1] Sure, but if you have the code, it is a lot easier
to add a main() to the applet so it can run as an
application as well. Then you can have the best of
all worlds.

Signature
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"Takes her over the breakers, to where the water is calm.."
Paul Kelly 'Deeper Water'
Flatman - 12 Sep 2005 08:51 GMT
| >|> I'm searching a way to make a Applet running in full fullscreen on
| >|> MacosX. Including no menubar in top.
[quoted text clipped - 4 lines]
|
| So, you control the code? [1]
The code of processing.org is opensource and freely downloadable. It
produces an applet and I would not like to modify the processing.org
code .
That's why I produce an Applet too ...
| >..on the PApplet of processing.org .
|
| There are some nice applets there, well suited
| to Java based screensavers.
| <https://screensavers.dev.java.net/>
I've checked , but the framewwork is not supported on Macosx ...
| >..It allows
| > animations and stuff like that ...
[quoted text clipped - 5 lines]
| application as well. Then you can have the best of
| all worlds.
Adding a 'main' to the applet is OK, but what should I put in it to
produce fullscreen output ?

Signature
Erik
Mark Haase - 12 Sep 2005 12:51 GMT
> Adding a 'main' to the applet is OK, but what should I put in it to
> produce fullscreen output ?
Convert an applet to an application:
http://www.rgagnon.com/javadetails/java-0305.html
Use JNI to bridge Java to Cocoa:
http://java.sun.com/docs/books/tutorial/native1.1/
Use Cocoa to set up a full screen:
http://developer.apple.com/technotes/tn2002/tn2062.html
PS. I can't promsise this all works...and it sounds pretty complicated
to me. I'm just suggesting this as one avenue to investigate.
When you're done, you'll have a Java app that only runs on OS X,
however, unless you write full-screen windowing libraries for each other
system you want to run it on.
Why not just use Cocoa to begin with? The entire Cocoa API is exposed in
Java anyway, you would just have to use Cocoa drawing commands instead
of AWT/Swing. It would be pretty simple with Xcode 2: you can link
straight to the OS X screen saver framework.
|\/| /| |2 |<
mehaase(at)gmail(dot)com
Flatman - 15 Sep 2005 08:05 GMT
Thanks to all of you for hints...
I got it working nicely now .

Signature
Erik
Roedy Green - 21 Sep 2005 04:22 GMT
>Thanks to all of you for hints...
>I got it working nicely now .
Did you find a mac-specific solution or something cross-platform?

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
Flatman - 21 Sep 2005 07:05 GMT
| >Thanks to all of you for hints...
| >I got it working nicely now .
|
| Did you find a mac-specific solution or something cross-platform?
I did not try it, but it should work cross-platform ... However other
platforms don't have the menubar on top of screen, so that should not be
a problem at all

Signature
Erik