method.append( "\tif ( \"TEST\".equals( param) \n" );
method.append( "\t\treturn true\n" );
method.append( "\treturn false\n" );
method.append( "}\n" );
final JIvaloEditorDialog dialog =
new JIvaloEditorDialog( frame, true, fileSuffix );
dialog.setText( method.toString() );
dialog.setSize(new Dimension(400, 200));
dialog.setLocationRelativeTo( frame );
dialog.setVisible( true );
System.out.println("Text: "+dialog.getText());
}
} );
this.add( openEditor );