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

imageIcon and other such "default text" nodes should auto-convert fom GStrings to Strings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.3
    • 1.6.4, 1.7-beta-1
    • Swing
    • None

    Description

      in a SwingBuidler you would expect this to work:

       imageIcon("/griffon-icon-${size}x${size}.png")

      but it doesn't. You have to cast it to a string manually:

       imageIcon("/griffon-icon-${size}x${size}.png" as String)

      the factories should do this automatically, possibly at the FBS level?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: