Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Re: How to open new windows after pressing button next?

    Please post all code that is part of the problem on the forum. No links.


    Create an instance of the frame and use the reference to that instance to call its methods.
  2. Re: How to open new windows after pressing button next?

    Are you asking how to use the new statement to create an instance of a class?
    The posted code is full of usages of the new statement. For example:

    lblName = new JLabel ("Name: "); // create...
  3. Re: How to open new windows after pressing button next?

    Do you want to create an instance of a new class in the button's listener method? Use the new statement with a constructor for the class to be created.
Results 1 to 3 of 3