Swing for Jython: Graphical Jython UI and Scripts Development using Java Swing and WebSphere Application Server

  • 7h 18m
  • Robert A. Gibson
  • Apress
  • 2015

This book shows you how to use Swing to add a GUI to your Jython scripts, with an emphasis on the WebSphere Application Server wsadmin utility. In fact, we're going to teach you Swing using Jython, and we're going to do it in a way that, hopefully, that makes your scripts easier for people to use, more robust, more understandable, and therefore easier to maintain.

What you’ll learn

  • How to add Swing APIs to your Jython scripts
  • How to work with components, containers, layouts, input/output fields, lists, menus, trees, frames, tables, event handling and more
  • How to build a simple global security application with a graphical UI
  • How to monitor and indicate progress
  • How to create a simple graphical help application
  • How to build a security configuration report application
  • How to port over to WebSphere for middleware deployment

Who this book is for

This book is for experienced Java programmers who have experience with Jython and at least some experience maybe with Swing.

About the Author

Robert A. (Bob) Gibson is an Advisory Software Engineer with decades of experience in numerous software-related roles at IBM, including Architect, Developer, Tester, Instructor, and Technical Support. While providing technical support for the IBM's WebSphere Application Server product, he was the primary author for "WebSphere Application Server Administration Using Jython" which was published by IBM Press. He is currently a member of the IBM technical support team responsible for the IBM MQ product on distributed platforms. He holds both a Bachelor of Science degree in Engineering Science and a Master of Science degree in Computer Science from the University of Virginia.

In this Book

  • Components and Containers
  • Interactive Sessions vs. Scripts
  • Building a Simple Global Security Application
  • Button Up! Using Buttons and Labels
  • Picking a Layout Manager Can Be a Pane
  • Using Text Input Fields
  • Other Input Components
  • Selectable Input Components
  • Providing Choices, Making Lists
  • Menus and MenuItems
  • Using JTree to Show the Forest: Hierarchical Relationships of Components
  • Motion to Take from the Table: Building Tables
  • Keystrokes, Actions, and Bindings, Oh My!
  • It's the Event of the Year: Events in Swing Applications
  • Nuts to Soup: Using Jsoup to Enhance Applications
  • Conversing with a User with Dialog Boxes
  • Specialized Dialog Boxes
  • Monitoring and Indicating Progress
  • Internal Frames
  • Building a Graphical Help Application
  • A Security Configuration Report Application
  • WASports: A WebSphere Port Application
SHOW MORE
FREE ACCESS