图片库应用程序使用全屏方式向用户展示相册和其它相集,并提供了访问相集中其它照片的缩略图便捷方式。
The Gallery application lets users view albums and other collections in full-screen mode, with easy access to thumbnails for other photos in the collection.
然而,因为窗口处于全屏幕方式,所以paint方法所需的开销、该方法如何处理剪裁以及其它与显示处理相关的行为都是不必要的。
However, because the window is in fullscreen mode, the overhead required for the paint method, how the method deals with clipping, and other associated display-handling behaviors are unnecessary.
然而,您将发现一个使用 BufferStrategy 和全屏幕绘制方式的完整工作示例。
You will, however, find a complete working example employing a BufferStrategy and fullscreen drawing modes.
应用推荐