File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AWT-JQ+

 
jeena jose
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have a doubt about this question:
which of the following will add the component 'comp' to a container 'c' if its layout is governed by gridLayout 'g'

a. c.add(comp)
b. c.add("Center",comp)
c. g.add(comp)
d. g.addLayoutComponent("comp name",comp)
e. add(comp,-1)

answers given are a,d,e.
BUT choice b also work fine.
am i right???
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic