Question 1. Question :
The __________ method provides information about the system in use.
Question 2. Question :
The Swing classes are part of a more general set of UI programming capabilities that are collectively called the __________.
Java Foundation Classes
Java Extension Libraries
Question 3. Question :
If the beginning and ending points used with the fillPolygon() method are __________, the two endpoints are connected by a straight line before the polygon is filled with color.
Question 4. Question :
__________ contains many commands that allow you to format text on a web page, import graphic images, and link your page to other web pages.
Question 5. Question :
If a window is 200 pixels wide by 100 pixels tall, you can place a Button named pressMe in the approximate center of the window with which of the following statements?
Question 6. Question :
You can instantiate an empty Polygon object using which of the following statements?
Polygon someFutureShape = new Polygon(0,0,0,0);
Polygon someFutureShape = new Polygon();
Polygon someFutureShape = new Polygon(0);
Polygon someFutureShape = new Polygon(xPoints, yPoints, xPoints.length);
Question 7. Question :
Use the __________ applet method to perform initialization tasks, such as setting variables to initial values or placing applet components on the screen.
Question 8. Question :
The __________ method requires four arguments and draws the outline of a rectangle using the current drawing color.
Question 9. Question :
If the JApplet class was not already written, you would have to write more than __________ methods to give your JApplet all the capabilities of the built-in JApplet class.
Question 10. Question :
Which of the following is NOT a method of the KeyListener interface?
Question 11. Question :
The __________ method of JCheckBox sets the state of the JCheckBox to true for selected or false for unselected.
Question 12. Question :
The __________ method allows you to draw a String in a JFrame window.
Question 13. Question :
You specify 2D colors by using the __________ method.
Question 14. Question :
The repaint() method calls another method named __________, which calls the paint() method.
Question 15. Question :
Which of the following statements will correctly set a JFrame named myFrame to be visible?
myFrame.Visible = True
myFrame.true = Visible
Question 16. Question :
Applet code runs in a constrained area called a(n) __________.
Question 17. Question :
The JButton, JCheckBox, JComboBox, and JRadioButton components are associated with the __________ method.
Question 18. Question :
Which of the following lines of code are used when creating a JApplet using only the init() method?
public void init()
public void start()
public new init()
Question 19. Question :
Which of the following statements will correctly add a JMenuBar named myBar to a JFrame?
myBar = setJMenuBar
JMenuBar = new JMenuBar(myBar)
Question 20. Question :
The Color class contains __________ constants.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Platinum Essay has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.
At Platinum Essay, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.
Admission and Business Papers
Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.
Editing and Proofreading
Our skilled editing and writing team will help you restructure you paper, paraphrase, correct grammar and replace plagiarized sections on your paper just on time. The service is geared toward eliminating any mistakes and rather enhancing better quality.
We have writers in almost all fields including the most technical fields. You don’t have to worry about the complexity of your paper. Simply enter as much details as possible in the place order section.