Java InstantCode. Developing Applications Using Java NIO

Chapter 1: Introduction to New Input/Output API

Figure 1-1: The java.nio Package
Figure 1-2: The java.nio.channels Package
Figure 1-3: The java.nio.charset Package

Chapter 2: Creating a Chat Application

Figure 2-1: Architecture of the Chat Application
Figure 2-2: The Chat Login Window
Figure 2-3: The Chat Client Window
Figure 2-4: Welcome Message in the Chat Application - user1 Window
Figure 2-5: The Error Dialog Box
Figure 2-6: The Chat Application - user2 Window with List of Users
Figure 2-7: The Chat Application - user1 Window with user2 in Chat Session
Figure 2-8: Receiving Message in the Chat Application - user2 Window
Figure 2-9: Receiving Message in the Chat Application - user2 Window
Figure 2-10: Receiving Message in the Chat Application - user1 Window
Figure 2-11: Private Message in the Chat Application - user2 Window
Figure 2-12: The Confirm Dialog Box
Figure 2-13: The Chat Application - user1 Window

Chapter 3: Creating a File Download Application

Figure 3-1: Architecture of the File Download Application
Figure 3-2: The File Download Application User Interface
Figure 3-3: The Download Status Dialog Box
Figure 3-4: Displaying File Download Application
Figure 3-5: Error Dialog Box
Figure 3-6: Confirm Dialog Box
Figure 3-7: Save Dialog Box
Figure 3-8: Download Status Dialog Box
Figure 3-9: Download Complete Dialog Box

Chapter 4: Creating a File Search Application

Figure 4-1: Architecture of the File Search Application
Figure 4-2: The File Search Application User Interface
Figure 4-3: The Help Window
Figure 4-4: The File Search Utility Window with File Search Results

Chapter 5: Creating a Printer Management Application

Figure 5-1: Architecture of the Printer Management Application
Figure 5-2: The Printer Management Application User Interface
Figure 5-3: The File Menu of the Printer Management Application
Figure 5-4: The Book Interface Window
Figure 5-5: Printer Management Application Window
Figure 5-6: Page Setup Dialog Box
Figure 5-7: Displaying the Printer Status
Figure 5-8: Connect to Printer Dialog Box
Figure 5-9: Print Dialog Box
Figure 5-10: Printer Management Application with Print Image Tabbed Pane
Figure 5-11: Displaying an Image File in the Print Image Tabbed Pane
Figure 5-12: Displaying a Book Interface dialog

Chapter 6: Creating a Text Editor Application

Figure 6-1: Architecture of the Text Editor Application
Figure 6-2: The Text Editor User Interface
Figure 6-3: The Print Dialog Box
Figure 6-4: The Font Dialog Box
Figure 6-5: The Color Dialog Box
Figure 6-6: The Help Dialog Box
Figure 6-7: The Untitled Text Editor Window
Figure 6-8: Save As Dialog Box
Figure 6-9: Open Dialog Box
Figure 6-10: Displaying the Test.txt File
Figure 6-11: Displaying the Test.txt File with Selected Font
Figure 6-12: Displaying the Test.txt File with Selected Color
Figure 6-13: Displaying Error Message

Chapter 7: Creating a Network Information Application

Figure 7-1: Architecture of the Network Information Application
Figure 7-2: The Network Information Application User Interface
Figure 7-3: Error Dialog Box
Figure 7-4: Error Dialog Box with Error Message
Figure 7-5: Network Information Application Window with Ehco Service
Figure 7-6: Echo Response Dialog Box
Figure 7-7: Network Information Application Window with Date Time Service
Figure 7-8: System Date and Time Dialog Box

Chapter 8: Creating an Encoder/Decoder Application

Figure 8-1: Architecture of the Encoder/Decoder Application
Figure 8-2: The Encoder/Decoder Application User Interface
Figure 8-3: The Encoding Schemes Dialog Box
Figure 8-4: Displaying test.txt File in the Encoder/Decoder Application
Figure 8-5: Displaying Encoded File in the Encoder/Decoder Application
Figure 8-6: Displaying Decoded File in the Encoder/Decoder Application
Figure 8-7: Displaying Text to Encode in the Encoder/Decoder Application
Figure 8-8: Displaying Encoded and Decoded Text

Категории