Search:

Type: Posts; User: Nieuwenhuizen-jk

Search: Search took 0.08 seconds.

  1. Replies
    14
    Views
    2,879

    Re: JButton constructor problem

    I made an answer yesterday, as far as I know posted it, at 11 sep but do not see it back.

    But I looked back and think I understand most of KevinWorkman's reaction of 2011-09-08T13:05:

    The...
  2. Replies
    14
    Views
    2,879

    Re: JButton constructor problem

    From jdk1.6.0_22/javax/swing/JButton.java :

    line 61:

    class JButton extends AbstractButton implements Accessible {

    has 5 constructors, no data members and 4 constructors with 2 parameters...
  3. Replies
    14
    Views
    2,879

    Re: JButton constructor problem

    It is all in

    jdk1.6.0_22/javax/swingJButton.java lines 61 - 119


    I need it since I need to understand what I am doing when making a button within a space of 48 * 40 pixels...
  4. Replies
    14
    Views
    2,879

    Re: JButton constructor problem

    The previous time I was registered as a junior member is about 70 years ago!
  5. Replies
    14
    Views
    2,879

    JButton constructor problem

    JButton has *** no data fields *** itself and 5 constructors ( may be 8 if you read javadoc):

    JButton(){this(null,null);
    JButton(Icon icon){this(null,icon);
    JButton(String...
Results 1 to 5 of 5