Child pages
  • What's New in UI Designer in Demetra
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

What's New in UI Designer in Demetra

New layout editing interface

  • Automatic creation of grids when components are dropped on the form. No more "Lay Out in Grid / Break Layout" actions.
  • Automatic insertion of grid cells when creating or moving components.
  • Improved visual feedback when creating or moving components.
  • Automatic deletion of empty grid cells after moving or deleting a component.
  • Possibility to modify row/col span of components in a grid container by drag&drop resizing.
  • Copying components by Ctrl-dragging.
  • Resizable column and row captions for grid containers.
  • Possibility to choose insert destination on paste action.
  • Spacers are automatically added when the first component is dropped into a grid container.

Complete support for Swing features

  • New property types supported: Component, Icon, Color, Font.
  • New components in default palette: JSeparator, JProgressBar, JToolBar, JScrollBar.
  • Design-time support for JToolBar.
  • Support for button groups.

Layout support and code generation

  • ASM library used instead of BCEL for bytecode instrumentation.
  • Generation of code using standard GridBagLayout instead of IDEA's custom LayoutManager.
  • Support for indented components.
  • Support for nested forms. A form which has a binding for a top-level component can be added to another form even if the class bound to the nested form is not a JComponent.
  • Support for "Align grid with parent" layout option.

UI Inspections

  • Missing mnemonic
  • Duplicate mnemonic
  • Adjacent radio buttons not grouped
  • No label for component
  • Scrollable component not in ScrollPane

New Actions

  • Increase/decrease indent (Tab, Shift-Tab)
  • Surround With (Ctrl-Alt-T) - wraps the selected components in a JPanel, JScrollPane, JSplitPane or JTabbedPane.
  • Duplicate (Ctrl-D) - creates a copy of selected components in the next row of the grid.
  • Choose Locale - selects the locale used to load values of string properties from property files.
  • Group/Ungroup Buttons - create or delete ButtonGroups for JRadioButtons.
  • Show Grid - toggles visibility of the grid in the designer.

Interface Improvements

  • New palette implementation, with full drag & drop support and in-place editing.
  • Component tree and property inspector moved to a toolwindow.
  • Drag&drop support in the component tree.
  • Highlighting for modified properties with possibility to restore the default value of a modified property.
  • Assorted minor usability and functionality improvements.
  • No labels