Is there an easy way to add a button and respective call-back functions to a nodeDialog?
I tried:
b1 = new JButton(“Test Connection”);
b1.setActionCommand(“test”);
b1.addActionListener(this);
JPanel jp = getPanel();
jp.add(b1);
but that will give me only the button. I would just like to add a button after the other options…
Hi Bernd, You are completely right, we somehow missed that. But now we added an example of the DialogComponentButton to the dialog component overview page (almost at the bottom of the page). @baj: Thank you for the remark! @aborg: Thanks for the quick help! Best, Fabian