Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    14
    Views
    2,900

    Re: JButton constructor problem

    What does the constructor do with the parameters it receives? What internal variables does it assign their values to?
    There must be a constructor with code that assigns the passed variables to local...
  2. Replies
    14
    Views
    2,900

    Re: JButton constructor problem

    No, I think you've got it. Your explanation fits very well.

    But why is an OP looking at source???
  3. Replies
    14
    Views
    2,900

    Re: JButton constructor problem

    Good observation. It can be hard figuring out what the h... an OP is asking.
  4. Replies
    14
    Views
    2,900

    Re: JButton constructor problem

    Why are you adding the {this(null,null); to the above description of the syntax for calling a constructor?


    What are you referring to here? Where have you seen source code like this?

    ...
Results 1 to 4 of 4