Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6669869
Votes 0
Synopsis Beans.isDesignTime() and other queries should be per-AppContext
Category java:classes_beans
Reported Against
Release Fixed 7(b55)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 29-FEB-2008
Description
Beans.isDesignTime() and other queries should be per-AppContext. We have run into situations in NetBeans where people want to use JOGL both in the Matisse GUI builder and as a plugin in NetBeans. In order to operate within Matisse JOGL requires that Beans.isDesignTime() returns true, but if that is set globally for the entire NetBeans application then plugins which use JOGL will never display any content, since JOGL disables its OpenGL work based on the query of this property.

This and other properties on the Beans class should be per-AppContext, if it is acceptable to add a tie between the Beans class and the sun.awt package. If not then some other way of scoping the query should be invented.
Posted Date : 2008-02-29 20:11:47.0

One bug report describing the problem can be seen at
http://www.netbeans.org/issues/show_bug.cgi?id=127935
Posted Date : 2008-02-29 20:16:16.0
Work Around
N/A
Evaluation
The static properties designTime and guiAvailable should use AppContext.
Posted Date : 2009-01-29 16:36:41.0
Comments
  
  Include a link with my name & email   

Submitted On 15-MAR-2008
mbien
this bug is related to this one:
http://bugs.sun.com/view_bug.do?bug_id=4019290
which was marked as fixed but hasn't been fixed.


Submitted On 18-MAR-2008
UncleSAM
Thanks for pointing this.
I think this is not a bug, because we have context-oriented API:
http://java.sun.com/developer/technicalArticles/jbeans/BeanContext/index.html
http://java.sun.com/docs/books/tutorial/javabeans/beancontext/index.html
I think we should mark queries from the Beans class as deprecated.



PLEASE NOTE: JDK6 is formerly known as Project Mustang