src/share/classes/sun/awt/HeadlessToolkit.java

Print this page

        

*** 23,32 **** --- 23,34 ---- * questions. */ package sun.awt; + import sun.awt.datatransfer.DataTransferer; + import java.awt.*; import java.awt.dnd.*; import java.awt.dnd.peer.DragSourceContextPeer; import java.awt.event.*; import java.awt.font.TextAttribute;
*** 400,409 **** --- 402,416 ---- return componentFactory.getFontPeer(name, style); } return null; } + @Override + public DataTransferer getDataTransferer() { + return null; + } + @SuppressWarnings("deprecation") public FontMetrics getFontMetrics(Font font) { return tk.getFontMetrics(font); }