Java runs on different platforms with different resources. The toolkit class allows you to retrieve platform-specific services eg. display paremeters (screen resolution, colors), fonts (font list), printing capabilities (printjob), clipboard (system clipboard), etc. To obtain a toolkit object that communicates with these native resources, use the method getDefaultToolkit.