Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Can someone explain to me what is function of java.awt.Toolkit class?

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the Toolkit class do ? Furthermore in the Toolkit class , what does the function  used for?
 
Saloon Keeper
Posts: 11918
253
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quite literally, to get the default instance of the Toolkit class. I believe AWT instantiates one when you initialize AWT and you can use that method to get that instance.

As for what Toolkit does, why don't you look at the methods it declares, and their documentation?
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic