Forgive me if these have been posted elsewhere... I've tried researching
them myself with little progress. Here are some questions and comments:
- Better documentation! I'm sure this is in progress, but a FAQ and a
getting started would be very nice. The minimal introduction does not
really cover enough. I'm looking for requirements and restrictions,
lists of components for which it makes sense to have children, etc. It
took me forever to remember how JTabbedPane works. On a kind-of-related
note, can I set the available entries of a JComboBox?
- Explanation of how to use named constants, colors, etc. How do I (for
example) set a GridBagConstraints' anchor property to
GridBagConstraints.EAST? How do I use colors? (Yes, some of the
samples files show some color use, and I can check the Converter
classes, but that doesn't mean it is obvious...)
- XSplitPane should use the JSplitPane constructor that specifies two
components -- even if these are null, it prevents completely the
construction of the JButton objects, reducing object churn a bit.
- I really dislike the two requirements for making a simple functional
GUI: My class must extend SwingEngine and it must have public Action
objects available. I would probably prefer passing a java.util.Map
object into a SwingEngine constructor, or such. actionID->Action, perhaps?
- The sample files have some pretty evil-sounding restrictions:
/**
* This file contains proprietary information of CarlsbadCubes
* Copying or reproduction without prior written approval is prohibited.
* Copyright (c) 2002-2003
*/
Less restrictive samples would be helpful (and they probably should be
included in the distribution).
- Doing a GUI with GridBagLayout is still pretty messy, with all the
constraint code in every component... is there any way we can make this
look nicer, or would I be better off to use a more modern LayoutManager?
Pat.
P.S. The project looks promising, and I like the name!