1 |
|
2005-07-15 Roman Kennke <roman@kennke.org> |
2 |
|
|
3 |
|
* javax/swing/AbstractButton.java |
4 |
|
(AbstractButton): Directly call init() and updateUI(). |
5 |
|
(AbstractButton(String, Icon)): Removed. This is not necessary |
6 |
|
since we have init(String, Icon) for that purpose. |
7 |
|
(getActionCommand): Reverted to previous behaviour: If |
8 |
|
actionCommand is set, return this, otherwise return text, even |
9 |
|
if text is null. |
10 |
|
* javax/swing/JButton.java |
11 |
|
(JButton(String, Icon)): Call super() and init(String, Icon) |
12 |
|
instead of super(String, Icon). |
13 |
|
* javax/swing/JMenuItem.java |
14 |
|
(JMenuItem): Call super() instead of super(String, Icon). |
15 |
|
(JMenuItem(Icon)): Call this(String, Icon) instead of |
16 |
|
super(String, Icon). |
17 |
|
(JMenuItem(String)): Call this(String, Icon) instead of |
18 |
|
super(String, Icon). |
19 |
|
(JMenuItem(Action)): Call super() instead of |
20 |
|
super(String, Icon). |
21 |
|
(JMenuItem(String, Icon)): Call super() and init(String, Icon) |
22 |
|
instead of super(String, Icon). |
23 |
|
(JMenuItem(String, int)): Call this(String, Icon) instead of |
24 |
|
super(String, Icon). |
25 |
|
* javax/swing/JToggleButton.java |
26 |
|
(ToggleButtonModel.setPressed): Fire an ActionEvent if button |
27 |
|
is released. According to my Mauve tests, it seems that this |
28 |
|
is what the JDK does, so do we. |
29 |
|
(ToggleButtonModel.setSelected): Removed. |
30 |
|
(JToggleButton): Call super() and init(String, Icon) instead |
31 |
|
of super(String, Icon). |
32 |
|
|
33 |
2005-07-15 Robert Schuster <robertschuster@fsfe.org> |
2005-07-15 Robert Schuster <robertschuster@fsfe.org> |
34 |
|
|
35 |
* javax/swing/tree/DefaultMutableTreeNode.java: |
* javax/swing/tree/DefaultMutableTreeNode.java: |