Forums Register Login

about Toolkit

+Pie Number of slices to send: Send
can I use Toolkit?
I saw someone who has passed just use 600x800 as size of the JFrame, but not use Toolkit.
Is there any reason not to use Toolkit? although we have to use components only in swing.
Thanks
+Pie Number of slices to send: Send
I can't think of any reason why you need to use the Toolkit?
Mark
+Pie Number of slices to send: Send
thanks for reply
like Toolkit.getDefaultToollkit().getScreenSize();
then setLocation in the center of the screen;
anyway I can just set the size like 800x600 to avoid using Toolkit;
+Pie Number of slices to send: Send
To center the screen, I think that is fine.
Mark
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 536 times.
Similar Threads
how to display an image for window icon in Swings
how to preverify?
JBuilder with J2ME Wireless Toolkit
Need an Image object in a class extending Panel / Canvas
Documentation for Application Assembly ToolKit(5.1)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:29:33.