All the books, authored, co-authored or translated into Russian by Ivan Portyankin
are collected on this page. You can find a brief description of each book, see a few
reviews from readers and reviewers, and take a look at the brief table of contents.
Swing, Effective User Interfaces, 2nd Ed., 2010, Moscow, "Lory"
Published at the very end of 2010 and available to the public in January 2011, the
updated and revised 2nd edition of famous and widely used Java Swing Russian
tutorial brings more simple and clean examples, deeper dive into internals and
mechanics of Swing and creation of clean and polished user interfaces. During the
writing of the book the latest available builds of JDK 1.7 (Java 7) were used along
with the complete sources of Java platform, including native (operating system) and
Java code parts. This guarantees the most accurate information and the deepest
explanations of all, even most vague questions and APIs.
The special emphasis was made on programming notorious Swing concurrent event model
which requires developers to work in multi-threaded environment if an application at
least slightly more complicated than very simple. The history of the library, base
AWT, painting and event system are scrupulously investigated in detail. Many 3rd
party libraries and tools were covered as well, including MiGLayout, JXLayer, FEST
Testing, 3rd party look and feels.
A few reviews for the book:
- "Brilliant book! Congratulations on writing the best possible Swing tutorial!
Nothing like that exist even from the best widely known Western publishers" - Eugene
- "One of the few books well suited for both skilled professionals and beginners.
Classy. Proud to have the best Swing book written in Russian" - Oleg Plesser
- "Read and re-read this book until it's pages start to wear out! Never seen better
explanation of Swing including all English books I've seen. Everybody's suspicious
about Russian books on modern technologies as they may be not complete, but only
positive replies go to this one" - Russian programming forum review
The book includes the following chapters:
- - Introduction - history of the book and its first edition, short description of its
structure and audience
- - Chapter 1 - Architecture of Swing and AWT, MVC pattern and its implementation in
Swing, the most important features of the library
- - Chapter 2 - Event Model - handling and extending events, event types and their
- - Chapter 3 - Deeper Dive into Event Model - the core of the event system, event
dispatch thread, event queue. Multi-threading, masking, pre-processing are covered
in detail, as well as testing tools and technique to use when developing concurrent
- - Chapter 4 - Painting - the internals of paint system, what are the UI delegates,
basics of layered painting, RepaintManager and various techniques
- - Chapter 5 - Internal gears - some deeply hidden internal of Swing useful for
powerful applications, such as focus sub-system, keystrokes and how to manage and
- - Chapter 6 - Top level containers - Swing's Windows, Frames, Dialogs and Applets
host the rest of the application. All details about root, layered and glass panes,
JXLayer as more suitable tool for advanced container effects.
- - Chapter 7 - The Art of Layout - Laying out exactly how you want it could be like
magic which is taught by this chapter. All JDK's major layouts are studied, in
addition MiGLayout is covered. Layout styles and table vs. layered techniques are
- - Chapter 8 - Static Information - tooltips, labels etc.
- - Chapter 9 - All the Swing's buttons.
- - Chapter 10 - Menus and toolbars, dynamic menu construction tool using XML
- - Chapter 11 - Lists - JList and JComboBox
- - Chapter 12 - Constrained Selection Tools - sliders, spinners, and similar components
- - Chapter 13 - Effectively using screen space - scrolling panes, splitting screens etc.
- - Chapter 14 - Standard Dialogs
- - Chapter 15 - Taking care of trees - JTree and working with hierarchical
information in UIs
- - Chapter 16 - Editing Text - all Swing's text components, Document model, document
structure, highlighting and selecting etc.
- - Chapter 17 - JTable - working horse. Master in everything, deep and thorough
coverage of the most used component in Swing.
- - Chapter 18 - Data Exchange - clipboard usage, undo and redo, drag and drop
Swing, Effective User Interfaces, 1st Ed., 2005, St. Petersburg, "Piter"
Published at the very end of 2004, to the start of new 2005, the book was not
shallow coverage of components and APIs as most of the competitors, but deep
investigation of why the library was designed the way it's designed, and what are
the major ideas lying behind that design and driving how we should work with it.
After reading the book no one could say any more that Swing produced awkward,
mediocre looking, slow and hanging user interfaces. The book was quickly sold out
and become almost an official tutorial on Java desktop UI in Russia, both for
professionals and for computer science faculties that teach Swing and UIs in Java.
Many technical libraries in universities and large cities have acquired the book as
necessary addition to any set of books on Java Platform.