John Zukowski’s Definitive Guide to Swing for Java 2


Book Description

All set to become the one-stop resource for serious Java developers, this is the first comprehensive book to be based on released versions of the Java 1.2 Swing Set. While thorough in its treatment of the Swing set, the book avoids covering the minutia that is of no interest to programmers. John Zukowski is one of the best known figures in the Java community, and one of the most popular columnists for JavaWorld Magazine. He provides significant content for JavaSofts own web site and was the principal author of the "official" on-line Swing tutorial.




The Definitive Guide to Java Swing


Book Description

Fully updated for the Java 2 Platform, Standard Edition version 5.0, the third edition of this praised book is a one-stop resource for serious Java developers. This book shows you the parts of Java Swing API that you will use daily to create graphical user interfaces (GUI). You will also learn about the Model-View-Controller architecture that lies behind all Swing components, and about customizing components for specific environments. Author John Zukowski also provides custom editors and renderers for use with tables, trees, and list components. You'll encounter an overview of Swing architecture, and learn about core Swing components, toggelable components, event handling with the Swing Component Set, Swing menus and toolbars, borders, pop-ups, choosers, and more.




Definitive Guide to Swing for Java 2


Book Description

This guide provides developers with more tips, techniques and detailed coverage of issues related to Java programming using the Swing Component Set. It makes client-side programming in Java a real possibility by offering new information for the recent release of Java SDK version 1.3 and techniques for JTable, JList components, RepaintManager, Updating UIManager Property List, and much more.







Mastering Java 2, J2SE 1.4


Book Description

The 1.4 version of Java 2 Standard Edition provides many new programming capabilities while making plenty of old tasks easier. But without reliable guidance, you'll find it hard to take advantage of even a fraction of what the new SDK has to offer. Filled with detailed coverage of the new technology, step-by-step instruction, and tips from an acclaimed Java consultant and author, Mastering Java 2, J2SE 1.4 is the resource you'll want to keep within easy reach. Coverage Includes: * Understanding the Java programming language * Building forms with the Swing component set * Creating superior graphics with the Java 2D API * Supporting advanced data structures with the Collections API * Improving the speed of your Java applications * Taking advantage of Swing's support of drag and drop * Understanding OOP concepts, including UML * Working with Java's new assertion capabilities * Using Java's new I/O capabilities: nonblocking read and write operations, application preferences, and logging * Solving tough printing challenges * Working with installation options, including Java Plug-in and Java Web Start * Working with multiple threads and timer tasks







Java Collections


Book Description

The Collections Framework is supplied with all versions of the Java 2 platform and provides programmers with incredibly efficient ways to manipulate data. However, given the large number of methods and classes in this library, using them correctly is hardly a cakewalk. Well-known columnist and bestselling author John Zukowski gives the Java professional exactly what he or she needs to know about this vital library in order to maximize productivity. This practical book contains comprehensive coverage of the important Collections Framework from the working programmer's point of view, while staying away from academic abstractions. Java Collections leads you through the standard Java support for maintaining abstract groups of data, from the historical collection classes available since the inception of Java time, through the Collections Framework introduced with the Java 2 platform, and on to third-party alternative libraries for times when the standard support isn't enough. If you're working with data in Java programs, you need to understand the Collections Framework. Let Zukowski's Java Collections be your guide! Table of Contents Java Collections Framework: An Overview Arrays The Vector and Stack Classes The Enumeration Interface The Dictionary, Hashtable, and Properties Classes The BitSet Class Collections Introduction Sets Lists Maps Sorting Special Collections Support Array Algorithm Support Custom Implementations Compatibility Issues Advanced Usages JGL Libraries util.concurrent Colt




Java Swing


Book Description

Swing is a fully-featured user interface development kit for Java applications. Building on the foundations of the Abstract Window Toolkit (AWT), Swing enables cross-platform applications to use any of several pluggable look-and-feels. Swing developers can take advantage of its rich, flexible features and modular components, building elegant user interfaces with very little code. This second edition of Java Swing thoroughly covers all the features available in Java 2 SDK 1.3 and 1.4. More than simply a reference, this new edition takes a practical approach. It is a book by developers for developers, with hundreds of useful examples, from beginning level to advanced, covering every component available in Swing. All these features mean that there's a lot to learn. Even setting aside its platform flexibility, Swing compares favorably with any widely available user interface toolkit--it has great depth. Swing makes it easy to do simple things but is powerful enough to create complex, intricate interfaces. Java Swing, 2nd edition includes : A new chapter on Drag and Drop Accessibility features for creating a user interface meeting the needs of all users Coverage of the improved key binding infrastructure introduced in SDK 1.3 A new chapter on JFormattedTextField and input validation Mac OS X coverage and examples Coverage of the improved focus system introduced in SDK 1.4 Pluggable Look-and-Feel coverage Coverage of the new layout manager, SpringLayout, from SDK 1.4 Properties tables that summarize important features of each component Coverage of the 1.4 Spinner component Details about using HTML in components A new appendix listing bound actions for each component A supporting web site with utilities, examples, and supplemental materials Whether you're a seasoned Java developer or just trying to find out what Java can do, you'll find Java Swing, 2nd edition an indispensable guide.




Java AWT Reference


Book Description

The "Java AWT Reference" provides complete reference documentation on the Abstract Windowing Toolkit (AWT), a large collection of classes for building a graphical user interface (GUI) in Java. This book takes readers beyond what they would expect from standard reference manuals. Classes and methods are explained in detail.




Java Programming For Developers: The Definitive Guide to Learn JDBC And Database Applications


Book Description

This step-by-step guide to explore database programming using Java is ideal for people with little or no programming experience. The goal of this concise book is not just to teach you Java, but to help you think like a programmer. Each brief chapter covers the material for one week of a college course to help you practice what you've learned. As you would expect, this book shows how to build from scratch two different databases: MariaDB and SQLite using Java. In designing a GUI and as an IDE, you will make use of the NetBeans tool. In the first chapter, you will learn the basics of cryptography using Java. Here, you will learn how to write a Java program to count Hash, MAC (Message Authentication Code), store keys in a KeyStore, generate PrivateKey and PublicKey, encrypt / decrypt data, and generate and verify digital prints. In the second chapter, you will learn how to create and store salt passwords and verify them. You will create a Login table. In this case, you will see how to create a Java GUI using NetBeans to implement it. In addition to the Login table, in this chapter you will also create a Client table. In the case of the Client table, you will learn how to generate and save public and private keys into a database. You will also learn how to encrypt / decrypt data and save the results into a database. In the third chapter, you will create an Account table. This account table has the following ten fields: account_id (primary key), client_id (primarykey), account_number, account_date, account_type, plain_balance, cipher_balance, decipher_balance, digital_signature, and signature_verification. In this case, you will learn how to implement generating and verifying digital prints and storing the results into a database. In the fourth chapter, You create a table with the name of the Account, which has ten columns: account_id (primary key), client_id (primarykey), account_number, account_date, account_type, plain_balance, cipher_balance, decipher_balance, digital_signature, and signature_verification. In the fifth chapter, you will create a Client_Data table, which has the following seven fields: client_data_id (primary key), account_id (primary_key), birth_date, address, mother_name, telephone, and photo_path. In chapter six, you will be shown how to create SQLite database and tables with Java. In chapter seven, you will be taught how to extract image features, utilizing BufferedImage class, in Java GUI. Digital image techniques to extract image features used in this chapted are grascaling, sharpening, invertering, blurring, dilation, erosion, closing, opening, vertical prewitt, horizontal prewitt, Laplacian, horizontal sobel, and vertical sobel. For readers, you can develop it to store other advanced image features based on descriptors such as SIFT and others for developing descriptor based matching. In chapter eight, you will be taught to create Java GUI to view, edit, insert, and delete Suspect table data. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. In chapter nine, you will be taught to create Java GUI to view, edit, insert, and delete Feature_Extraction table data. This table has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. All six fields (except keys) will have a BLOB data type, so that the image of the feature will be directly saved into this table. In chapter ten, you will add two tables: Police_Station and Investigator. These two tables will later be joined to Suspect table through another table, File_Case, which will be built in the seventh chapter. The Police_Station has six columns: police_station_id (primary key), location, city, province, telephone, and photo. The Investigator has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. Here, you will design a Java GUI to display, edit, fill, and delete data in both tables. In chapter eleven, you will add two tables: Victim and Case_File. The File_Case table will connect four other tables: Suspect, Police_Station, Investigator and Victim. The Victim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The Case_File has seven columns: case_file_id (primary key), suspect_id (foreign key), police_station_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. Here, you will also design a Java GUI to display, edit, fill, and delete data in both tables. Finally, this book is hopefully useful and can improve database programming skills for every Java/MariaDB/SQLite pogrammer.