I use the below code 2 show another form but when I click the button 10 time 10 forms are getting opened how to only open 1 form ?
NewJFrame1 nj = new NewJFrame1();
nj.setVisible(true);
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
|
Click Here to Expand Forum to Full Width |