5

You could extend (heh) your lesson to include custom painting. Basically, you do this by extending JComponent or JPanel and overriding the paintComponent() function. This is how "real" Swing components draw themselves, and it gives students a window into how everything works behind the scenes. You could have them draw basic scenes, animations, or even ...


3

Treat your pupils with all the respect they deserve. They deserve teaching material that is free from obvious spelling and grammar mistakes. To reach this, paste your code into Microsoft Word or another spell checker and go through the whole document carefully. As of now, there are at least 30 issues in your document, which is far too easy for the pupils to ...


2

The lesson looks pretty good to me. First, the last part, extending the lesson to show how the power of JFrame class is harnessed in the backend. Don't. 1) The students are presumed to already understand the OOP involved, and how the extends concept works. 2) Give them the remaining time, as you've indicated, to work on the project assigned. 3) Allowing them ...


1

My company has a training program for software engineering interns. A computer science problem is given to them that they have to code. Every individual intern is going to create a PR to one of our company's repository. Without merging the PR, an instructor can do a code review and add comments, just like Udacity's. IMO, GitHub is better for code review than ...


1

There are a couple of things I would do before presenting this. The goal of the suggested change is to prevent students from getting the idea that things are the same when they are only incidentally similar. First, I'd do the animals array first so that the idea of an index is separate completely from the values stored in the array. The one is an integer and ...


1

There are two things you can do (surely more, of course) that will enhance the overall education of your students. First is to discuss the general situation of nested structures and the relationship to trees and to recursion. The frame contains Panels which contain Panels, which contain... down to some non-recursive things like Buttons. This lesson, when ...


Only top voted, non community-wiki answers of a minimum length are eligible