Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 16th, 2004, 04:27 PM
Authorized User
 
Join Date: Sep 2003
Location: den Haag, , Netherlands.
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.
"Why?"
- 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.
"Eh?"
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.
"Regrets?"
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.

"Thanks"
- Goodbye




 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:46 PM.


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