Written for experienced programmers who need detailed explanations of the JFC libraries, this volume covers all aspects of the swing framework. Swing is the long-awaited successor to the AWT's heavyweight components.
Currently used at many colleges, universities, and high schools, this hands-on introduction to computer science 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 computer scientist. You’ll learn how to program—a useful skill by itself—but you’ll also discover how to use programming as a means to an end. Authors Allen Downey and Chris Mayfield start with the most basic concepts and gradually move into topics that are more complex, such as recursion and object-oriented programming. Each brief chapter covers the material for one week of a college course and includes exercises to help you practice what you’ve learned. Learn one concept at a time: tackle complex topics in a series of small steps with examples Understand how to formulate problems, think creatively about solutions, and write programs clearly and accurately Determine which development techniques work best for you, and practice the important skill of debugging Learn relationships among input and output, decisions and loops, classes and methods, strings and arrays Work on exercises involving word games, graphics, puzzles, and playing cards
An essential resource describes every aspect of 2D API, from setting line styles and pattern fills to creating and manipulating three types of graphic objects--shapes, texts, and images, and covers such topics as image data storage, color management, and more. Original. (Intermediate).
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.
Filthy Rich Clients refers to ultra-graphically rich applications that ooze cool. They suck the user in from the outset and hang on to them with a death grip of excitement. Filthy Rich Clients: Developing Animated and Graphical Effects for Desktop JavaTM Applications shows you how to build better, more effective, cooler desktop applications that intensify the user experience. The keys to Filthy Rich Clients are graphical and animated effects. These kinds of effects provide ways of enhancing the user experience of the application through more attractive GUIs, dynamic effects that give your application a pulse, and animated transitions that keep your user connected to the logical flow of the application. The book also discusses how to do so effectively, making sure to enrich applications in sensible ways. In-depth coverage includes Graphics and GUI fundamentals: Dig deep into the internals of how Swing and Java 2D work together to display GUI applications onscreen. Learn how to maximize the flexibility of these libraries and use them most effectively. Performance: Follow in-depth discussions and tips throughout the book that will help you write high-performing GUI applications. Images: Understand how images are created and used to make better Java applications. Advanced graphics: Learn more about elements of Swing and Java 2D that are of particular benefit to Filthy Rich Clients. Animation: Discover general concepts of animation, as well as how to use the facilities provided in the Java platform. Learn new utility libraries that vastly simplify animations in Java. Effects: Learn how to create, customize, and use static and animated effects—the mainstays of Filthy Rich Clients. Code examples illustrate key concepts, and the book’s companion Web site, http://filthyrichclients.org, includes extensive demos, utility libraries, additional information on related technologies, and more. Informal, fun, and, most of all, useful, this book is great for any developer working with Java to build desktop applications.
Swing Hacks helps Java developers move beyond the basics of Swing, the graphical user interface (GUI) standard since Java 2. The unique Hacks format provides short advanced tricks that you can instantly apply to increase your competency with interface-building tools.
This updated edition introduces the basics of Java and everything necessary to get up to speed on the new 1.4 version quickly. CD contains the Java 2 SDK for Windows, Linux and Solaris.
With a variety of interactive learning features and user-friendly pedagogy, the Third Edition provides a comprehensive introduction to programming using the most current version of Java. Throughout the text the authors incorporate an "active learning approach" which asks students to take an active role in their understanding of the language through the use of numerous interactive examples, exercises, and projects. Object-oriented programming concepts are developed progressively and reinforced through numerous Programming Activities, allowing students to fully understand and implement both basic and sophisticated techniques. In response to students growing interest in animation and visualization the text includes techniques for producing graphical output and animations beginning in Chapter 4 with applets and continuing throughout the text. You will find Java Illuminated, Third Edition comprehensive and user-friendly. Students will find it exciting to delve into the world of programming with hands-on, real-world applications!New to the Third Edition:-Includes NEW examples and projects throughout-Every NEW copy of the text includes a CD-ROM with the following: *programming activity framework code*full example code from each chapter*browser-based modules with visual step-by-step demonstrations of code execution*links to popular integrated development environments and the Java Standard Edition JDK-Every new copy includes full student access to TuringsCraft Custome CodeLab. Customized to match the organization of this textbook, CodeLab provides over 300 short hands-on programming exercises with immediate feedback.Instructor Resources: Test Bank, PowerPoint Lecture Outlines, Solutions to Programming Activities in text, and Answers to the chapter exercisesAlso available:Java Illuminated: Brief Edition, Third Edition (ISBN-13: 978-1-4496-3202-1). This Brief Edition is suitable for the one-term introductory course.
Jython is an open source implementation of the high-level, dynamic, object-oriented scripting language Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython, is certified as 100% Pure Java. Jython is freely available for both commercial and noncommercial use and is distributed with source code. Jython is complementary to Java. The Definitive Guide to Jython, written by the official Jython team leads, covers Jython 2.5 (or 2.5.x)—from the basics to more advanced features. This book begins with a brief introduction to the language and then journeys through Jython’s different features and uses. The Definitive Guide to Jython is organized for beginners as well as advanced users of the language. The book provides a general overview of the Jython language itself, but it also includes intermediate and advanced topics regarding database, web, and graphical user interface (GUI) applications; Web services/SOA; and integration, concurrency, and parallelism, to name a few.