Question
Which of the following events can a JComboBox instance generate? A. Component Event B. MouseEvent C. ActionEvent D.ItemEvent E. C AND D What method do
Which of the following events can a JComboBox instance generate?
A. Component Event
B. MouseEvent
C. ActionEvent
D.ItemEvent
E. C AND D
What method do you use to disable editing on an instance jtf of JTextField?
a. jtf.setEditing(false)
b. jtf.setEnabled(false)
c. jtf.enableEditing(false)
d. jtf.setEdit (false)
Which of the following statemnts is NOT true?
A. A panel can be replaced inside a panel.
B. A frame can be placed inside a frame.
C. A listener object can be registered by many source objects.
d. A source object can register many listeners.
Which of the following draws an arc that is located in the first quarter from startAngle 0 to endAngle 90 degree and is bounded by the rectangle defined by point )7,7) and width 60 and height 30?
A. g.drawArc(350,350,60,30,0,0)
B. g.drawArc(7,7,60,30,90,0)
C. g.drawArc(350,350,60,30,0,90)
D. g.drawArc(7,7,60,30,0,90)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started