Forums Register Login

Toolkit

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
What exactly is that you doubt?
1
+Pie Number of slices to send: Send
Start with the javadocs: java.awt.Toolkit
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Because it returns an object that has a getImage(String) method... ?
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 888 times.
Similar Threads
Want to insert image in frame
Applet refuses to repaint
Print a JTextArea
Change Image Of Mouse Cursor
FontMetrics Object in getInsets()
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:15:43.