@ -326,16 +326,19 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
private UIButton browserButton ;
private UIButton browserButton ;
public ExportTemplateChooser ( ) {
public ExportTemplateChooser ( ) {
reportletNamePane = FRGUIPaneFactory . createBorderLayout_S_Pane ( ) ;
// 路径输入框
// 路径输入框
reportPathTextField = new UITextField ( 7 ) ;
reportPathTextField = new UITextField ( 8 ) ;
reportPathTextField . setEnabled ( false ) ;
reportPathTextField . setEnabled ( false ) ;
reportletNamePane . add ( reportPathTextField , BorderLayout . WEST ) ;
// 选择路径按钮
// 选择路径按钮
browserButton = new UIButton ( "..." ) ;
browserButton = new UIButton ( "..." ) ;
browserButton . setVisible ( true ) ;
browserButton . setVisible ( true ) ;
reportletNamePane . add ( browserButton , BorderLayout . EAST ) ;
Component [ ] [ ] templateChooserComponent = { { reportPathTextField , browserButton } } ;
double [ ] rowSize = { TableLayout . PREFERRED } ;
double [ ] columnSize = { TableLayout . FILL , 22 } ;
reportletNamePane = TableLayoutHelper . createCommonTableLayoutPane ( templateChooserComponent , rowSize , columnSize , 0 ) ;
browserButton . addActionListener ( new ActionListener ( ) {
browserButton . addActionListener ( new ActionListener ( ) {
@Override
@Override
public void actionPerformed ( ActionEvent evt ) {
public void actionPerformed ( ActionEvent evt ) {