Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Java IDE for Swing: nib approach vs code generation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java IDE for Swing: nib approach vs code generation?



Dave Yost wrote:

> So my question is this: is there a Java IDE lurking out there (among the dozens of Java IDEs) that uses Java serialization instead of code generation to store UI structure data?

I think it was possible to do this with JBuilder at one point, but I haven't looked at it in a long time. As someone else mentioned, however, serialization of Swing objects is currently only meant to be used for moving objects around, and not for persistence.

The form editor in NetBeans (www.netbeans.org) used to save UI structure data in an XML format. They were talking about saving it in BML (Bean Markup Language -- an XML method of representing connections among JavaBeans), which can then be read at runtime using IBM's BML tools. I don't know if they ever did that or not, but it
would be worth checking out. We use BML to create our Swing GUI and it works pretty well, but we don't use any graphical layout tools. For more info on BML, check out <http://www.alphaworks.ibm.com/tech> and look under Java for the Bean Markup Language.

Rob Cope
Eclipse Services


References: 
 >Java IDE for Swing: nib approach vs code generation? (From: Dave Yost <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.