Home   Visual J# Express Programming Tutorials   Visual J# Express for Kids   Table of Contents


Visual J# Express for Kids - Table of Contents

1. Introducing Visual J# Express

A Story About Bill and Paul 1-1
Let’s Get Started 1-4
Starting Visual J# Express 1-6
Opening a Visual J# Express Project 1-9
Running a Visual J# Express Project 1-14
Stopping a Visual J# Express Project 1-19
Stopping Visual J# Express 1-20
Summary 1-21

2. The Visual J# Express Design Environment

Review and Preview 2-1
Parts of a Visual J# Express Project 2-2
Parts of the Visual J# Express Environment 2-5
Starting a New Visual J# Express Project 2-6
Main Window 2-8
Solution Explorer Window 2-9
Design Window 2-10
Toolbox Window 2-11
Properties Window 2-12
Moving Around in Visual J# Express 2-14
Solution Explorer Window 2-14
Properties Window 2-16
Code Window 2-18
Summary 2-21

3. Your First Visual J# Express Project

Review and Preview 3-1
Steps in Building a Visual J# Express Project 3-2
Placing Controls on the Form 3-4
Example 3-5
Setting Control Properties (Design Mode) 3-7
Naming Controls 3-11
Setting Properties in Run Mode 3-13
How Control Names are Used in Event Methods 3-15
Writing Event Methods 3-17
Example 3-19
Summary 3-28

4. Project Design, Forms, Buttons

Review and Preview 4-1
Project Design 4-2
Saving a Visual J# Express Project 4-4
On-Line Help 4-6
The Form Control 4-11
Properties 4-11
Example 4-12
Events 4-13
Typical Use of Form Control 4-14
Button Control 4-15
Properties 4-15
Example 4-17
Events 4-20
Typical Use of Button Control 4-20
J# - The First Lesson 4-21
Event Method Structure 4-22
Some J# Programming Rules 4-23
Property Types 4-24
Comments 4-27
Project - Form Fun 4-28
Project Design 4-28
Place Controls on Form 4-28
Set Control Properties 4-29
Write Event Methods 4-32
Run the Project 4-37
Other Things to Try 4-38
Summary 4-39

5. Labels, Text Boxes, Variables

Review and Preview 5-1
Debugging a Visual J# Express Project 5-2
Syntax Errors 5-3
Run-Time Errors 5-6
Logic Errors 5-12
Label Control 5-13
Properties 5-13
Example 5-14
Events 5-16
Typical Use of Label Control 5-17
Text Box Control 5-18
Properties 5-18
Example 5-19
Events 5-20
Typical Use of Text Box Control 5-21
J# - The Second Lesson 5-22
Assignment Statement 5-22
Variables 5-23
Variable Names 5-24
Variable Types 5-25
Declaring Variables 5-26
Type Casting 5-30
Arithmetic Operators 5-30
String/Number Conversion Methods 5-34
String Concatenation 5-38
Project - Savings Account 5-39
Project Design 5-39
Place Controls on Form 5-39
Set Control Properties 5-40
Write Event Methods 5-43
Run the Project 5-46
Other Things to Try 5-47
Summary 5-50

6. UpDown Control, Decisions, Random Numbers

Review and Preview 6-1
Numeric UpDown Control 6-2
Properties 6-2
Example 6-4
Events 6-5
Typical Use of Numeric UpDown Control 6-5
J# - The Third Lesson 6-6
Logical Expressions 6-6
Comparison Operators 6-8
Comparing Strings 6-11
Logical Operators 6-12
Decisions - The If Statement 6-17
Random Number Generator 6-23
Project - Guess the Number Game 6-26
Project Design 6-26
Place Controls on Form 6-28
Set Control Properties 6-29
Write Event Methods 6-31
Run the Project 6-37
Other Things to Try 6-38
Summary 6-40

7. Icons, Group Boxes, Check Boxes, Radio Buttons

Review and Preview 7-1
Icons 7-2
Designing Your Own Icon with IconEdit 7-3
Assigning Icons to Forms 7-7
Group Box Control 7-8
Properties 7-8
Placing Controls in a Group Box 7-10
Example 7-11
Typical Use of Group Box Control 7-12
Check Box Control 7-13
Properties 7-13
Example 7-15
Events 7-15
Typical Use of Check Box Control 7-16
Radio Button Control 7-17
Properties 7-18
Example 7-19
Events 7-20
Typical Use of Radio Button Control 7-20
J# - The Fourth Lesson 7-21
Decisions – Switch Structure 7-21
Project - Sandwich Maker 7-24
Project Design 7-24
Place Controls on Form 7-25
Set Control Properties 7-26
Write Event Methods 7-33
Run the Project 7-43
Other Things to Try 7-44
Summary 7-46

8. Panels, Mouse Events, Colors

Review and Preview 8-1
Panel Control 8-2
Properties 8-2
Typical Use of Panel Control 8-3
Graphics Using the Panel Control 8-4
Graphics Methods 8-4
Graphics Objects 8-5
Colors 8-7
Example 8-10
Pen Objects 8-11
Graphics Coordinates 8-13
DrawLine Method 8-14
Graphics Review 8-16
Example 8-17
J# - The Fifth Lesson 8-22
Mouse Events 8-22
MouseDown Event 8-23
Example 8-25
MouseUp Event 8-28
Example 8-28
MouseMove Event 8-29
Example 8-30
Project - Blackboard Fun 8-31
Project Design 8-31
Place Controls on Form 8-32
Set Control Properties 8-33
Write Event Methods 8-37
Run the Project 8-44
Other Things to Try 8-46
Summary 8-50

9. Picture Boxes, Arrays

Review and Preview 9-1
Picture Box Control 9-2
Properties 9-2
Image Property 9-4
Example 9-6
SizeMode Property 9-11
Example 9-13
Events 9-16
Typical Use of Picture Box Control 9-17
J# - The Sixth Lesson 9-18
Variable Arrays 9-18
J# for Loops 9-21
Block Level Variables 9-26
Method Level Variables 9-27
Shuffle Routine 9-28
Project - Card Wars 9-34
Project Design 9-34
Place Controls on Form 9-35
Set Control Properties 9-36
Write Event Methods 9-41
Run the Project 9-50
Other Things to Try 9-51
Summary 9-52

10. Timers, Animation, Keyboard Events

Review and Preview 10-1
Timer Control 10-2
Properties 10-2
Events 10-3
Examples 10-3
Typical Use of Timer Control 10-11
J# - The Final Lesson 10-12
Animation - The DrawImage Method 10-12
Image Disappearance 10-18
Border Crossing 10-21
Image Erasure 10-26
Collision Detection 10-29
Keyboard Events 10-34
KeyDown Event 10-35
KeyPress Event 10-38
Project – Beach Balls 10-43
Project Design 10-43
Place Controls on Form 10-44
Set Control Properties 10-45
Write Event Methods 10-49
Run the Project 10-59
Other Things to Try 10-60
Summary 10-62

Bonus Projects

Project 1 – Stopwatch B-2
Project 2 - Tic-Tac-Toe B-8
Project 3 - Dice Rolling B-22
Project 4 - State Capitals B-30
Project 5 - Memory Game B-43
Bonus Project – Pong! B-62

Back to Top

Back to Visual J# Express for Kids


Copyright © 1982-2008 KIDware
All Rights Reserved
Contact Information