Instructor: Ron McFadyen 3D15 r.mcfadyen@uwinnipeg.ca 786-9376 ACS-1903 1903 Fall 2009 Fall 2007 Text: Starting out with java from control structures through data structures Gaddis & Muganda Instructor: Ron McFadyen 3D15 r.mcfadyen@uwinnipeg.ca 786-9376 www.acs.uwinnipeg.ca Course Outline Fall 2009 ACS-1903 Ron McFadyen
BlueJ is available in labs 3D03 and 3C13 ACS-1903 1903 Fall 2009 BlueJ Fall 2007 BlueJ: a development environment that includes tools for creating and testing a Java program BlueJ is available in labs 3D03 and 3C13 Fall 2009 ACS-1903 Ron McFadyen
The BlueJ tutorial provided by the BlueJ organization ACS-1903 1903 Fall 2009 BlueJ Fall 2007 BlueJ is described at http://www.bluej.org The BlueJ tutorial provided by the BlueJ organization http://www.bluej.org/tutorial/tutorial-201.pdf You are not required to view this Discusses such things as installing BlueJ on PCs and Macs BlueJ can be downloaded free of charge from http://www.bluej.org/download/download.html Fall 2009 ACS-1903 Ron McFadyen
1903 Fall 2009 BlueJ Saves Java statements Source code Text editor ACS-1903 1903 Fall 2009 BlueJ Fall 2007 Text editor Source code (.java) Saves Java statements Java compiler Is read by Byte code (.class) Produces Java Virtual Machine Is interpreted by Program Execution Results in Fall 2009 ACS-1903 Ron McFadyen
1903 Fall 2009 BlueJ Byte code (.class) Java Virtual ACS-1903 1903 Fall 2009 BlueJ Fall 2007 Byte code (.class) Java Virtual Machine for Windows Java Virtual Machine for Unix Java Virtual Machine for Linux Java Virtual Machine for Macintosh Fall 2009 ACS-1903 Ron McFadyen
A quick example using BlueJ that involves 4 classes ACS-1903 1903 Fall 2009 BlueJ Fall 2007 A quick example using BlueJ that involves 4 classes Triangle Square Circle Canvas Fall 2009 ACS-1903 Ron McFadyen