Lines Matching refs:tk
728 static Image getImageFromHash(Toolkit tk, URL url) {
760 img = tk.createImage(new URLImageSource(url));
769 static Image getImageFromHash(Toolkit tk,
779 img = tk.createImage(new FileImageSource(filename));
1207 Toolkit tk = Toolkit.getDefaultToolkit();
1208 if (tk instanceof SunToolkit) {
1211 return ((SunToolkit)tk).needsXEmbedImpl();
1252 Toolkit tk = Toolkit.getDefaultToolkit();
1253 return tk.isModalExclusionTypeSupported(DEFAULT_MODAL_EXCLUSION_TYPE);
1698 Toolkit tk = Toolkit.getDefaultToolkit();
1699 if (tk instanceof SunToolkit) {
1700 ((SunToolkit)tk).fireDesktopFontPropertyChanges();
1747 Toolkit tk = Toolkit.getDefaultToolkit();
1748 if (tk instanceof SunToolkit) {
1788 Toolkit tk = Toolkit.getDefaultToolkit();
1789 if (tk instanceof SunToolkit) {
1790 Object map = ((SunToolkit)tk).getDesktopAAHints();