我使用JFileChooser打开了一个文件。如果我打开一个文件,它会首次打开,如果我第二次打开同一个文件,它也会在新选项卡中打开。我只想打开一个文件一次。 这里是我的代码, final JFileChooser jc = new JFileChooser();
int returnVal= jc.showOpenDialog(Open.this);
String title
我有一个Win32应用程序(无mfc)与MDI框架窗口。 主MDI框架窗口将导致它具有MDICLIENT窗口。但是,在我的应用程序,主框架窗口还有另一个标签ctrl子窗口,它显示在主框架的底部有些列表视图wnds: //create the tab first, as a child of main MDI frame with 800px width and 300px height, at p