Bug 319 - JOGL components crash if used inside a NetBeans module
Summary: JOGL components crash if used inside a NetBeans module
Status: RESOLVED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: util (show other bugs)
Version: 1
Hardware: All all
: P5 normal
Assignee: Sven Gothel
URL:
: 254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-09 02:37 CEST by Sven Gothel
Modified: 2011-10-10 08:56 CEST (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:50:51 CET


---- Reported by mbien@fh-landshut.de 2007-10-09 14:37:49 ----

The usage of Beans.isDesignTime() is not safe for JOGL components. They assume
to be inside the NetBeans FormDesigner if Beans.isDesignTime() returns true. But
true is also returned if they are used by a module inside NetBeans.



---- Additional Comments From mbien@fh-landshut.de 2007-10-09 14:43:29 ----

We call in the NetBeans OpenGL Pack Beans.setDesignTime(false) before rendering
to workaround that issue. This is no solution because it also crashes while a
JOGL component is inside the FormDesigner. 



---- Additional Comments From kbr 2007-10-09 18:31:51 ----

Please investigate this issue further and suggest a fix. We on the JOGL
development team have neither the expertise nor the time at the moment to
investigate a more complete solution. We have heard something about providing
another bean to be used in this case; see Issue 254.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:50 EDT  ---

This bug was previously known as _bug_ 319 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=319
Comment 1 Sven Gothel 2010-11-19 01:16:32 CET
duplicate of 254, assigned to the bug reporter

*** This bug has been marked as a duplicate of bug 254 ***
Comment 2 Michael Bien 2010-11-19 08:22:39 CET
not a duplicate since its more generic.
Comment 3 Michael Bien 2010-11-19 08:24:39 CET
*** Bug 254 has been marked as a duplicate of this bug. ***
Comment 4 Sven Gothel 2010-11-19 13:07:26 CET
It's neither a core feature, nor P3.

@Michael: Please take over all these Netbeans bugs.
   Do they still 'occur' ?
Comment 5 Sven Gothel 2011-10-10 08:56:28 CEST
no feedback -> invalid