The __________ method provides information about the system in use.

Question

Question 1. Question :

The __________ method provides information about the system in use.

getSystemInfo()

getDefaultToolkit()

getDefaultControlPanel()

getToolkit()

Question 2. Question :

The Swing classes are part of a more general set of UI programming capabilities that are collectively called the __________.

JavaX Classes

Java Foundation Classes

UI packages

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.

connected

coordinate pairs

identical

not identical

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.

JApplet

HTML

Swing

Applet

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?

pressMe.setLocation(100,50);

pressMe.setPosition(100,50);

pressMe.setLocation(200,100);

pressMe.setPosition(200,100);

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.

initialize()

begin()

init()

start()

Question 8. Question :

The __________ method requires four arguments and draws the outline of a rectangle using the current drawing color.

clearRect()

drawRect()

fillRect()

paintRect()

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.

20

50

200

300

Question 10. Question :

Which of the following is NOT a method of the KeyListener interface?

keyTyped()

keyPressed()

keyClicked()

keyReleased()

Question 11. Question :

The __________ method of JCheckBox sets the state of the JCheckBox to true for selected or false for unselected.

void setSelected(boolean)

boolean isSelected()

void setText(String)

String getText()

Question 12. Question :

The __________ method allows you to draw a String in a JFrame window.

drawString()

setFont()

drawLine()

setString()

Question 13. Question :

You specify 2D colors by using the __________ method.

paint()

setPaint()

color()

setColor()

Question 14. Question :

The repaint() method calls another method named __________, which calls the paint() method.

destroy()

actionPerformed()

update()

super()

Question 15. Question :

Which of the following statements will correctly set a JFrame named myFrame to be visible?

myFrame.Visible = True

myFrame.setVisible(true)

myFrame.Visibility.True

myFrame.true = Visible

Question 16. Question :

Applet code runs in a constrained area called a(n) __________.

sandbox

toolbox

appletview

XHTML

Question 17. Question :

The JButton, JCheckBox, JComboBox, and JRadioButton components are associated with the __________ method.

addAdjustmentListener()

addChangeListener()

addWindowListener()

addItemListener()

Question 18. Question :

Which of the following lines of code are used when creating a JApplet using only the init() method?

public add.init()

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

setJMenuBar(myBar)

JMenuBar.setJMenuBar(myBar)

JMenuBar = new JMenuBar(myBar)

Question 20. Question :

The Color class contains __________ constants.

3

9

13

16

 

 

 

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Australia Assessments
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Transportation & Logistics
The revisions needed were done in time. The paper was informative
Customer 463473, October 31st, 2022
Other
Good work on the spreadsheet.
Customer 459155, May 31st, 2022
Finance/Acc related
Excellent work.
Customer 460073, April 29th, 2022
Psychology
This paper is beautifully written and is above my expectations. Thank you to the writer for writing a beautiful paper and a huge thank you to the customer service team for ensuring I received an outstanding product. I want to issue a special thank you to John for not only ensuring that I received an outstanding product, but also for assisting me with the website issues that I have been having. Thank you to everyone!
Customer 452455, April 5th, 2023
Nursing
I am pleased with my paper. The support team helping me to receive this finally was phenomenal. Thank you
Customer 453993, February 10th, 2020
Marketing
I like the work.
Customer 463095, June 22nd, 2022
English 101
Good response. Next time, properly capitalize headings in the requested style.
Customer 460641, March 30th, 2022
English 101
Satisfactory. However, always go through instructions before submitting to identify omissions.
Customer 462843, April 11th, 2022
Business Studies
Good Job. Thanks
Customer 453413, April 29th, 2020
Computer science
Excellent.
Customer 462387, April 4th, 2022
Military
very good job
Customer 456821, June 15th, 2022
Other
Instructions followed.
Customer 462823, April 13th, 2022
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat