forked from rage/java-programming
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
239 changed files
with
59,390 additions
and
36,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
path: "/credits" | ||
title: "Credits" | ||
hidden: false | ||
information_page: true | ||
--- | ||
|
||
The course was made by the [Agile Education Research -group](https://www.helsinki.fi/en/researchgroups/data-driven-education). | ||
|
||
## Material | ||
|
||
The course material was written by Arto Hellas (né Vihavainen) and | ||
Matti Luukkainen. The following individuals have also contributed to the material (in alphabetical order): | ||
|
||
* Antti Laaksonen | ||
* Antti Leinonen | ||
* Henrik Nygren | ||
* Joel Kaasinen | ||
* Juhana Laurinharju | ||
* Juho Leinonen | ||
* Martin Pärtel | ||
* Matti Paksula | ||
* Mikael Nousiainen | ||
* Nea Pirttinen | ||
* Pekka Mikkola | ||
* Reetta Puska | ||
* Vilma Kangas | ||
|
||
|
||
### Translation | ||
|
||
The course was translated by these individuals (in alphabetical order): | ||
|
||
* Ava Heinonen | ||
* Daniel Koch | ||
* Jesper Kuutti | ||
* Jesper Peterson | ||
* Joel Hassan | ||
* Kalle Belmo | ||
* Reetta Puska | ||
|
||
|
||
The course material is licensed under a [Creative Commons BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.fi)-license. | ||
|
||
|
||
## Technology used in this course | ||
|
||
The course page has been made by [Henrik Nygren](https://github.com/nygrenh) and [Antti Leinonen](https://github.com/redande). | ||
|
||
The automatic programming assignment assessment tool "Test My Code" (or TMC) has been created by the [Agile Education Research group](https://www.helsinki.fi/en/researchgroups/data-driven-education) at University of Helsinki. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
path: "/faq" | ||
title: "Frequently asked questions" | ||
hidden: false | ||
information_page: true | ||
--- | ||
|
||
Here's some of the most frequently asked questions. If you can't find the answer for your question, you should ask it through one of the [support channels](/support-and-assistance). | ||
|
||
<table-of-contents></table-of-contents> | ||
|
||
### I've got a problem with the TMC plugin | ||
|
||
Make sure you've got the newest version of the TMC plugin by clicking `Help` -> `Check for Updates` on the top bar of Netbeans. | ||
|
||
If you can't make it work, come to the workshops and we'll help you :) | ||
|
||
### Netbeans freezes when the feedback window opens | ||
|
||
This problem shouldn't be present in the newer version of the plugin. You can download it at `Help` -> `Check for updates` and following the instructions. | ||
|
||
### I think one of the programming exercises has a bug | ||
|
||
Please make sure the bug is not in your code. You may ask for help to spot a possible bug from one of the course's [support channels](/support-and-assistance). You can also test if there's an update to the exercise in NetBeans by selecting TMC --> Download or update exercises from NetBeans' navigation bar. If the problem still persists, please open a new discussion thread in the course's Moodle-forum where the course assistants can see what's wrong with the exercise and fix the issue. | ||
|
||
### I found an error in the material | ||
|
||
Please open a new discussion thread in the course's Moodle-forum regarding the error you found. | ||
|
||
If you are able to fix the error yourself, for example if it's a typing error, you can open a pull request in the course material's Github repository: https://github.com/rage/java-programming-fall-19 | ||
|
||
|
||
### Doing the exercises and returning them is slow on macOS | ||
|
||
Follow these instructions to fix the issue: https://materiaalit.github.io/tmc-asennus/macos-verkkoongelma/. | ||
|
||
If it doesn't help, try changing the proxy setting on Netbeans to "no proxy". | ||
|
||
### The installer of Netbeans is not opening on macOS | ||
|
||
Try clicking the installer with the right button of the mouse and then choose "Open". | ||
|
||
### the tests of part are not working on my mac | ||
|
||
Check these instructions: [macOS ohjeet](/macos-ohjeet) | ||
|
||
### while running the tests, I get an error about JAVA_HOME | ||
|
||
Follow these instructions: [https://materiaalit.github.io/tmc-asennus/java_home_not_found/](https://materiaalit.github.io/tmc-asennus/java_home_not_found/). | ||
|
||
### Netbeans or its installer doesn't open, or looks odd when opening | ||
|
||
Make sure you have Java Development Kit (JDK) version 8 installed. The environment used on this course doesn't work properly with newer versions of Java. If you have a problem with this, try removing the newer versions of Java on your computer, and then install "Netbeans with TMC" again. | ||
|
||
### The buttons to run and to send to the server on Netbeans are gray | ||
|
||
This usually indicates either passed deadline or wrong course being selected in `TMC` -> `Settings`. | ||
|
||
### I want to apply for study right through the programming mooc. Is this the right course? | ||
|
||
No, you cannot apply for the study right based on this course. | ||
|
||
### Encountering 'Cannot run program "cmd"' when doing programming exercises | ||
|
||
The issue is probably due to an error with very recent Java 8 JDK versions. See the [Installation guide](https://www.mooc.fi/en/installation/netbeans) for specifics and solutions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.41 KB
...diagrams/part4.1-classdiagram-person-name-age-constructor-print-grow-return.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.64 KB
data/img/diagrams/part4.1-classdiagram-person-name-age-constructor-print-grow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.57 KB
data/img/diagrams/part4.1-classdiagram-person-name-age-constructor-print.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.45 KB
data/img/diagrams/part4.1-classdiagram-person-name-age-constructor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,46 @@ | ||
--- | ||
path: "/macos-ohjeet" | ||
title: "macOS ohjeet" | ||
hidden: false | ||
hidden: true | ||
information_page: true | ||
--- | ||
|
||
## Käyttöliittymätestit | ||
<!-- ## Käyttöliittymätestit --> | ||
## User interface tests | ||
|
||
Osa käyttöliittymätesteistä odottaa, että NetBeans/tmcbeans saa siirtää hiiren kursoria näytöllä, esimerkiksi testatakseen tehtävässä tehdyn käyttöliittymän nappuloita. macOS ei oletuksena salli turvasyistä ohjelmia siirtämään hiirtä, joten tmcbeans:lle pitää käydä lisäämässä oikeus tätä varten. | ||
<!-- Osa käyttöliittymätesteistä odottaa, että NetBeans/tmcbeans saa siirtää hiiren kursoria näytöllä, esimerkiksi testatakseen tehtävässä tehdyn käyttöliittymän nappuloita. macOS ei oletuksena salli turvasyistä ohjelmia siirtämään hiirtä, joten tmcbeans:lle pitää käydä lisäämässä oikeus tätä varten. --> | ||
Some of the user interface tests expect that Netbeans/tmcbeans is allowed to move the mouse cursor on the screen. For example to test the buttons in the UI that are created in the exercise. MacOS does not allow this because of the security concerns. This is why tmcbeans has to be given the permission manually. | ||
|
||
Oikeuden voi lisätä seuraavasti: | ||
|
||
1. Avaa ensin System Preferences. Voit avata sen esimerkiksi hakemalla Spotlight:sta (suurennuslasikuvake oikeassa yläkulmassa) system preferences, ja avaamalla sieltä System Preferences.app. | ||
|
||
<!-- Oikeuden voi lisätä seuraavasti: --> | ||
The permission can be added as follows: | ||
|
||
<!-- 1. Avaa ensin System Preferences. Voit avata sen esimerkiksi hakemalla Spotlight:sta (suurennuslasikuvake oikeassa yläkulmassa) system preferences, ja avaamalla sieltä System Preferences.app. --> | ||
1. Open the `System Preferences`. You can open it from example by searching from Spotlight (magnifying glass on the upper right corner) by keyword _System Preferences_ and by opening the `System Preferences.app`. | ||
|
||
![spotlight haku](./img/macos-guide/search_system_preferences.png) | ||
2. Paina avautuvassa näkymässä yläriviltä löytyvää Security & Privacy. | ||
![system preferences näkymä](./img/macos-guide/system_preferences.png) | ||
3. Navigoi näkymässä Privacy-välilehdelle ja siellä Accessibility -osioon. | ||
![privacy-->accessibility näkymä](./img/macos-guide/navigation.png) | ||
4. Paina vasemmasta alakulmasta "Click the lock to make changes." Username-kentässä pitäisi lukea automaattisesti tietokoneesi käyttäjätunnus. Syötä se, jos se puuttuu. Syötä salasanasi Password-kenttään ja paina Unlock. | ||
![salasanansyöttämisnäkymä](./img/macos-guide/open-lock.png) | ||
7. Paina nyt plus-kuvaketta. Navigoi avautuvassa näkymässä siihen kansioon, mihin tmcbeans on asennettuna koneellasi. Valitse tmcbeans.app ja paina Open. | ||
![Finder-hakemisto, jossa navigoitu tmcbeansiin](./img/macos-guide/add_tmcbeans.png) | ||
![accessibility-näkymä, johon on lisätty tmcbeans](./img/macos-guide/tmcbeans_added.png) | ||
9. Paina vasemmasta alakulmasta "Click the lock to prevent further changes." | ||
![accessibility-näkymä, johon ei voi tehdä enää muutoksia](./img/macos-guide/done.png) | ||
|
||
Nyt tmcbeans pitäisi pystyä siirtämään hiirtä testien ajossa. Huomaathan, että et saa samanaikaisesti siirtää itse hiirtä tai availla ikkunoita, kun testit pyörivät. Testien pitää saada rauhassa navigoida yksin näytöllä, jotta ne testaavat oikein ohjelmasi toimintaa. | ||
|
||
<!-- 2. Paina avautuvassa näkymässä yläriviltä löytyvää Security & Privacy. | ||
![system preferences näkymä](./img/macos-guide/system_preferences.png) --> | ||
2. Press the `Security & Privacy` from the opened menu. | ||
|
||
<!-- 3. Navigoi näkymässä Privacy-välilehdelle ja siellä Accessibility -osioon. | ||
![privacy2accessibility näkymä](./img/macos-guide/navigation.png) --> | ||
3. From there navigate to `Privacy` tab and from there to `Accessability section`. | ||
|
||
<!-- 4. Paina vasemmasta alakulmasta "Click the lock to make changes." Username-kentässä pitäisi lukea automaattisesti tietokoneesi käyttäjätunnus. Syötä se, jos se puuttuu. Syötä salasanasi Password-kenttään ja paina Unlock. | ||
![salasanansyöttämisnäkymä](./img/macos-guide/open-lock.png) --> | ||
4. Press from the lower left corner "Click the lock to make changes.". In the username field there should be the name of your computer. Write if it's not there. Give your password in the password field and click Unlock. | ||
|
||
<!-- 7. Paina nyt plus-kuvaketta. Navigoi avautuvassa näkymässä siihen kansioon, mihin tmcbeans on asennettuna koneellasi. Valitse tmcbeans.app ja paina Open. --> | ||
7. Click the plus-icon. Navigate to the folder where your tmcbeans is installed. Select tmcbeans.app and click Open. | ||
![Finder navigated to the tmcbeans](./img/macos-guide/add_tmcbeans.png) | ||
![accessibility-view with tmcbeans added](./img/macos-guide/tmcbeans_added.png) | ||
|
||
<!-- 9. Paina vasemmasta alakulmasta "Click the lock to prevent further changes." --> | ||
9. In the lower left corner, click "Click the lock to prevent further changes." | ||
![accessibility-view, that doesn't allow more modifications](./img/macos-guide/done.png) | ||
|
||
<!-- Nyt tmcbeans pitäisi pystyä siirtämään hiirtä testien ajossa. Huomaathan, että et saa samanaikaisesti siirtää itse hiirtä tai availla ikkunoita, kun testit pyörivät. Testien pitää saada rauhassa navigoida yksin näytöllä, jotta ne testaavat oikein ohjelmasi toimintaa. --> | ||
Now your tmcbeans should be able to move your mouse cursor during the execution of tests. Note that you may not be allowed to move your cursor or open windows during the tests. Tests should be allowed to run without interference in order for them to work correctly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.