driver.ctxt

来自「Java程序设计(美) David D. Riley著 机械工业出版社 书籍配套」· CTXT 代码 · 共 19 行

CTXT
19
字号
#BlueJ class contextcomment0.target=class\ Drivercomment0.text=Author\:\ David\ D.\ Riley\nDate\:\ Jan,\ 2005\nProgram\ to\ illustrate\ events\ in\ recoloring\ a\ square\ (Figure\ 4.22)\n\ncomment1.params=comment1.target=Driver()comment1.text=post\:\ta\ window\ with\ a\ 100\ by\ 100\ filled\ black\ square\ is\ drawn\nand\ button\ actions\ control\ recoloring\ of\ the\ square\ \ \n\ncomment2.params=comment2.target=void\ leftAction()comment2.text=pre\:\tsquare\ is\ constructed\t\npost\:\tsquare\ is\ colored\ green\ \ and\ \ square\ is\ repainted\ \ \ \n\ncomment3.params=comment3.target=void\ rightAction()comment3.text=pre\:\tsquare\ is\ constructed\t\npost\:\tsquare\ is\ colored\ blue\ \ and\ \ square\ is\ repainted\ \ \ \n\ncomment4.target=windowcomment5.target=squarecomment6.params=comment6.target=void\ midAction()comment6.text=pre\:\tsquare\ is\ constructed\t\npost\:\tsquare\ is\ colored\ red\ \ and\ \ square\ is\ repainted\ \ \ \n\nnumComments=7

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?