Title Drawing with fill3DRect
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-object-112
Platform Name CodeCheck
Features Code Completion
Description Complete the ThreeButtonComponent class to draw three boxes that look like push buttons. Each box is a Rectangle drawn in Color.GRAY using the Graphics2D method fill3DRect. Look in the Graphics2D class API for a complete description of this method. Use true for the value for the boolean raised parameter. (We will learn more about the boolean data type in Chapter 4.) The center of each box has a different colored circle, Color.RED, Color.GREEN, or Color.CYAN.
Keywords Objects
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-object-112
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output