Ok I found how to: just add
private void jButtonImportDataActionPerformed(java.awt.event.ActionEvent evt) {
jDialog1.setVisible(true);
...
Type: Posts; User: susieferrari
Ok I found how to: just add
private void jButtonImportDataActionPerformed(java.awt.event.ActionEvent evt) {
jDialog1.setVisible(true);
...
You are right Kevin: to keep it simple, I have a Button on a Panel on a Frame. By clicking this button I would like to run a Dialog
This is what I have for listener
private void...
Thanks Kevin,
I have no code written but what NetBeans sets for swing items
This is my main
package analysisTool;
import java.awt.event.ActionListener;
Hi all,
in my GUI I have a button (jButtonImportData), I would like to open a JDialog by clicking this button.
I've added jDialog1[JDialog] so I have this item in NetBeans Inspector window.
...