The problem of converting GUI programs from Java to Python

Thesis title: Problematika převodu programů s GUI z Javy do Pythonu
Author: Lampa, Jan
Thesis type: Bakalářská práce
Supervisor: Pecinovský, Rudolf
Opponents: Oraný, Vladimír
Thesis language: Česky
Abstract:
Problematikou této práce je převod GUI programů ze standardní grafické knihovny Swing programovacího jazyka Java do standardní grafické knihovny Tkinter programovacího jazyka Python. Cílem této bakalářské práce v teoretické části práce je o základní analýza rozdílů mezi programovacími jazyky Python a Java, analyzování rozdíly mezi zabudovanými knihovnami pro podporu GUI v Javě (Swing) a Pythonu (Tkinter). Naopak v praktické části je cílem převést podpůrnou knihovnu Robot, převést jádro podpůrné knihovny „Shapes“ používané v učebnicích Javy které jsou v seznamu literatury. Dále také převést jednoduché GUI vytvářené v předmětu 4IT115 do Pythonu. Převod je znázorněn v praktické části této bakalářské práce. Postupně je v práci ukazován kódu v Javě a následují postupné ukázky převodu kódu v Javě do Pythonu. V této části se práce soustředí pouze na použití grafických knihoven. Vedle textu této práce, práce obsahuje doprovodný zdrojový kód v Pythonu. Tento zdrojový kód obsahuje jednotlivé programy o, kterých je napsáno v praktické práci. Zdrojový kód je odevzdán spolu s touto prací. Tato práce také slouží také jako kuchařka, nebo tutoriál na výuku převodu GUI z Javy do Pythonu.
Keywords: Java; Python; Tkinter; Swing; OOP
Thesis title: The problem of converting GUI programs from Java to Python
Author: Lampa, Jan
Thesis type: Bachelor thesis
Supervisor: Pecinovský, Rudolf
Opponents: Oraný, Vladimír
Thesis language: Česky
Abstract:
The problem of this thesis is the conversion of GUI programs from the standard graphical library Swing of the Java programming language to the standard graphical library Tkinter for the Python programming language. The aim of this bachelor thesis in the theoretical part of the thesis is about the basic analysis of the differences between the Python and Java programming languages, analyzing the differences between the built-in libraries for GUI support in Java (Swing) and Python (Tkinter). On the other hand, in the practical part, the aim is to convert the Robot support library, to convert the core support library "Shapes" used in Java textbooks which are in the literature list. Furthermore, also convert a simple GUI created in the 4IT115 course to Python. The conversion is illustrated in the practical part of this bachelor thesis. In this thesis, the Java code is shown in sequence followed by step-by-step examples of converting Java code to Python. In this part, the thesis concentrates only on the use of graphical libraries. In addition to the text of this thesis, the thesis contains accompanying Python source code. This source code contains the individual programs written about in the practical work. The source code is submitted with this thesis. This thesis also serves as a cookbook or tutorial for learning how to convert a GUI from Java to Python.
Keywords: Python; Swing; Tkinter; Java; OOP

Information about study

Study programme: Aplikovaná informatika/Aplikovaná informatika
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Information Technologies

Information on submission and defense

Date of assignment: 6. 1. 2021
Date of submission: 13. 12. 2021
Date of defense: 24. 1. 2022
Identifier in the InSIS system: https://insis.vse.cz/zp/75669/podrobnosti

Files for download

    Last update: