Wrox Programmer Forums
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 16th, 2004, 04:27 PM
Authorized User
Join Date: Sep 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default My week with threads

"How was your week?"
- I was studying the Thread chapter. Threads are concurrently running programs. I found the theory difficult to understand.
- Synchronization is difficult. You can synchronize on methods or on code blocks, but these share the same lock on the object.
"Could you cope?"
- I was stuck on the last exercise. I had created two supervisor threads for a bunch of clerks threads dealing with accounts. Then suddenly the output got all jumbled up. I decided to leave it and get it right the next day.
"And then?"
- I consulted the book again, and the synchronization problem was solved quite easily. I continued chapter 12, on the GUI. I thought I'd might have a look at the API for the swing classes. I couldn't believe my eyes.
Swing is so enormous. The reason I wanted to do Java was to create some nice applets. These are as far away as ever, across an ocean of Swing classes, methods and constants.
If I had known this - the effort it takes to learn Java - I doubt I would have started studying it. Ivor's book is great though, sublime, I could not have hoped for a better guide.

- Goodbye

Similar Threads
Thread Thread Starter Forum Replies Last Post
generate too may threads mikel79 All Other Wrox Books 0 April 13th, 2006 07:52 AM
Bolding threads bmains Forum and Wrox.com Feedback 0 February 3rd, 2005 12:35 PM
Threads Help hybrid_dev C# 0 July 31st, 2003 10:23 AM
Problems with threads. Threads disappearing? DriesNeyrinck VB.NET 0 June 10th, 2003 08:26 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.