CHAPTER 3

image

Advanced Swing

In this chapter, you will learn

  • How to use labels in Swing components in HTML format
  • About the threading model in Swing and how the event dispatch thread works
  • How to execute a long-running task off the event dispatch thread
  • How to use pluggable look and feel in Swing
  • How to use skinnable look and feel using Synth
  • How to perform drag and drop between Swing components
  • How to create a multiple document interface (MDI) application
  • How to use the Toolkit class to make a beep and know the screen details
  • How to decorate Swing components using JLayer
  • How to create translucent windows
  • How to create shaped windows

Using HTML ...

Get Beginning Java 8 APIs, Extensions and Libraries Swing, JavaFX, JavaScript, JDBC and Network Programming APIs now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.