JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Java Graphics
«Prev
Java Language
Packages Interfaces
Java Classes - Quiz
Java Graphics
Java Graphics - Quiz
Java Graphics Conclusion
MultiThreaded Programming
Multithreaded Programming Basics
Thread Significance Assessment
Create Use Thread Class
Implement Runnable Interface
Sleeping Threads
Thread Synchronization
wait notify Methods
Multithreaded Programming - Conclusion
Set Daemon Threads
Multithreaded Programming - Quiz
Multithreading Fundamentals - Quiz
Handling Exceptions
Understanding Exceptions
Throwing Exception
Catching Exceptions
Catching Exceptions
Custom Exceptions
finally Clause
Handling Exceptions Conclusion
Java Input Output
Create Reader Streams
Graphics and the Abstract Windowing Toolkit (AWT)
The color attribute specifies the color used by a Graphics object to draw lines and fill rectangles, among other things. You can access the color attribute using the getColor() and setColor() methods
The background color attribute specifies the background color of the graphic context onto which you are drawing. You can access this attribute using the getBackgroundColor() and setBackgroundColor() methods.
The font attribute specifies the font used to draw text onto the graphics context. You can access this attribute using the getFont() and setFont() methods.
The java.awt.peer package
The interfaces in the java.awt.peer package are part of the Java platform but are documented for use by AWT implementors only.
Applications that use these interfaces directly are not portable.