Skip to content

Commit

Permalink
Fixed the issue where the browser window for to select the browser in…
Browse files Browse the repository at this point in the history
… advacned options of wavemaker launcher is going behind in window
  • Loading branch information
sowmya committed Oct 31, 2013
1 parent db1aa36 commit 62ef2a9
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@

package com.wavemaker.desktop.launcher.ui;

import com.wavemaker.desktop.launcher.Main;

import javax.swing.*;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.ResourceBundle;

import javax.swing.JFileChooser;
import javax.swing.JOptionPane;

import com.wavemaker.desktop.launcher.Main;

/**
*
* @author cconover
Expand Down Expand Up @@ -711,7 +709,7 @@ private void btnFileChooserActionPerformed(java.awt.event.ActionEvent evt)// GEN
chooser.setCurrentDirectory(new File(this.folder));
}

if (chooser.showOpenDialog(getParent()) == JFileChooser.APPROVE_OPTION) {
if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
this.tfBrowser.setText(chooser.getSelectedFile().getAbsolutePath());
this.folder = chooser.getCurrentDirectory().getAbsolutePath();
}
Expand Down

0 comments on commit 62ef2a9

Please sign in to comment.