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

sub-tabbedPane in swingbuilder missing title

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5.1
    • Swing
    • None
    • JDK6u3, groovy1.5, winxp

    Description

      I found that the sub-tabbedPane can not have a title, the test code is shown as follows:

      import groovy.swing.*
      
      def swing = new SwingBuilder()
      def frame = swing.frame() {
      
          tabbedPane() {
              label(text:'a', title:'ta')
              tabbedPane() {
                  label(text:'sa', title:'sta') // the title named sta does not show :(
                  label(text:'sb', title:'stb') // the title named stb does not show, too :(
              }
          }
      }
      
      frame.pack()
      frame.show()
      

      Attachments

        1. notARealSolution.patch
          0.7 kB
          Jeff Brown

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: