Institute of Computer Science
  1. Courses
  2. 2022/23 fall
  3. Concurrent Programming Languages (LTAT.06.022)
ET
Log in

Concurrent Programming Languages 2022/23 fall

  • Pealeht
  • Loengud
  • Labs
  • Viited
  • Homework

CompletableFutures

Write a small GUI program which allows the user to enter a URL and hit a button. The program will then in the background fetch the HTML code from the URL and display it in the GUI. This should not block the user interface. For fetching the page, supplyAsync is an option. thenAccept could be used to update the GUI. For a GUI, Swing is the standard choice for Java. Hint: Have a look at this for issues to watch out for when updating a swing GUI.

Akka

Following this tutorial, let's try to get Akka installed and working.

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment