* All files: Updated copyright to reflect Cygnus purchase.
[official-gcc.git] / libjava / java / awt / Menu.java
blob6c24e135d265735c46e912d525e7b35d85fcdb3f
1 /* Copyright (C) 1999 Red Hat, Inc.
3 This file is part of libjava.
5 This software is copyrighted work licensed under the terms of the
6 Libjava License. Please consult the file "LIBJAVA_LICENSE" for
7 details. */
9 package java.awt;
11 /* A very incomplete placeholder. */
13 public class Menu extends MenuItem implements MenuContainer
15 public Menu (String label)
17 super(label); // ???
18 throw new Error ("java.awt.Menu: not implemented");
21 public void add (String label)
22 { /* FIXME */ }
24 public synchronized MenuItem add (MenuItem item)
26 /* FIXME */
27 return item;
30 public Font getFont() { return null; } // FIXME
31 //public boolean postEvent(Event evt);
32 public void remove(MenuComponent comp) { } // FIXME