- 浏览: 748105 次
- 性别:
- 来自: 上海
-
文章分类
- 全部博客 (419)
- 杂软粉墨 (2)
- 创意灵感 (3)
- 经验记录 (137)
- 开源轨迹 (2)
- sip-communicator (2)
- 闲侃杂谈 (8)
- 问题交流 (24)
- 概念模式 (32)
- 难点备案 (5)
- JwChat (1)
- 中国象棋 (1)
- 教育探索 (6)
- 英语研究 (58)
- 星际争霸 (1)
- 电信知识 (1)
- 软件架构 (3)
- 哲学探索 (26)
- 算法灵魂 (8)
- 近视探索 (6)
- 数学数学 (3)
- 牛角钻尖 (23)
- 至强文言 (3)
- 数据结构 (1)
- 宇宙物理 (2)
- 网络架构 (3)
- 游戏领域 (4)
- 图形处理 (2)
- 修炼之路 (8)
- 读书天地 (20)
- 编解乱码 (2)
- 概念探索 (8)
- 格物致知 (1)
- 其它语言 (1)
- 测试领域 (3)
- 文化风流 (1)
- JQuery (1)
- 網頁領域 (1)
- Unix/Linux (1)
- Inside JVM (1)
- 异常分析 (1)
最新评论
-
suyujie:
引用
HTML <a> 标签灰显禁用 -
suyujie:
HTML <a> 标签灰显禁用 -
suyujie:
HTML <a> 标签灰显禁用 -
suyujie:
HTML <a> 标签灰显禁用 -
iamzhoug37:
您能说一下"局部变量不受文本顺序限制" 是 ...
声明前为什么能赋值却不能输出,都是使用
In the world of programming, there are usually two types of ways to code Java: the optimized way and the way that gets the product into production before the deadline. However, with the right skill-set, a programmer can find ways and means to make every program fun faster and tighter despite even the most compressed time frames before completion. Variables, multimedia, image rendering and data retrieval are just some of the Java topics tackled in this comprehensive free download book. If you've ever wondered how to get the most out of every line of Java code you author, this is the free book is for you.
starting day
2011.01.24
Chapter 2 : Using the Media Tracker
in source code searching...
i just came upon such situation
public void run() { try { tracker.waitForID(0); } catch (InterruptedException e) { return; } repaint(); }
and as it says:
The run method is where the tracking actually starts taking place. The waitForID method of
MediaTracker is called within a try-catch clause. It must be placed in this exception handling
clause because an InterruptedException will be thrown if another thread interrupts this thread.
Recall that waitForID is synchronous
, meaning that it won't return until all the images with the
specified identifier have been loaded. This means that the call to repaint will not occur until the
images have all been loaded.
you see, here why it calls the waitForID method is synchronous, no synchronous identifier was found attached before the method name according to the jdk1.6 javadoc...
so i think it just means it does not open another thread to do the work, so...it's synchronous, right!?
the related code will be put in another thread, see:
http://dracularking.iteye.com/blog/893957
发表评论
-
effective java 2nd Item 18
2012-08-15 15:45 1221Prefer interfaces to abstract ... -
Head First HTML with CSS and XHTML
2012-03-27 14:50 976i finished it by fast reading a ... -
head first jquery
2012-03-22 10:21 1139Thursday, March 22, 2012 fi ... -
Software Architecture Design Patterns in Java
2011-05-13 22:53 820to be continued... -
Effective Java 2nd edition
2011-04-25 16:19 1018Item 3: Enforce the singleton p ... -
Clean Code: chapter 13~15
2011-04-20 17:20 1025What follows is a series of p ... -
Clean Code: chapter 11~12
2011-04-15 09:35 1058The startup process is a concer ... -
Clean Code: chapter 9~10
2011-04-12 11:49 1004Yes, we’ve come a long way; but ... -
Clean Code: chapter 6~8
2011-04-06 17:05 8582011.04.07 Objects and D ... -
Open Stanford Course: programming methodology 04
2011-04-05 11:52 926because this is sort of pre thi ... -
Open Stanford Course: programming methodology 03
2011-04-04 13:01 958any questions to start off with ... -
Clean Code: chapter 1~5
2011-04-02 11:26 950you should try several diffe ... -
Open Stanford Course: programming methodology 02
2011-03-31 00:30 983If you are stuck in the back, j ... -
Open Yale Course: Frontiers of Biomedical Engineering 01
2011-03-30 11:21 910http://www.verycd.com/topics/28 ... -
Open Stanford Course: programming methodology 01
2011-03-25 11:00 930you can pick them up on the ... -
Java Puzzler
2011-03-24 23:58 10652011.03.24 now i've been thr ... -
How Computers Work
2011-03-04 09:58 1018Yes, im at last reading this fa ... -
The Java Language Specification Third Edition
2011-01-25 10:36 848starting day: 2011.01.25 -
Thinking in Java Fourth Edition
2011-01-17 15:59 990以前这些经典书籍都零零散散地阅览过,现在准备重新精读一遍,随时 ...
相关推荐
Tricks of the Game Programming Gurus (SAMS Publishing) (1994) CD iso
What You°re Going to Learn ? Win32 programming ? DirectX Foundation ? 2D graphics and algorithms ? Game programming techniques and data structures ... Using 3D acceleration hardware (on the CD)
TRICKS OF THE JAVA™ PROGRAMMING GURUS
Tricks of The 3D Game Programming Gurus Code
Sams - Tricks Of The 3D Game Programming Gurus - Advanced 3D Graphics And Rasterization pdf格式的 快50M大小 智能分四个文件了 第4部分 共4部分
《3D游戏编程大神的秘诀》是一本深入探讨3D游戏编程技术的专著,旨在帮助开发者掌握专业级别的3D游戏开发技巧。这本书涵盖了从基础到高级的多个层次,旨在提升读者在3D图形学、游戏引擎架构以及优化方面的技能。...
《Windows游戏编程大师技巧》是一本专为游戏开发者编写的经典教程,旨在深入探讨Windows平台上游戏开发的各种技术和策略。这本书涵盖了从基础到高级的游戏编程概念,对于那些希望在游戏行业中崭露头角或者提升现有...
Tricks of the Windows Game Programming Gurus 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有...
以上只是一部分可能包含在"Tricks of the Java Programming Gurus"中的知识点。这些技巧可以帮助开发者成为真正的Java编程大师,提升代码质量,降低维护成本。深入学习和实践这些技巧,将使你在Java开发道路上...
C的简易游戏教程,对于初学游戏设计的人很有帮助
- **书名**:《Windows游戏编程高手的秘密:2D与3D游戏编程基础》(Tricks of the Windows Game Programming Gurus: Fundamentals of 2D and 3D Game Programming) - **作者**:安德烈·拉莫特(André Lamothe) -...
《Windows游戏编程大神技巧实例》是一本专为游戏开发者准备的指南,它涵盖了Windows平台上游戏编程的各种实用技巧和深入知识。这本书的核心是通过实际的代码示例来讲解,帮助读者理解和掌握游戏开发的关键技术。...
关于DDraw的部分比较老了,但是AI, Physics的部分还是可以看看
关于DDraw的部分比较老了,但是AI, Physics的部分还是可以看看
作者: [美]Andre Lamothe 著 本书介绍了在Windows环境下进行游戏编程所需用到的各方面知识,作者是著名的游戏开发大师Andrè LaMothe,他的每一本作品基本上都被视为游戏编程书籍的镇山之作。...
This book is an outgrowth of a 1996 NIPS workshop called Tricks of the Trade whose goal was to begin the process of gathering and documenting these tricks. The interest that the workshop generated, ...
《3D游戏编程高手的技巧:高级3D图形与光栅化》这本书是游戏开发领域的一本经典之作,由安德烈·拉莫特(André Lamothe)撰写,首次出版于1999年,由Sams出版社发行。本书深入探讨了2D和3D游戏编程的基础知识,覆盖...