Beginning Java 8 APIs, Extensions and Libraries [electronic resource] : Swing, JavaFX, JavaScript, JDBC and Network Programming APIs /
Sharan, Kishori.author.
Beginning Java 8 APIs, Extensions and Libraries completes the Apress Java learning journey and is a comprehensive approach to learning the Java Swing, JavaFX, Java Scripting, JDBC and network programming APIs. This book covers the key extensions of the Java programming language such as Swing, JavaFX, network programming, and JDBC. Each topic starts with a discussion of the topic's background. A step-by-step process, with small snippets of Java code, provides easy-to-follow instructions. At the end of a topic, a complete and ready-to-run Java program is provided. This book contains over 130 images and diagrams to help you visualize and better understand the topics. More than 130 complete programs allow you to practice and quickly learn the topics. The Swing chapters discuss various aspects of working with a GUI, from the very basic concepts of developing a Swing application, to the most advanced topics, such as decorating a Swing component with a JLayer, drag-and-drop features, Synth Skinnable L&F, etc. The chapter on network programming covers the basics of network technologies first, and then, the advanced topics of network programming, using a Java class library. It covers IPv4 and IPv6, addressing schemes, subnetting, supernetting, multicasting, TCP/IP sockets, UPD sockets, asynchronous socket I/O, etc. The chapter on JDBC provides the details of connecting and working with databases such as Oracle, SQL Server, MySQL, DB2, Java DB (Apache Derby), Sybase, Adaptive Server Anywhere, etc. It contains a complete discussion on processing a ResultSet and a RowSet. It discusses how to use the RowSetFactory, to obtain a RowSet object of a specific type. Working with Large Objects (LOBs), such as Blob, Clob, and NClob, is covered in detail with Java code examples and database scripts.
""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Foreword""; ""Introduction""; ""Chapter 1: Introduction to Swing""; ""What Is Swing?""; ""The Simplest Swing Program""; ""Components of a JFrame""; ""Adding Components to a JFrame""; ""Some Utility Classes""; ""The Point Class""; ""The Dimension Class""; ""The Insets Class""; ""The Rectangle Class""; ""Layout Managers""; ""FlowLayout""; ""BorderLayout""; ""CardLayout""; ""BoxLayout""; ""GridLayout""; ""GridBagLayout""; ""The gridx and gridy Constraints""; ""Case #1""
""Case #2""""Case #3""; ""Case #4""; ""The gridwidth and gridheight Constraints""; ""The fill Constraint""; ""The ipadx and ipady Constraints""; ""The insets Constraints""; ""The anchor Constraint""; ""The weightx and weighty Constraints""; ""SpringLayout""; ""GroupLayout""; ""The null Layout Manager""; ""Creating a Reusable JFrame""; ""Event Handling""; ""Handling Mouse Events""; ""Summary""; ""Chapter 2: Swing Components""; ""What Is a Swing Component?""; ""JButton""; ""JPanel""; ""JLabel""; ""Text Components""; ""JTextComponent""; ""JTextField""; ""JPasswordField""; ""JFormattedTextField""
""JTextArea""""JEditorPane""; ""JTextPane""; ""Validating Text Input""; ""Making Choices""; ""JSpinner""; ""JScrollBar""; ""JScrollPane""; ""JProgressBar""; ""JSlider""; ""JSeparator""; ""Menu s""; ""JToolBar""; ""JToolBar Meets the Action Interface""; ""JTable""; ""JTree""; ""JTabbedPane and JSplitPane""; ""Custom Dialogs""; ""Standard Dialogs""; ""File and Color Choosers""; ""JFileChooser""; ""JColorChooser""; ""JWindow""; ""Working with Colors""; ""Working with Borders""; ""Working with Fonts""; ""Validating Components""; ""Painting Components and Drawing Shapes""; ""Immediate Painting""
""Double Buffering""""JFrame Revisited""; ""Summary""; ""Chapter 3: Advanced Swing""; ""Using HTML in Swing Components""; ""Threading Model in Swing""; ""Pluggable Look and Feel""; ""Skinnable Look-and-Feel""; ""Drag and Drop""; ""Multiple Document Interface Application""; ""The Toolkit Class""; ""Decorating Components Using JLayer""; ""Translucent Windows""; ""Shaped Window""; ""Summary""; ""Chapter 4: Applets""; ""What Is an Applet?""; ""Developing an Applet""; ""Writing an Applet""; ""Deploying an Applet""; ""Creating the HTML Document""; ""Deploying Applets in Production""
""Deploying Applets for Testing""""Installing and Configuring Java Plug-in""; ""Installing the Java Plug-in""; ""Opening the Java Control Panel""; ""Configuring Java Plug-in""; ""Viewing an Applet""; ""Using the appletviewer to Test Applets""; ""Using the codebase Attribute""; ""Example 1""; ""Example 2""; ""Example 3""; ""The Life Cycle of an Applet""; ""The init() Method""; ""The start() Method""; ""The stop() Method""; ""The destroy() Method""; ""Passing Parameters to Applets""; ""Publishing the Appletâ€?s Parameter Information""; ""Publishing the Appletâ€?s Information""
""Other Attributes of the  Tag""
"The expert's voice in Java"--Cover.
"Third in a series of three: Continue your learning, with focus on Java APIs, extensions and libraries"--Cover.
Includes index.
Beginning Java 8 APIs, Extensions and Libraries completes the Apress Java learning journey and is a comprehensive approach to learning the Java Swing, JavaFX, Java Scripting, JDBC and network programming APIs. This book covers the key extensions of the Java programming language such as Swing, JavaFX, network programming, and JDBC. Each topic starts with a discussion of the topic's background. A step-by-step process, with small snippets of Java code, provides easy-to-follow instructions. At the end of a topic, a complete and ready-to-run Java program is provided. This book contains over 130 images and diagrams to help you visualize and better understand the topics. More than 130 complete programs allow you to practice and quickly learn the topics. The Swing chapters discuss various aspects of working with a GUI, from the very basic concepts of developing a Swing application, to the most advanced topics, such as decorating a Swing component with a JLayer, drag-and-drop features, Synth Skinnable L&F, etc. The chapter on network programming covers the basics of network technologies first, and then, the advanced topics of network programming, using a Java class library. It covers IPv4 and IPv6, addressing schemes, subnetting, supernetting, multicasting, TCP/IP sockets, UPD sockets, asynchronous socket I/O, etc. The chapter on JDBC provides the details of connecting and working with databases such as Oracle, SQL Server, MySQL, DB2, Java DB (Apache Derby), Sybase, Adaptive Server Anywhere, etc. It contains a complete discussion on processing a ResultSet and a RowSet. It discusses how to use the RowSetFactory, to obtain a RowSet object of a specific type. Working with Large Objects (LOBs), such as Blob, Clob, and NClob, is covered in detail with Java code examples and database scripts.
JavaFX (Electronic resource)
JavaFX (Electronic resource)
Java (Computer program language).
Software engineering.
Java.
Software Engineering/Programming and Operating Systems.