Welcome to the MOOC screencast.
Here we'll take a look at how to login to the IDE (integrated development environment),
how an organization and course can be chosen, and how exercises are downloaded.
Let's begin.
This will assume that you've set up the NetBeans with TMC development environment according to the instructions provided in the course material.
The development environment is launched by double-clicking the icon.
Once the development environment has been launched, it asks for an email address and a password.
We write our email address here.
And our password.
Once valid email address and password have been provided,
TMC provides suggestions for organizations.
The MOOC courses are in the MOOC organization
We pick an organization by clicking on it, and pressing the select button.
TMC (our development environment) will subsequently list available courses.
For our course, we'll choose Ohjelmoinnin MOOC 2019.
Once the organization and course have been selected, TMC will display a summary of the settings.
We'll go with the default setting - the organization being MOOC and the course Ohjelmoinnin MOOC 2019
Ok.
After this, TMC will suggest exercises for download.
In this video, we'll deselect all of these, and pick only a few to download .
We'll download the following exercises: Hiekkalaatikko (Sandbox), AdaLovelace, and OlipaKerran (OnceUponATime).
Click download.
We then wait for the development environment to download the exercises.
The exercises are found in the Projects tab of the development environment.
Our first exercise is Hiekkalaatikko (Sandbox)
Which we can open by double-clicking on it,.
The source code files for each exercise are found in the Default Packages folder under the Source Packages folder.
The exercise has only one source code file with the name Hiekkalaatikko.java (Sandbox.java)
Let's open the file.
A file is opened by double-clicking its name, whereby it opens up for display on the right side of the screen.
We can write our code here.
What's likely to be the first command of the course is System.out.println,
to which we can provide a string between the quotation marks as a parameter.
Let's give it the string: "Tervetuloa  ohjelmoimaan!" (Welcome to programming!)
Once the source code has been written, we can press the program's play button.
At this stage, the development environment asks us to select the program we want to run
Let's click the one suggested, and let's click Select Main Class.
Now, the print output of the program can be seen at the bottom.
Thank you.
