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

Print this page
rev 9830 : 8039642: Fix raw and unchecked warnings in sun.awt.*
Reviewed-by: darcy, prr


 197     }
 198 
 199     /*
 200      * Headless toolkit - unsupported.
 201      */
 202     protected void loadSystemColors(int[] systemColors)
 203         throws HeadlessException {
 204         throw new HeadlessException();
 205     }
 206 
 207     public ColorModel getColorModel()
 208         throws HeadlessException {
 209         throw new HeadlessException();
 210     }
 211 
 212     public int getScreenResolution()
 213         throws HeadlessException {
 214         throw new HeadlessException();
 215     }
 216 
 217     public Map mapInputMethodHighlight(InputMethodHighlight highlight)

 218         throws HeadlessException {
 219         throw new HeadlessException();
 220     }
 221 
 222     public int getMenuShortcutKeyMask()
 223         throws HeadlessException {
 224         throw new HeadlessException();
 225     }
 226 
 227     public boolean getLockingKeyState(int keyCode)
 228         throws UnsupportedOperationException {
 229         throw new HeadlessException();
 230     }
 231 
 232     public void setLockingKeyState(int keyCode, boolean on)
 233         throws UnsupportedOperationException {
 234         throw new HeadlessException();
 235     }
 236 
 237     public Cursor createCustomCursor(Image cursor, Point hotSpot, String name)




 197     }
 198 
 199     /*
 200      * Headless toolkit - unsupported.
 201      */
 202     protected void loadSystemColors(int[] systemColors)
 203         throws HeadlessException {
 204         throw new HeadlessException();
 205     }
 206 
 207     public ColorModel getColorModel()
 208         throws HeadlessException {
 209         throw new HeadlessException();
 210     }
 211 
 212     public int getScreenResolution()
 213         throws HeadlessException {
 214         throw new HeadlessException();
 215     }
 216 
 217     public Map<java.awt.font.TextAttribute, ?> mapInputMethodHighlight(
 218             InputMethodHighlight highlight)
 219         throws HeadlessException {
 220         throw new HeadlessException();
 221     }
 222 
 223     public int getMenuShortcutKeyMask()
 224         throws HeadlessException {
 225         throw new HeadlessException();
 226     }
 227 
 228     public boolean getLockingKeyState(int keyCode)
 229         throws UnsupportedOperationException {
 230         throw new HeadlessException();
 231     }
 232 
 233     public void setLockingKeyState(int keyCode, boolean on)
 234         throws UnsupportedOperationException {
 235         throw new HeadlessException();
 236     }
 237 
 238     public Cursor createCustomCursor(Image cursor, Point hotSpot, String name)