Monday, October 18, 2010

New LWUIT GUI Builder Now Live!

Its been a while since we last discussed GUI builders and LWUIT, we spent some time thinking of the whole "gui builder issue". The biggest issue with GUI builders IMO is the code generation aspect, so when creating the new LWUIT GUI builder we just removed that aspect completely opting to make use of our existing resource file and resource editor architecture to allow a GUI builder that doesn't need to generate any code.
You can see a quick demo video on the right and you can try the webstart version right now to see how this works for you.
There are allot of things in the new GUI builder and I will try to keep you posted on how to use them in the best ways possible. The demo I'm showing off is a clone of Ruhlman's Ratio application which is based on his great cook book.

12 comments:

  1. It's great to use a separate resource file instead of generating code. It helps MVC separation and better maintainability.
    I hope JavaFX 2.0 follow the same way.

    ReplyDelete
  2. Great. When you get the styles from a resource file, it is good to get the structure of the forms also from a resource file.

    How will the integration with the source code be done? How gets the data in the fields of a form, how gets data out of the form, how will the reaction to commands and menus be specified?

    ReplyDelete
  3. Thanks. My new post explains how to write code for the UI builder, I went a bit overboard with my verbosity... I'll try to create a video tutorial soon.
    http://lwuit.blogspot.com/2010/10/ui-builder-class-how-to-actually-use.html

    ReplyDelete
  4. The UIBuilder is in the util class but only in the latest SVN, it is not in the 1.4 release.

    ReplyDelete
  5. i need to cal class in which gui builder generated statemachine class

    ReplyDelete
  6. from where can i download LWUIT GUI Builder

    ReplyDelete
  7. @Ravi: ??? I didn't get that.

    The new version of the resource editor may be invoked by clicking the large orange button in lwuit.java.net

    ReplyDelete
  8. Great work ... The LWUIT is amazing! ... We done a lot more using LWUIT ... But we're trying to develop our own Resource Editor with some extra features. We started reading the binary spec of the resource editor which is documented as V 1.0 ... But there is nothing mentioned about GUI components binary spec. So is there any classes in the LIB that help creating resource files? Is the Resource Editor source code is Open Source? Do you have any tips for us about creating our own resource editor?

    ReplyDelete
  9. Thanks. We strongly recommend that you don't modify the resource editor sources since we are sure to break your work significantly.
    The binary file spec is outdated and isn't maintained. Again, I would *strongly* recommend you don't touch that in any way whatsoever.

    ReplyDelete
  10. Hi, i am trying to create a mixed client chat messenger using LWUIT. Any help in this regard will highly appreciated

    ReplyDelete
  11. Did you see the LWUIT chat demo in the incubator. It predated the GUI builder so it didn't use it but it has some nifty features.

    ReplyDelete