Java GUI 02 - Second Example (Better Class Structure)

preview_player
Показать описание
A walkthrough of our second Java GUI example. This is an expansion of our first example. What we have done is taken a single JPanel with drawings on it, and made each drawing a separate class. In that way each object in the drawing will have it's own attributes (position, color, etc) that can be changed. This will make our drawing easier to edit and expand upon as we move towards animations next week.
Рекомендации по теме