|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#24. Exhibit: 1. import java.awt*; 2. 3. public class X extends Frame ( 4. public static void main(string []args) ( 5. X x = new X (); 6. X.pack(); 7. x.setVisible(true); 8. ) 9. 10. public X () ( 12. 13. Panel p1 = new panel (); 14. Add(p1); 16. P1.add(b1); 17. 18. Panel p2 = new panel (); 19. Add(p2); 21. P2.add(b2); 22. 24. add(b3); 25. 27. add(b4); 28. ) 29. )
Which two statements are true? (Choose Two)
Show comments for this question (0)
Add comments
Link to this question
|
|
#25. You are assigned the task of building a panel containing a TextArea at the top, a label directly below it, and a button directly below the label. If the three components are added directly to the panel. Which layout manager can the panel use to ensure that the TextArea absorbs all of the free vertical space when the panel is resized?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.131
|
Server date 06:37 10-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|