Examples of programming questions in swing