Spec-Zone .ru
спецификации, руководства, описания, API
|
Do you want to use high-performance graphics in the Java development environment? Have you always wanted to program a game, but your images wouldn't move fast enough? Has your slide show program not worked properly because you had no control over the user's display resolution? If you've been asking any of these questions, then the full-screen exclusive mode API, introduced in release 1.4, may be what you're looking for.
paint
method is passive, whereas rendering in your own thread is active. Active rendering tips are also listed.java.awt.image.BufferStrategy
, a class that allows you to draw to surfaces and components without having to know the number of buffers used or the technique used to display them. This section also reviews java.awt.BufferCapabilities
, a class that can help you determine the capabilities of your graphics device.