JFileChooser dialog , messed up after a secondary JFrame opens. I post you the photos.
Here is the JFileChooser , opens after Open File button
seems perfect right??Now I press Options button
private void openFileBtn2ActionPerformed(java.awt.event.ActionEvent evt) {
Params ax=new Params();
ax.createGUI();
ax.setPreferredSize(new Dimension(560,450));
ax.setVisible(true);
ax.pack();
ax.setExtendedState(java.awt.Frame.NORMAL);
}
JFrame , I mean params class instance opens perfectly.This is supposed to return some values to the main window.However in order to debug this I have removed any references.
Now I open JFileChooser again and I take back this mess.
It's weird right??Sorry for not posting the code , its too big.I choose to let you ask the code you need.I hope this is more convenient to you.