title: How to release objects? [Java-GNOME]
body: <p>how do i release objects in java-gnome library?
  first, i give an example...</p>
  
  <pre><code>package gui;
  
  import org.gnome.gdk.Event;
  import org.gnome.gtk.Button;
  import org.gnome.gtk.Widget;
  import org.gnome.gtk.Window;
  
  public class A extends Window implements Window.DeleteEvent
  {
      private Button b;
  
      public A()
      {
          this.b = new Button();
      }
  
      public boolean onDeleteEvent(Widget w, Event e)
      {
          this.b.destroy();
          this.destroy();
          this.release();
          return false;
      }
  }
  </code></pre>
  
  <p>should i use destroy and release functions like i do at this code?
  how to i finally release the objects?</p>
  
  <p>java-gnome api website:
  <a href="http://java-gnome.sourceforge.net/4.0/doc/api/index.html?org/gnome/pango/package-summary.html" rel="nofollow">http://java-gnome.sourceforge.net/4.0/doc/api/index.html?org/gnome/pango/package-summary.html</a></p>
  
  <p>its free open source, if u can check it for me:
  <a href="http://ftp.gnome.org/pub/gnome/sources/java-gnome/4.0/" rel="nofollow">http://ftp.gnome.org/pub/gnome/sources/java-gnome/4.0/</a></p>
  
  <p>download the file: "java-gnome-4.0.19.tar.gz"
  thanks for help :)</p>