Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
import griffon.builder.jide.JideBuilder

def jide = new JideBuilder()
jide.edt {
 def frame = jide.frame( id: 'frame', title: 'JideBuilder', pack: true, visible: true ){
      panel( layout: new BorderLayout(5,5) ){
      button( label: "Swing", constraints: BorderLayout.WEST )
      jideButton( label: "Jide", constraints: BorderLayout.EAST )
      textField( constraints: BorderLayout.NORTH )
      calculator( constraints: BorderLayout.CENTER )
   }
}

...

Code Block
import griffon.builder.jide.JideBuilder

def jide = new JideBuilder()
jide.edt {
 def frame = jide.frame( id: 'frame', title: 'JideBuilder', pack: true, visible: true ){
      panel( layout: new BorderLayout(5,5) ){
      comboBox( id: "mycombo", items: [1,2,3] )
      comboBoxSearchable( id: "c1", comboBox: mycombo )
      comboBoxSearchable( id: "c2", items: [4,5,6] )
   }
}
assertNotNull jide.ci_searchable

...