
Contents • xv
21.1.2 An Example of JNI 685
21.1.3 Limitations of Using JNI 688
21.2 Serialization 689
21.2.1 Class and Interfaces for Serialization 689
21.3 RMI 695
21.3.1 Writing RMI Service 696
21.4 Ponderable Points 699
22 WORKING WITH IMAGES 702
22.1 Introduction 702
22.2 Drawing an Image 702
22.3 The ImageObserver Interface 705
22.3.1 Why Override ImageUpdate? 706
22.4 Double Buffering 709
22.5 The MediaTracker Class 713
22.6 Producing Image Data 716
22.7 Consuming Image Data 723
22.8 Ponderable Points 727
23 INTRODUCTION TO SWING 729
23.1 What is Swing? 729
23.2 The JApplet Class