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.
Table of Contents
1. Components and Containers
2. Interactive Sessions vs. Scripts
3. Building a Simple Global Security Application
4. Button up! Using Buttonsand Labels
5. Picking a Layout Manager Can Be A Pane
6. Using text input fields
7. Other Input Components
8. Selectable Input Components
9. Lists
10. Menus
11. Using Trees to Show the Forest
12. Motion to Take from the Table
13. Keystrokes, Actions and Bindings
14. Event of The Year (Events Handling)
15. Nuts to Soup
16. Conversing with a User with Dialog Boxes
17. Specialized Dialog Boxes
18. Monitoring and Indicating Progress
19. Internal Frames
20. Graphical Help Application
21. A Security Configuration Report Application
22. WASports - A WebSphere Port Application