Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049
This commit is contained in:
parent
02e549bfaa
commit
8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
|
@ -75,9 +75,6 @@ public class JButton extends AbstractButton
|
|||
boolean def;
|
||||
boolean is_def;
|
||||
|
||||
/** The AccessibleContext for this JButton. */
|
||||
AccessibleJButton accessibleContext;
|
||||
|
||||
public JButton()
|
||||
{
|
||||
this(null, null);
|
||||
|
@ -166,6 +163,10 @@ public class JButton extends AbstractButton
|
|||
*/
|
||||
public void removeNotify()
|
||||
{
|
||||
JRootPane root = SwingUtilities.getRootPane(this);
|
||||
if (root != null && root.getDefaultButton() == this)
|
||||
root.setDefaultButton(null);
|
||||
super.removeNotify();
|
||||
}
|
||||
|
||||
public void setDefaultCapable(boolean defaultCapable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue