📄 frameddisplaytester.java
字号:
import objectdraw.*;// allows testing of the FramedDisplay classpublic class FramedDisplayTester implements FrameIfc { private FramedDisplay disp; public FramedDisplayTester( double x, double y, double width, double height, DrawingCanvas canvas ){ disp = new FramedDisplay(x, y, width, height, canvas); } // calls whichever method will update the contents of the display // in this case, there is none. public void update(){ } // highlight the display public void highlight(){ disp.highlight(); } // un-highlight the display public void unHighlight(){ disp.unHighlight(); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -