Search:

Type: Posts; User: susieferrari

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    7,286

    [SOLVED] Re: Click button to open JDialog

    Ok I found how to: just add


    private void jButtonImportDataActionPerformed(java.awt.event.ActionEvent evt) {
    jDialog1.setVisible(true);
    ...
  2. Replies
    6
    Views
    7,286

    [SOLVED] Re: Click button to open JDialog

    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...
  3. Replies
    6
    Views
    7,286

    [SOLVED] Re: Click button to open JDialog

    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;
  4. Replies
    6
    Views
    7,286

    [SOLVED] Click button to open JDialog

    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.
    ...
Results 1 to 4 of 4