aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Toolkit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Toolkit" Watch "Toolkit" New topic
Author

Toolkit

bala kan
Ranch Hand

Joined: Aug 20, 2012
Posts: 44
Hi Guys,


in my java program, i have used "setIconImage(getToolkit().getImage(String filename))" to put icon on my JFrame Window..
but, i have so many doubts in getToolkit() function.. please explain me in detail



Thanks in advance
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

What exactly is that you doubt?


The quieter you are, the more you are able to hear.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
Start with the javadocs: java.awt.Toolkit


Ping & DNS - my free Android networking tools app
bala kan
Ranch Hand

Joined: Aug 20, 2012
Posts: 44
Hi guys,


we use getToolkit() to get the image from our local or remote system using getImage() function.. in which please let me know the workings of getToolkit()..
why we use Toolkit here



Thanks in Advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
Because it returns an object that has a getImage(String) method... ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Toolkit