Java Programming Graphical User Interface (GUI): Introduction to Java Gaming & Graphics Programming, An Introduction to Java Graphics and Event-Driven Programming, Easily & Comprehensive

Neos Thanh
3.0
2 reviews
Ebook
129
Pages

About this ebook

In this book, I shall show you how to reuse the graphics classes provided in JDK to construct your own Graphical User Interface (GUI) applications. Writing your own graphics classes (and re-inventing the wheels) is mission impossible! These graphics classes, developed by expert programmers, are highly complex and involve many advanced design patterns. However, re-using them is not so difficult if you follow the API documentation, samples, and templates.

I shall assume you have a good grasp of OOP, including inheritance and polymorphism; otherwise, read the earlier book. I will describe another important concept called nested class (or inner class) in this article.

There are two sets of Java APIs for graphics programming: AWT (Abstract Windowing Toolkit) and Swing.

AWT API was introduced in JDK 1.0. Most of the AWT components have become obsolete and should be replaced by newer Swing components.

Swing API, a much more comprehensive set of graphics libraries that enhances the AWT, was introduced as part of Java Foundation Classes (JFC) after the release of JDK 1.1. JFC consists of Swing, Java2D, Accessibility, Internationalization, and Pluggable Look-and-Feel Support APIs. JFC has been integrated into core Java since JDK 1.2.

Other than AWT/Swing Graphics APIs provided in JDK, others have also provided Graphics APIs that work with Java, such as Eclipse's Standard Widget Toolkit (SWT) (used in Eclipse), Google Web Toolkit (GWT) (used in Android), 3D Graphics API such as Java bindings for OpenGL (JOGL) and Java3D.


What You Will Learn

- Introduction

- Programming GUI with AWT

- AWT Event-Handling

- Nested (Inner) Classes

- Event Listener's Adapter Classes

- Layout Managers and Panel

- Swing

- More on Swing's components

- Pluggable Look and Feel

- More on Layout Manager

- More on Event-Handling

- (Advanced) Observer Design Pattern

- (Advanced) Composite Design Pattern

- (Advanced) More on Nested Classes


Who This Book Is For

If you are a JAVA developer who wants to learn more about developing applications with Graphical and scaling them with industry-standard practices, this is the book for you.

Ratings and reviews

3.0
2 reviews

About the author

Life is to fight

Programming, Music and Football

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.