Makefile.am: Move beans and applet classes to awt_java_source_files.
2000-08-09 Bryce McKinlay <bryce@albatross.co.nz> * Makefile.am: Move beans and applet classes to awt_java_source_files. * Makefile.in: Rebuilt. * java/awt/Color.java (getTransparency): New method. * java/awt/Component.java: Various updates. * java/awt/Container.java (removeNotify): Call super.removeNotify() after dealing with children. * java/awt/Toolkit.java (changeSupport): Renamed from pcsupport. * java/awt/Window.java: Various new methods and updates. * java/awt/color/ICC_Profile.java (getNumComponents): Cast profileID to int for switch. * java/awt/event/KeyEvent.java (paramString): Initialize `r'. * java/awt/event/WindowEvent.java (paramString): Ditto. * java/awt/geom/Dimension2D.java (clone): Wrap super call with try/catch block. * java/awt/geom/Point2D.java (clone): Ditto. * java/awt/geom/RectangularShape.java (clone): Ditto. * java/awt/image/ColorModel.java (bits, cspace, transparency, hasAlpha, isAlphaPremultiplied): Make package-private, not private. From-SVN: r35589
This commit is contained in:
parent
7e8dad1827
commit
b996061366
13 changed files with 322 additions and 124 deletions
|
@ -21,7 +21,7 @@ public abstract class Toolkit
|
|||
{
|
||||
static Toolkit defaultToolkit;
|
||||
static EventQueue systemEventQueue = new EventQueue();
|
||||
PropertyChangeSupport pcsupport = new PropertyChangeSupport(this);
|
||||
PropertyChangeSupport changeSupport = new PropertyChangeSupport(this);
|
||||
Hashtable desktopProperties = new Hashtable();
|
||||
|
||||
public static Toolkit getDefaultToolkit()
|
||||
|
@ -216,7 +216,7 @@ public abstract class Toolkit
|
|||
{
|
||||
Object oldValue = getDesktopProperty(name);
|
||||
desktopProperties.put(name, newValue);
|
||||
pcsupport.firePropertyChange(name, oldValue, newValue);
|
||||
changeSupport.firePropertyChange(name, oldValue, newValue);
|
||||
}
|
||||
|
||||
protected Object lazilyLoadDesktopProperty(String name)
|
||||
|
@ -233,13 +233,13 @@ public abstract class Toolkit
|
|||
public void addPropertyChangeListener(String name,
|
||||
PropertyChangeListener pcl)
|
||||
{
|
||||
pcsupport.addPropertyChangeListener(name, pcl);
|
||||
changeSupport.addPropertyChangeListener(name, pcl);
|
||||
}
|
||||
|
||||
public void removePropertyChangeListener(String name,
|
||||
PropertyChangeListener pcl)
|
||||
{
|
||||
pcsupport.removePropertyChangeListener(name, pcl);
|
||||
changeSupport.removePropertyChangeListener(name, pcl);
|
||||
}
|
||||
|
||||
public void addAWTEventListener(AWTEventListener listener, long eventMask)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue