Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-581

SwingBuilder does not support all stanard Swing Widgets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-6
    • 1.0-beta-7
    • None
    • None

    Description

      Not all of the standard swing widgets and classes are supported via the Swing Builder. Notable absences:

      JColorChooser
      JFormattedTextField
      JLayeredPane
      JScrollBar
      JSlider
      JSpinner
      JViewport

      BorderLayout (awt)
      CardLayout (awt)
      FlowLayout (awt)
      GridBagLayout (awt)
      GridBagConstarints (awt)
      gridLayout (awt)
      overlayLayout
      springLayout

      ButtonGroup
      DefaultBounderRangeModel
      SpinnerDateModel
      SpinnerListModel
      SpinnerNumberModel
      SpringLayout

      Also included in this patch is implicit dialog and window parenting: a dialog created inside of a frame block will have that frame as it's owner.

      Attachments

        1. swingbuilder-more-widgets.patch
          22 kB
          Daniel Ferrin
        2. Widgets.groovy
          8 kB
          Daniel Ferrin

        Activity

          People

            guillaume Guillaume Sauthier
            shemnon Daniel Ferrin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: