Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.12 seconds.

  1. Replies
    14
    Views
    2,902

    Re: JButton constructor problem

    Are you sure it's not on the first page?



    No. It doesn't go from one to the other to eventually arrive. This line from the no-args constructor:

    this(null, null);

    Directly calls the...
  2. Replies
    14
    Views
    2,902

    Re: JButton constructor problem

    What do you mean by this? Yes they absolutely do.



    I already explained this to you. They are passed into the init() method of AbstractButton. I even posted the body of that method for you to...
  3. Replies
    14
    Views
    2,902

    Re: JButton constructor problem

    So did I answer your original question?

    Those are indeed javadoc comments, and they are converted into the API: Java Platform SE 6
  4. Replies
    14
    Views
    2,902

    Re: JButton constructor problem

    True that. I could also be completely wrong and just talking gibberish!
  5. Replies
    14
    Views
    2,902

    Re: JButton constructor problem

    The gist: this() is a way of calling another constructor. It will simply call the constructor that matches the arguments given. So this is JButton's source:


    public JButton() {
    ...
  6. Replies
    14
    Views
    2,902

    Re: JButton constructor problem

    I believe he's trying to talk about the source of JButton. He's using some wonky syntax, but what he has matches the source of JButton. I think he's asking about how the constructors are chained...
Results 1 to 6 of 6