Generated by
JDiff

Class java.awt.Toolkit

Documentation changed from old to new.

Added Methods
AWTEventListener[] getAWTEventListeners() Returns an array of all the AWTEventListeners registered on this toolkit.
AWTEventListener[] getAWTEventListeners(long) Returns an array of all the AWTEventListeners registered on this toolkit which listen to all of the event types indicates in the eventMask argument.
PropertyChangeListener[] getPropertyChangeListeners() Returns an array of all the property change listeners registered on this toolkit.
PropertyChangeListener[] getPropertyChangeListeners(String) Returns an array of all the PropertyChangeListeners associated with the named property.
Insets getScreenInsets(GraphicsConfiguration) Gets the insets of the screen.
Clipboard getSystemSelection() Gets the singleton instance of the system selection as a Clipboard object.
boolean isDynamicLayoutActive() Returns whether dynamic layout of Containers on resize is currently active (both set programmatically and supported by the underlying operating system and/or window manager).
boolean isDynamicLayoutSet() Returns whether the layout of Containers is validated dynamically during resizing or statically after resizing is complete.
boolean isFrameStateSupported(int) Returns whether Toolkit supports this state for Frames.
void setDynamicLayout(boolean) Controls whether the layout of Containers is validated dynamically during resizing or statically after resizing is complete.
 

Changed Methods
void addAWTEventListener(AWTEventListener, long) Documentation changed from old to new.
Adds an AWTEventListener to receive all AWTEvents dispatched system-wide that conform to the given eventMask.
void addPropertyChangeListener(String, PropertyChangeListener) Documentation changed from old to new.
Adds the specified property change listener for the named desktop property.
ButtonPeer createButton(Button) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Button using the specified peer interface.
CheckboxPeer createCheckbox(Checkbox) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Checkbox using the specified peer interface.
CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of CheckboxMenuItem using the specified peer interface.
ChoicePeer createChoice(Choice) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Choice using the specified peer interface.
Cursor createCustomCursor(Image, Point, String) Change in exceptions thrown from IndexOutOfBoundsException to (IndexOutOfBoundsException, HeadlessException).
Documentation changed from old to new.
Creates a new custom cursor object.
DialogPeer createDialog(Dialog) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Dialog using the specified peer interface.
DragGestureRecognizer createDragGestureRecognizer(Class, DragSource, Component, int, DragGestureListener) Documentation changed from old to new.
Creates a concrete platform dependent subclass of the abstract DragGestureRecognizer class requested and associates it with the DragSource Component and DragGestureListener specified.
DragSourceContextPeer createDragSourceContextPeer(DragGestureEvent) Documentation changed from old to new.
Creates the peer for a DragSourceContext.
FileDialogPeer createFileDialog(FileDialog) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of FileDialog using the specified peer interface.
FramePeer createFrame(Frame) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Frame using the specified peer interface.
LabelPeer createLabel(Label) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Label using the specified peer interface.
ListPeer createList(List) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of List using the specified peer interface.
MenuPeer createMenu(Menu) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Menu using the specified peer interface.
MenuBarPeer createMenuBar(MenuBar) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of MenuBar using the specified peer interface.
MenuItemPeer createMenuItem(MenuItem) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of MenuItem using the specified peer interface.
PopupMenuPeer createPopupMenu(PopupMenu) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of PopupMenu using the specified peer interface.
ScrollPanePeer createScrollPane(ScrollPane) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of ScrollPane using the specified peer interface.
ScrollbarPeer createScrollbar(Scrollbar) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Scrollbar using the specified peer interface.
TextAreaPeer createTextArea(TextArea) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of TextArea using the specified peer interface.
TextFieldPeer createTextField(TextField) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of TextField using the specified peer interface.
WindowPeer createWindow(Window) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Creates this toolkit's implementation of Window using the specified peer interface.
Dimension getBestCursorSize(int, int) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Returns the supported cursor dimension which is closest to the desired sizes.
ColorModel getColorModel() Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Determines the color model of this toolkit's screen.
Object getDesktopProperty(String) Documentation changed from old to new.
Obtains a value for the specified desktop property.
FontMetrics getFontMetrics(Font) Documentation changed from old to new.
As of JDK version 1.2, replaced by the Font method getLineMetrics.
FontPeer getFontPeer(String, int) Documentation changed from old to new.
see java.awt.GraphicsEnvironment#getAllFonts
boolean getLockingKeyState(int) Change in exceptions thrown from no exceptions to UnsupportedOperationException.
Documentation changed from old to new.
Returns whether the given locking key on the keyboard is currently in its "on" state.
int getMaximumCursorColors() Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Returns the maximum number of colors the Toolkit supports in a custom cursor palette.
int getMenuShortcutKeyMask() Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Determines which modifier key is the appropriate accelerator key for menu shortcuts.
int getScreenResolution() Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Returns the screen resolution in dots-per-inch.
Dimension getScreenSize() Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Gets the size of the screen.
Clipboard getSystemClipboard() Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Gets the singleton instance of the system Clipboard which interfaces with clipboard facilities provided by the native platform.
void loadSystemColors(int[]) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Fills in the integer array that is supplied as an argument with the current system color values.
Map mapInputMethodHighlight(InputMethodHighlight) Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new.
Returns a map of visual attributes for the abstract level description of the given input method highlight or null if no mapping is found.
void removeAWTEventListener(AWTEventListener) Documentation changed from old to new.
Removes an AWTEventListener from receiving dispatched AWTEvents.
void removePropertyChangeListener(String, PropertyChangeListener) Documentation changed from old to new.
Removes the specified property change listener for the named desktop property.
void setDesktopProperty(String, Object) Documentation changed from old to new.
Sets the named desktop property to the specified value and fires a property change event to notify any listeners that the value has changed.
void setLockingKeyState(int, boolean) Change in exceptions thrown from no exceptions to UnsupportedOperationException.
Documentation changed from old to new.
Sets the state of the given locking key on the keyboard.
Image getImage(String) Documentation changed from old to new.
Returns an image which gets pixel data from the specified file whose format can be either GIF JPEG or PNG.
Image getImage(URL) Documentation changed from old to new.
Returns an image which gets pixel data from the specified URL.
PrintJob getPrintJob(Frame, String, Properties) Documentation changed from old to new.
Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.
PrintJob getPrintJob(Frame, String, JobAttributes, PageAttributes) Documentation changed from old to new.
Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.