<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>444</bug_id>
          
          <creation_ts>2010-12-13 16:05:11 +0100</creation_ts>
          <short_desc>Disable automated termination of NewtCanvasAWT on window close</short_desc>
          <delta_ts>2015-09-27 03:14:58 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>awt</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Karing">karing.martin</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>2cbab63bd6c230d31b8ae6f1d794ad49bf23bb53</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>717</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Karing">karing.martin</who>
    <bug_when>2010-12-13 16:05:11 +0100</bug_when>
    <thetext>The NewtCanvasAWT is automatically destroyed when the parent AWT frame fires a windowClosing event. This is in general a good behavior, yet in some cases a special when something like a &quot;Really close?&quot; window is implemented there must not be a event dispatched that destroys the context.

It should be possible to choose if that destruction event is dispatched automatically or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-12-19 06:57:35 +0100</bug_when>
    <thetext>JOGL/NEWT: Introduce WindowClosingProtocol (solves Bug/Request 444)

Similar to JFrame&apos;s closing behavior,

the following components window closing follow the new WindowClosingProtocol:
   - GLCanvas
   - GLJPanel
   - NEWT Window, GLWindow
   - NEWT NewtCanvasAWT

The implementation obeys either
 1) the user value set by this interface,
 2) an underlying toolkit set user value (JFrame, ..)
 3) or it&apos;s default, eg. {@link #DO_NOTHING_ON_CLOSE DO_NOTHING_ON_CLOSE} within an AWT environment.

If none of the above determines the operation,
this protocol default behavior {@link #DISPOSE_ON_CLOSE DISPOSE_ON_CLOSE} shall be used.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>