JMPanel panel;
JMPanel panelButtons;
Label label;
setLayout ( new BorderLayout() );
panel = new JMPanel ( new BorderLayout() );
panel.setEmptyBorder ( 6, 6, 6, 6 );
this.add ( panel, BorderLayout.CENTER );
label = new Label ( LABEL );
panel.add ( label, BorderLayout.WEST );
if ( nameUrlDefault == null )
nameUrlDefault = "";
fieldUrl = new TextField ( nameUrlDefault, 30 );
fieldUrl.addActionListener ( this );
panel.add ( fieldUrl, BorderLayout.CENTER );
panel = new JMPanel ( new FlowLayout(FlowLayout.CENTER) );
this.add ( panel, BorderLayout.SOUTH );
panelButtons = createButtonPanel ( new String[] { ACTION_OPEN, ACTION_CANCEL } );
panel.add ( panelButtons );
this.pack ();
this.setResizable ( false );