It's not a secret anymore!
The moose likes Applets and the fly likes RE:applet queries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "RE:applet queries" Watch "RE:applet queries" New topic

RE:applet queries

Vidya Bhargavi

Joined: Jul 09, 2009
Posts: 26

1)how to set the background color in the frame?

2)how to get the "Mypicture.jpg"?
Please send me the line of code for the above 2 questions.

3)what does drawarc(10,23,45,67,89,87) mean?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
how to set the background color in the frame?

Looking through the javadocs of the Frame class, do any of the methods suggest themselves if you want to "set" the "background" "color"?

how to get the "Mypicture.jpg"?

What do you mean by this? Where, exactly, is the image, and what, exactly, do you want to do with it?

what does drawarc(10,23,45,67,89,87) mean?

The Graphics.drawArc method has a lengthy javadoc entry; what in particular do you not understand about it?
I agree. Here's the link:
subject: RE:applet queries
It's not a secret anymore!