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.
How can I study for AWT? I don't have much time on my hand. I have RHE, but it would be nice if someone could point to some compact resource as far as the exam is concerned. I have used AWT while programming, but haven't used card layout etc in it. Any tips for AWT? TIA, - Manish
The only tip I can give you, and in my opinion it's the only useful one for topics like AWT, is to write some code... There is no way to learn AWT by reading stuff, you have to experience it by yourself. It's not that difficult anyway. Just make a list of all classes that fall under the objectives and write one small application for each of them. Then try to change some values and/or include several of the "objectives" classes within your application. That way you can be sure to know "how" AWT classes behave. [ February 22, 2002: Message edited by: Valentin Crettaz ]
I don't think you can get any more compact than RHE. As a short cut you can try to compile and run the code from RHE chapter and make some modifications on your own to figure out how things work. If you are familiar with the layout policies of all the managers, and are familiar with the attributes of the GridbagConstraints object you should be well covered for the exam.
You are right Valentin abt coding, couldn't agree more I have been programming in Java for last 2 years, and I do have some knowledge of AWT. But exam *is* a different thing. Besides never needed something like card layout before, or some strange methods of few layouts. For me, GridbagLayout and Swing's Box usually suffice, especially Box is too cool Well, I think I'll take this opportunity to learn more abt other layouts, and there methods. I was just wondering if there are any online notes for AWT... But anyway, I think I'll do it with RHE now. Thanks both of you. Could you please suggest me what are the more important things from AWT? TIA, - Manish