Java Graphics Tutorial - 2: Creating Canvas on A Window

preview_player
Показать описание
In this video a canvas is placed in JFrame, that was created as application window in the previous video. myCanvas class inherits the canvas class. paint() method of canvas class is overwritten in this class.
Рекомендации по теме
Комментарии
Автор

You seem very depressed, however the tutorial was informative and helpful

ayanjayasekara
Автор

that video really helped me to understand canvas better

dadimwinning
Автор

how should vi call the paint method in the main?

Ahmadreshadahmadi