Hi Zulfi,
You can take a look at the following tutorials:
https://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html
https://netbeans.apache.org/kb/docs/java/gui-functionality.html
Hope this helps,
Antonio
El 19/3/22 a las 0:30, Zulfi Khan escribió:
How to create SampleDialog class
How to createSampleDialog class derived from JDialog implemnting ActionListener
I want to create a JDialog derived class implementing ActionListener. The code
is given below:
class SampleDialog extends JDialog implements ActionListener{
JTextField tf1 = new JTextField(10);
SampleDia