Description Lectures Exercises Project


On this page, all the exercises will be posted the day of the course.

If you have an error after opening a Netbeans project, i.e., system files are not recognized and highlighted in red, you can use the command dot_clean netbeansprojectpath in a terminal to delete these generated files.

Helpful Java moocs online:

Java Programming – Solving problems with software

Java for android


Java programming quick lookup

Books: Teach yourself java in 21 days

Exercise 1 (21th September 2018) – Becoming familiar with lab & tool: Netbeans discovery

  1. Login: you should use your HEC username/password to login to FAME machines. If you do not know what is your HEC account or if you do not have a HEC account please follow the instructions in this link and create an account as soon as possible. While waiting for your HEC account to be created, you can use the “guest” account which does not have any password.
  2. How to use NetBeans IDE to write, run, and deploy a Java application: check this tutorial.

IMPORTANT: if you have any problem to create your HEC account or to login to FAME machines, please contact:

How to use NetBeans GUI builder

  1. In this exercise, you learn how to create a simple calculator (that only adds two input numbers) using Netbeans GUI builder. Before starting the exercise, make sure that you know the basic principles of Java Swing programming.
  2. Follow this tutorial to learn how to create a simple calculator using Netbeans GUI builder.
  3. If you have difficulties to use Netbeans GUI builder or if you need a more comprehensive guide to the GUI Builder’s design features, see this link .

Exercise 2 (28th September 2018) ids-exercise-2-rmi

Solution: ids-exercise-2-rmi-solution

Exercise 3 (5th October 2018) – ids-exercise-3-concurrent-programming

Solution: ids-exercise-3-concurrent-programming-solution

Exercise 4 (12th October 2018) – exercise-4-network-programming-udp and exercise-5-network-programming-tcp

Solutions: exercise-4-network-programming-udp-solution + exercise-5-network-programming-tcp-solution

Exercise 5 – The goal of this exercise is to create a TO-DO list application by following the tutorial of this document: start-developing-ios-apps-todo-list

Solution: todolist

Introduction to Android Studio and xcode, Solutions

Introduction to Netbeans with Glassfish server, Solution

Tutorials for iOS programming in Swift:

  1. Tutorial 1
  2. Tutorial 2

Tutorial Networking