Login  Register

Re: Javafx causes jogl problem in mac

Posted by Sven Gothel on Mar 14, 2013; 3:34am
URL: https://forum.jogamp.org/Javafx-causes-jogl-problem-in-mac-tp4028417p4028629.html

On 03/14/2013 04:11 AM, runiter [via jogamp] wrote:
>     Sven Gothel wrote
>     This would only not be not successful, if AWT is not enabled/available.
>
> It occurs to me that adding the JavaFX component may somehow disable AWT in
> Mac OS X implementation.
> How can I check whether or not AWT is enabled?
https://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Version_Check

As I have finally updated the Wiki, you see the element:
  '... Java6: true, AWT enabled: true'

The last one is Platform.AWT_ENABLED of GlueGen,
you may check NativeWindowFactory.isAWTAvailable() as well.
The latter on utilizes has further checks.

> Also is there a way to printout the list of factories with debug flags?

https://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing ->
  https://jogamp.org/wiki/index.php/Jogamp_Versioning_and_Releases#Runtime_Debug_Logs

Simply look into the test_dbg.log file (-> FAQ Bugreport),
as created w/ 'sh etc/test_dbg.sh'.

The latter uses all debug properties:
  -Djogamp.debug=all -Dnativewindow.debug=all -Djogl.debug=all -Dnewt.debug=all

~Sven



signature.asc (911 bytes) Download Attachment