/[classpath]/classpath/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rao, Mon Mar 20 04:14:14 2000 UTC revision 1.4 by jewel, Sat Aug 11 16:27:01 2001 UTC
# Line 39  public class GtkPopupMenuPeer extends Gt Line 39  public class GtkPopupMenuPeer extends Gt
39    }    }
40    
41    native void show (int x, int y, long time);    native void show (int x, int y, long time);
42    public void show (Event e)    public void show (Component origin, int x, int y)
43    {    {
44      Point abs = ((Component)e.target).getLocationOnScreen ();      Point abs = origin.getLocationOnScreen ();
45      show (abs.x + e.x, abs.y + e.y, e.when);      show (abs.x + x, abs.y + y, 0);
46    }    }
47  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26