📄 ewtoc.html
字号:
<LI><A HREF="ch4.htm#WindowsandFrames" >Windows and Frames</A><LI><A HREF="ch4.htm#Menus" >Menus</A><LI><A HREF="ch4.htm#Dialogs" >Dialogs</A><LI><A HREF="ch4.htm#Colors" >Colors</A><LI><A HREF="ch4.htm#Fonts" >Fonts</A><LI><A HREF="ch4.htm#TheToolkitClass" >The Toolkit Class</A></UL><LI><A HREF="ch4.htm#IOandStreams" >I/O and Streams</A><UL><LI><A HREF="ch4.htm#StructureofthejavaioPackage" >Structure of the java.io Package</A></UL><LI><A HREF="ch4.htm#IOandSecurity" >I/O and Security</A><UL><LI><A HREF="ch4.htm#IOExceptions" >I/O Exceptions</A><LI><A HREF="ch4.htm#InputStreamClasses" >InputStream Classes</A><LI><A HREF="ch4.htm#OutputStreamClasses" >OutputStream Classes</A><LI><A HREF="ch4.htm#FilterOutputStreamClassesandFileOutpu" >FilterOutputStream Classes and FileOutputStream</A><LI><A HREF="ch4.htm#OtherOutputClasses" >Other Output Classes</A><LI><A HREF="ch4.htm#OtherIOClasses" >Other I/O Classes</A></UL><LI><A HREF="ch4.htm#Tutorial" >Tutorial</A><UL><LI><A HREF="ch4.htm#ClassOrganization" >Class Organization</A><LI><A HREF="ch4.htm#AddingtheColorDialog" >Adding the Color Dialog</A><LI><A HREF="ch4.htm#FontDialogBox" >Font Dialog Box</A><LI><A HREF="ch4.htm#TheFileDialogClass" >The FileDialog Class</A><LI><A HREF="ch4.htm#SavingaSpreadsheetFile" >Saving a Spreadsheet File</A><LI><A HREF="ch4.htm#OpeningaSpreadsheetFile" >Opening a Spreadsheet File</A></UL><LI><A HREF="ch4.htm#Summary" >Summary</A></UL><A HREF="ch5.htm"><b>Chapter 5:</b> Adding Graphs and Scrollbarsto the Spreadsheet</A><UL><LI><A HREF="ch5.htm#Tutorial" >Tutorial</A><UL><LI><A HREF="ch5.htm#ClassOrganization" >Class Organization</A></UL><LI><A HREF="ch5.htm#AddingScrollbars" >Adding Scrollbars</A><UL><LI><A HREF="ch5.htm#AddingtheScrollbarClass" >Adding the Scrollbar Class</A><LI><A HREF="ch5.htm#HandlingScrollbarEvents" >Handling Scrollbar Events</A><LI><A HREF="ch5.htm#InsidetheSpreadsheetContainerPaintMe" >Inside the SpreadsheetContainer Paint Methods</A></UL><LI><A HREF="ch5.htm#MarkingCells" >Marking Cells</A><LI><A HREF="ch5.htm#DrawingGraphs" >Drawing Graphs</A><LI><A HREF="ch5.htm#Summary" >Summary</A></UL><A HREF="ch6.htm"><b>Chapter 6:</b> Building a Catalog Applet</A><UL><LI><A HREF="ch6.htm#BasicsoftheAppletClass" >Basics of the Applet Class</A><LI><A HREF="ch6.htm#AppletsandHTML" >Applets and HTML</A><LI><A HREF="ch6.htm#AppletsandImages" >Applets and Images</A><LI><A HREF="ch6.htm#AppletsandAudio" >Applets and Audio</A><LI><A HREF="ch6.htm#UndertheAppletHood" >Under the Applet Hood</A><LI><A HREF="ch6.htm#CreatingandReadingaURL" >Creating and Reading a URL</A><LI><A HREF="ch6.htm#ChapterProject" >Chapter Project</A><UL><LI><A HREF="ch6.htm#ClassOrganization" >Class Organization</A><LI><A HREF="ch6.htm#CatalogHTML" >Catalog HTML</A><LI><A HREF="ch6.htm#TheCatalogClass" >The Catalog Class</A><LI><A HREF="ch6.htm#TheCatalogButtonClass" >The CatalogButton Class</A><LI><A HREF="ch6.htm#TheSelectionCanvasClass" >The SelectionCanvas Class</A><LI><A HREF="ch6.htm#TheMediaLoaderClass" >The MediaLoader Class</A><LI><A HREF="ch6.htm#TheMediaLoaderExceptionClass" >The MediaLoaderException Class</A></UL><LI><A HREF="ch6.htm#Summary" >Summary</A></UL><A HREF="ch7.htm"><b>Chapter 7:</b> Java and Images</A><UL><LI><A HREF="ch7.htm#DisplayingImages" >Displaying Images</A><UL><LI><A HREF="ch7.htm#LoadingJavaImages" >Loading Java Images</A><LI><A HREF="ch7.htm#ImageDisplay" >Image Display</A><LI><A HREF="ch7.htm#ImageObservers" >Image Observers</A></UL><LI><A HREF="ch7.htm#TrackingImageLoading" >Tracking Image Loading</A><LI><A HREF="ch7.htm#TheConsumerProducerModel" >The Consumer/Producer Model</A><LI><A HREF="ch7.htm#JavaColorModels" >Java Color Models</A><UL><LI><A HREF="ch7.htm#DefaultRGB" >Default RGB</A><LI><A HREF="ch7.htm#DirectColor" >Direct Color</A><LI><A HREF="ch7.htm#IndexColor" >Index Color</A></UL><LI><A HREF="ch7.htm#ChapterProjectDisplayingaWindowsBM" >Chapter Project: Displaying a Windows BMP Image</A><UL><LI><A HREF="ch7.htm#UsingImageTypesNotSupportedbyJava" >Using Image Types Not Supported by Java</A><LI><A HREF="ch7.htm#MemoryImages" >Memory Images</A><LI><A HREF="ch7.htm#LoadingForeignImages" >Loading Foreign Images</A><LI><A HREF="ch7.htm#BMPFileFormat" >BMP File Format</A><LI><A HREF="ch7.htm#ReadingUnsignedBinaryinJava" >Reading Unsigned Binary in Java</A><LI><A HREF="ch7.htm#CreatingtheColorTable" >Creating the Color Table</A><LI><A HREF="ch7.htm#ConstructingtheImage" >Constructing the Image</A></UL><LI><A HREF="ch7.htm#Summary" >Summary</A></UL><A HREF="ch8.htm"><b>Chapter 8:</b> Adding Threads to Applets</A><UL><LI><A HREF="ch8.htm#WhatIsaThread" >What Is a Thread?</A><LI><A HREF="ch8.htm#CreatingaThreadwiththeThreadClass" >Creating a Thread with the Thread Class</A><UL><LI><A HREF="ch8.htm#EnhancingYourFirstMultithreadedApple" >Enhancing Your First Multithreaded Applet</A></UL><LI><A HREF="ch8.htm#TheRunnableInterface" >The Runnable Interface</A><LI><A HREF="ch8.htm#Synchronization" >Synchronization</A><UL><LI><A HREF="ch8.htm#ATestStackClassThatIsNotThreadSaf" >A TestStack Class That Is Not Thread-Safe</A><LI><A HREF="ch8.htm#IntroducingtheSynchronizedModifier" >Introducing the Synchronized Modifier</A><LI><A HREF="ch8.htm#NotifyandWait" >Notify and Wait</A></UL><LI><A HREF="ch8.htm#MoreAboutThreads" >More About Threads</A><LI><A HREF="ch8.htm#ThreadGroups" >ThreadGroups</A><UL><LI><A HREF="ch8.htm#ThreadDeath" >ThreadDeath</A></UL><LI><A HREF="ch8.htm#TalkingThreadsPipesandThreads" >Talking Threads: Pipes and Threads</A><LI><A HREF="ch8.htm#ChapterProject" >Chapter Project</A><UL><LI><A HREF="ch8.htm#ClassOrganization" >Class Organization</A><LI><A HREF="ch8.htm#CatalogHTMLandPreloadFile" >Catalog HTML and Preload File</A></UL><LI><A HREF="ch8.htm#TheMediaLoaderThreadandMediaObserver" >The MediaLoaderThread and MediaObserver Classes</A><UL><LI><A HREF="ch8.htm#TheMediaLoaderClass" >The MediaLoader Class</A><LI><A HREF="ch8.htm#TheMediaSweeperClass" >The MediaSweeper Class</A><LI><A HREF="ch8.htm#TheQueueClass" >The Queue Class</A><LI><A HREF="ch8.htm#TheBMPImageClass" >The BMPImage Class</A><LI><A HREF="ch8.htm#TheCatalogClass" >The Catalog Class</A><LI><A HREF="ch8.htm#TheCatalogButtonClass" >The CatalogButton Class</A><LI><A HREF="ch8.htm#TheSelectionCanvasClass" >The SelectionCanvas Class</A></UL><LI><A HREF="ch8.htm#Summary" >Summary</A></UL><A HREF="ch9.htm"><b>Chapter 9:</b> Java Socket Programming</A><UL><LI><A HREF="ch9.htm#AnIntroductiontoSockets" >An Introduction to Sockets</A><UL><LI><A HREF="ch9.htm#SocketTransmissionModes" >Socket Transmission Modes</A><LI><A HREF="ch9.htm#JavaConnectionOrientedClasses" >Java Connection-Oriented Classes</A><LI><A HREF="ch9.htm#IterativeandConcurrentServers" >Iterative and Concurrent Servers</A><LI><A HREF="ch9.htm#JavaDatagramClasses" >Java Datagram Classes</A><LI><A HREF="ch9.htm#AppletSecurityandSockets" >Applet Security and Sockets</A></UL><LI><A HREF="ch9.htm#ChapterProjectHTTPServerApplication" >Chapter Project: HTTP Server Application and Client Applet</A><UL><LI><A HREF="ch9.htm#ChapterProjectHTTPServeApplication" >Chapter Project: HTTP Server Application and Client Applet</A><LI><A HREF="ch9.htm#BasicWebServer" >Basic Web Server</A><LI><A HREF="ch9.htm#ClientDatagramApplet" >Client Datagram Applet</A><LI><A HREF="ch9.htm#ClientApplet" >Client Applet</A></UL><LI><A HREF="ch9.htm#Summary" >Summary</A></UL><A HREF="ch10.htm"><b>Chapter 10:</b> Native Methods and Java</A><UL><LI><A HREF="ch10.htm#DecidingtoUseNativeMethods" >Deciding to Use Native Methods</A><LI><A HREF="ch10.htm#NativeMethodsfromtheJavaSide" >Native Methods from the Java Side</A><LI><A HREF="ch10.htm#WritingNativeMethods" >Writing Native Methods</A><UL><LI><A HREF="ch10.htm#UsingJavah" >Using Javah</A><LI><A HREF="ch10.htm#JavaArrays" >Java Arrays</A><LI><A HREF="ch10.htm#TheStubsCode" >The Stubs Code</A></UL><LI><A HREF="ch10.htm#ChapterProjectADatabaseInterfaceLi" >Chapter Project: A Database Interface Library Using ODBC</A><UL><LI><A HREF="ch10.htm#CallingBackIntoJava" >Calling Back Into Java</A><LI><A HREF="ch10.htm#ConstructingJavaObjectsfromC" >Constructing Java Objects from C</A><LI><A HREF="ch10.htm#CreatingtheLibrary" >Creating the Library</A></UL><LI><A HREF="ch10.htm#DatabaseServer" >Database Server</A><LI><A HREF="ch10.htm#AddingPacketAssemblytoDGTP" >Adding Packet Assembly to DGTP</A><UL><LI><A HREF="ch10.htm#TheElectionServer" >The Election Server</A></UL><LI><A HREF="ch10.htm#ElectionClient" >Election Client</A><LI><A HREF="ch10.htm#Summary" >Summary</A></UL><A HREF="ch11.htm"><b>Chapter 11:</b> Building a Live Data Applet</A><UL><LI><A HREF="ch11.htm#ObserversandtheModelViewParadigm" >Observers and the Model-View Paradigm</A><LI><A HREF="ch11.htm#ChapterProject" >Chapter Project</A><UL><LI><A HREF="ch11.htm#GeneralArchitectureoftheProject" >General Architecture of the Project</A><LI><A HREF="ch11.htm#ChangestotheServer" >Changes to the Server</A><LI><A HREF="ch11.htm#AppletClient" >Applet Client</A></UL><LI><A HREF="ch11.htm#Summary" >Summary</A></UL><A HREF="ch12.htm"><b>Chapter 12:</b> Handling Dynamic Content</A><UL><LI><A HREF="ch12.htm#IntroducingtheHotJavaBrowser" >Introducing the HotJava Browser</A><UL><LI><A HREF="ch12.htm#DynamicContent" >Dynamic Content</A><LI><A HREF="ch12.htm#SecurityModel" >Security Model</A><LI><A HREF="ch12.htm#Alpha3DistributionDifferences" >Alpha3 Distribution Differences</A></UL><LI><A HREF="ch12.htm#AlteringtheHotJavaSource" >Altering the HotJava Source</A><UL><LI><A HREF="ch12.htm#BufferedStreamsPrimer" >Buffered Streams Primer</A><LI><A HREF="ch12.htm#MakingtheChanges" >Making the Changes</A><LI><A HREF="ch12.htm#CompilingUnderHotJava" >Compiling Under HotJava</A></UL><LI><A HREF="ch12.htm#TowardaMorePerfectServer" >Toward a More Perfect Server</A><UL><LI><A HREF="ch12.htm#AddingaConfigurationFile" >Adding a Configuration File</A><LI><A HREF="ch12.htm#AddingStandardLogging" >Adding Standard Logging</A><LI><A HREF="ch12.htm#BuildingLogInformation" >Building Log Information</A><LI><A HREF="ch12.htm#AlteringtheSendRoutines" >Altering the Send Routines</A></UL><LI><A HREF="ch12.htm#CreatingNewContentTypes" >Creating New Content Types</A><UL><LI><A HREF="ch12.htm#WritingContentHandlers" >Writing Content Handlers</A></UL><LI><A HREF="ch12.htm#Summary" >Summary</A></UL><A HREF="ch13.htm"><b>Chapter 13:</b> Animation and Image Filters</A><UL><LI><A HREF="ch13.htm#SimpleAnimationUsingImages" >Simple Animation Using Images</A><LI><A HREF="ch13.htm#ImageProducers" >Image Producers</A><UL><LI><A HREF="ch13.htm#ImageConsumers" >Image Consumers</A></UL><LI><A HREF="ch13.htm#FilteringanImage" >Filtering an Image</A><UL><LI><A HREF="ch13.htm#FilteredImageSource" >FilteredImageSource</A><LI><A HREF="ch13.htm#WritingaFilter" >Writing a Filter</A><LI><A HREF="ch13.htm#StaticImageFilterRotation" >Static Image Filter: Rotation</A><LI><A HREF="ch13.htm#DoubleBuffering" >Double Buffering</A><LI><A HREF="ch13.htm#DynamicImageFilterFXFilter" >Dynamic Image Filter: FXFilter</A></UL><LI><A HREF="ch13.htm#CorporatePresentationApplet" >Corporate Presentation Applet</A><UL><LI><A HREF="ch13.htm#HowthePresentImageAppletWorks" >How the PresentImage Applet Works</A></UL><LI><A HREF="ch13.htm#Summary" >Summary</A></UL><A HREF="ch14.htm"><b>Chapter 14:</b> Advanced Image Processing</A><UL><LI><A HREF="ch14.htm#ChapterProject" >Chapter Project</A><LI><A HREF="ch14.htm#ClassOrganization" >Class Organization</A><LI><A HREF="ch14.htm#HowItWorks" >How It Works</A><LI><A HREF="ch14.htm#FractalsandtheMandelbrotSet" >Fractals and the Mandelbrot Set</A><LI><A HREF="ch14.htm#UsingtheApplets" >Using the Applets</A><LI><A HREF="ch14.htm#TheMandelbrotClass" >The Mandelbrot Class</A><LI><A HREF="ch14.htm#CalculateFilterNotifyInterface" >CalculateFilterNotify Interface</A><LI><A HREF="ch14.htm#CalculatorProducerInterface" >CalculatorProducer Interface</A><LI><A HREF="ch14.htm#TheCalculatorFilterClass" >The CalculatorFilter Class</A><LI><A HREF="ch14.htm#TheCalculatorImageClass" >The CalculatorImage Class</A><LI><A HREF="ch14.htm#TheMandelAppClass" >The MandelApp Class</A><LI><A HREF="ch14.htm#TheMandelZoomAppClass" >The MandelZoomApp Class</A><LI><A HREF="ch14.htm#TheBmpImageClass" >The BmpImage Class</A><UL><LI><A HREF="ch14.htm#AutomaticDocumentationwithjavadoc" >Automatic Documentation with javadoc</A></UL><LI><A HREF="ch14.htm#Summary" >Summary</A></UL><A HREF="appa.htm"><b>Appendix A:</b> Inside the Java Virtual Machine</A><UL><LI><A HREF="appa.htm#TheClassFile" >The Class File</A><UL><LI><A HREF="appa.htm#Layout" >Layout</A></UL><LI><A HREF="appa.htm#TheVirtualMachine" >The Virtual Machine</A><UL><LI><A HREF="appa.htm#Registers" >Registers</A><LI><A HREF="appa.htm#OperandStack" >Operand Stack</A></UL><LI><A HREF="appa.htm#PrimitiveTypes" >Primitive Types</A><LI><A HREF="appa.htm#LocalVariables" >Local Variables</A><UL><LI><A HREF="appa.htm#TheVerifier" >The Verifier</A><LI><A HREF="appa.htm#ExceptionHandling" >Exception Handling</A><LI><A HREF="appa.htm#Bytecodes" >Bytecodes</A><LI><A HREF="appa.htm#TestClassBytecodes" >Test Class Bytecodes</A></UL><LI><A HREF="appa.htm#GarbageCollection" >Garbage Collection</A></UL><A HREF="appb.htm" ><b>Appendix B:</b> Language Grammar</A><Br><!-- reference library footer #1--></CENTER><IMG SRC="/images/rule.gif" WIDTH="460" HEIGHT="5" VSPACE="5"ALT="Ruler image"><br><FONT SIZE="-1">Contact <a href="mailto:reference@developer.com">reference@developer.com</a> with questions or comments.<br><a href="/legal/">Copyright 1998</a> <a href="http://www.earthweb.com" target="_top">EarthWeb Inc.</a>, All rights reserved.<BR>PLEASE READ THE <a href="/reference/usage.html">ACCEPTABLE USAGE STATEMENT</a>.<BR>Copyright 1998 Macmillan Computer Publishing. All rights reserved.</FONT></BLOCKQUOTE><!--outer table--><TD VALIGN="TOP"><!--right side ads --><a target="resource window" href="http://adserver.developer.com/cgi-bin/accipiter/adclick.exe/AREA=DCAD1.REF" alt="Click here for more info"><img src="http://adserver.developer.com/cgi-bin/accipiter/adserver.exe/AREA=DCAD1.REF" alt="Click here for more info" height="88" width="88" border="0"></a><P><a target="resource window" href="http://adserver.developer.com/cgi-bin/accipiter/adclick.exe/AREA=DCAD2.REF" alt="Click here for more info"><img src="http://adserver.developer.com/cgi-bin/accipiter/adserver.exe/AREA=DCAD2.REF" alt="Click here for more info" height="88" width="88" border="0"></a><P></td></tr></table></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -