2004-02-10 David Jee <djee@redhat.com>
* java/awt/BorderLayout.java (calcCompSize): Invisible components get zero dimensions. * java/awt/Button.java (setLabel): Set actionCommand. * java/awt/Component.java (show): Invalidate component and parent container. (hide): Likewise. From-SVN: r77613
This commit is contained in:
parent
dcee9e6022
commit
7b38bcac64
4 changed files with 14 additions and 1 deletions
|
@ -148,6 +148,7 @@ public synchronized void
|
|||
setLabel(String label)
|
||||
{
|
||||
this.label = label;
|
||||
actionCommand = label;
|
||||
if (peer != null)
|
||||
{
|
||||
ButtonPeer bp = (ButtonPeer) peer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue