This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm studying the java.awt.package and in Layout manager the problem which i'm facing is "Suppose i want to make a Form in which i want to adjust the Button's according to my own will or simply i want to adjust anywhere so which code i will use for the adjustment of Button's" .I have already Applied GridLayout,BorderLayout and FlowLayout manager in my code but their is a special command for the Adjusment of button .If any one knows about this plz guide me properly. Thanks"
To adjust the Button's according to your will : setLayout(null); now use, setBound() method to place components anywhere u want. But this is not recommended at all for various reasons like: even if it looks good on our platform ,it could ackward on some other platform. Hope this helps
Hi Waleed, I'm going to move this over to the AWT forum as the question is not related to Mock Exam Errata. Also, please read the JavaRanch Name Policy and re-register using a name that complies with the rules. Thanks for your cooperation. ------------------ Jane Griscti Sun Certified Programmer for the Java� 2 Platform