Principal text: Foley, van Dam et al., Introduction to Computer Graphics, Addison-Wesley.
Secondary text: Any Java programming book that includes Swing. One good one
is:
Deitel and Deitel, Java How to Program (3rd Edition), Prentice-Hall.
This edition is based on Java 2 and includes extensive use of Swing components.
Some pointers to Java resources