super ("Drawing 3dRects"); resize (175, 225);
Frame f = new drawing3dRects (); f.show();
g.translate (insets().left, insets().top); g.setColor (Color.gray); g.draw3DRect (25, 10, 50, 75, true); g.draw3DRect (25, 110, 50, 75, false); g.fill3DRect (100, 10, 50, 75, true); g.fill3DRect (100, 110, 50, 75, false);