[kepler-dev] [Bug 4112] - make kepler use OSX dialog boxes

David Welker david.v.welker at gmail.com
Sat Aug 8 14:30:06 PDT 2009


It is not a separate bug.

Mixing AWT and Swing before Java 1.6 Update 12 is not recommended with  
some exceptions -- JFrame, JDialog, JWindow, and JApplet are in fact  
AWT components. Of course, for an open file dialog in particular, this  
may or may not be an issue. But in general, to the extent we want to  
favor AWT components that adopt the look of their native platform,  
this is an issue. After Java 1.6 Update 12 this issue has been  
addressed.

Overall, one of the number one complaints about Kepler involves the  
GUI. It simply does not behave as expected. If we need to require 1.6  
in order to ensure the GUI works correctly and works well on each  
platform we support, we should do so. We can develop an easy to follow  
set of directions for developers to use 1.6 on Eclipse on the Mac if  
need be.

Keep in mind that if we make Kepler require the use of Java 1.6, that  
does not necessarily imply that Ptolemy must also require it.

Finally, the release of Java 1.7 is just around the corner.

David

On Aug 8, 2009, at 12:56 PM, Christopher Brooks wrote:

> Hi David,
>
> About requiring Java 1.6, that is a separate bug.  The biggest issue  
> is that
> last time I checked, setting up Eclipse on the Mac to run Kepler  
> under Java 1.6
> required a few more steps.
>
> Could someone revisit using Kepler with Eclipse on the Mac?
>
> _Christopher
>
> bugzilla-daemon at ecoinformatics.org wrote:
>> http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4112
>> ------- Comment #3 from welker4kepler at gmail.com  2009-08-07 14:27  
>> -------
>> I think we should consider requiring users to upgrade to Java 1.6  
>> Update 12 or
>> higher for Kepler 2.0.
>> Before then, it was definitely a heavily discouraged practice to  
>> mix AWT and
>> Swing since they do not respect their Z-order. I think that this is  
>> an
>> important enough issue that we should require users to upgrade. I  
>> also think it
>> would be sensible for an upgrade of Java to occur with the release  
>> of 2.0.
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
> -- 
> Christopher Brooks (cxh at eecs berkeley edu) University of California
> CHESS Executive Director                      US Mail: 337 Cory Hall
> Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
> ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
> home: (F-Tu) 707.665.0131 (W-F) 510.655.5480



More information about the Kepler-dev mailing list