summaryrefslogtreecommitdiff
path: root/java/awt/peer
diff options
context:
space:
mode:
authorPaul Fisher <rao@gnu.org>1999-11-17 02:05:25 +0000
committerPaul Fisher <rao@gnu.org>1999-11-17 02:05:25 +0000
commitae23f9fb9311cb4db6e4bfb859d388124d335ef5 (patch)
treeb3c59da0dcd51516461f08c208e715c2fa27c591 /java/awt/peer
parent7e3b72a9dcb58102880966697d9df2421a08d7ed (diff)
downloadclasspath-ae23f9fb9311cb4db6e4bfb859d388124d335ef5.tar.gz
Make peers build with toplevel build environment.
Diffstat (limited to 'java/awt/peer')
-rw-r--r--java/awt/peer/ComponentPeer.java2
-rw-r--r--java/awt/peer/MenuPeer.java12
-rw-r--r--java/awt/peer/PopupMenuPeer.java2
3 files changed, 6 insertions, 10 deletions
diff --git a/java/awt/peer/ComponentPeer.java b/java/awt/peer/ComponentPeer.java
index 9c4edd0a3..3837e2a02 100644
--- a/java/awt/peer/ComponentPeer.java
+++ b/java/awt/peer/ComponentPeer.java
@@ -41,7 +41,7 @@ public abstract Point getLocationOnScreen();
public abstract Dimension getMinimumSize();
public abstract Dimension getPreferredSize();
public abstract Toolkit getToolkit();
-public abstract boolean handleEvent(AWTEvent e);
+public abstract void handleEvent(AWTEvent e);
public abstract void hide();
public abstract boolean isFocusTraversable();
public abstract Dimension minimumSize();
diff --git a/java/awt/peer/MenuPeer.java b/java/awt/peer/MenuPeer.java
index e96b6cdff..32d226a6c 100644
--- a/java/awt/peer/MenuPeer.java
+++ b/java/awt/peer/MenuPeer.java
@@ -25,12 +25,8 @@ import java.awt.MenuItem;
public interface MenuPeer extends MenuItemPeer
{
-
-public abstract void addItem(MenuItem item);
-public abstract void insertItem(MenuItem item, int index);
-public abstract void addSeparator();
-public abstract void insertSeparator(int index);
-public abstract void delItem(int index);
-
-} // interface MenuPeer
+ public abstract void addItem (MenuItem item);
+ public abstract void addSeparator ();
+ public abstract void delItem (int index);
+}
diff --git a/java/awt/peer/PopupMenuPeer.java b/java/awt/peer/PopupMenuPeer.java
index 703d95dd8..e8f804d5c 100644
--- a/java/awt/peer/PopupMenuPeer.java
+++ b/java/awt/peer/PopupMenuPeer.java
@@ -26,7 +26,7 @@ import java.awt.Event;
public interface PopupMenuPeer extends MenuPeer
{
-public abstract void show(java.awt.Component component, int x, int y);
+public abstract void show (Event e);
} // interface PopupMenuPeer