test/java/awt/Toolkit/Headless/ExceptionContract/ExceptionContract.java

Print this page

        

*** 34,49 **** import java.awt.*; import java.util.Properties; import test.java.awt.regtesthelpers.Sysout; import java.awt.datatransfer.Clipboard; - import java.awt.dnd.*; - import java.awt.dnd.peer.DragSourceContextPeer; import java.awt.font.TextAttribute; import java.awt.im.InputMethodHighlight; import java.awt.image.*; - import java.awt.peer.*; import java.net.URL; import java.util.Map; import java.util.Properties; public class ExceptionContract { --- 34,46 ----
*** 110,229 **** public void loadSystemColors(int[] systemColors) throws HeadlessException { return; } @Override - protected DesktopPeer createDesktopPeer(Desktop target) throws HeadlessException { - return null; - } - - @Override - protected ButtonPeer createButton(Button target) throws HeadlessException { - return null; - } - - @Override - protected TextFieldPeer createTextField(TextField target) throws HeadlessException { - return null; - } - - @Override - protected LabelPeer createLabel(Label target) throws HeadlessException { - return null; - } - - @Override - protected ListPeer createList(List target) throws HeadlessException { - return null; - } - - @Override - protected CheckboxPeer createCheckbox(Checkbox target) throws HeadlessException { - return null; - } - - @Override - protected ScrollbarPeer createScrollbar(Scrollbar target) throws HeadlessException { - return null; - } - - @Override - protected ScrollPanePeer createScrollPane(ScrollPane target) throws HeadlessException { - return null; - } - - @Override - protected TextAreaPeer createTextArea(TextArea target) throws HeadlessException { - return null; - } - - @Override - protected ChoicePeer createChoice(Choice target) throws HeadlessException { - return null; - } - - @Override - protected FramePeer createFrame(Frame target) throws HeadlessException { - return null; - } - - @Override - protected CanvasPeer createCanvas(Canvas target) { - return null; - } - - @Override - protected PanelPeer createPanel(Panel target) { - return null; - } - - @Override - protected WindowPeer createWindow(Window target) throws HeadlessException { - return null; - } - - @Override - protected DialogPeer createDialog(Dialog target) throws HeadlessException { - return null; - } - - @Override - protected MenuBarPeer createMenuBar(MenuBar target) throws HeadlessException { - return null; - } - - @Override - protected MenuPeer createMenu(Menu target) throws HeadlessException { - return null; - } - - @Override - protected PopupMenuPeer createPopupMenu(PopupMenu target) throws HeadlessException { - return null; - } - - @Override - protected MenuItemPeer createMenuItem(MenuItem target) throws HeadlessException { - return null; - } - - @Override - protected FileDialogPeer createFileDialog(FileDialog target) throws HeadlessException { - return null; - } - - @Override - protected CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem target) throws HeadlessException { - return null; - } - - @Override - protected FontPeer getFontPeer(String name, int style) { - return null; - } - - @Override public Dimension getScreenSize() throws HeadlessException { return null; } @Override --- 107,116 ----
*** 310,324 **** protected EventQueue getSystemEventQueueImpl() { return null; } @Override - public DragSourceContextPeer createDragSourceContextPeer(DragGestureEvent dge) throws InvalidDnDOperationException { - return null; - } - - @Override public boolean isModalityTypeSupported(Dialog.ModalityType modalityType) { return false; } @Override --- 197,206 ----