For my first-year Computer Science module on Object-Oriented Programming, a Java program was commissioned for QUB's fictitious photography department. The program, developed using Eclipse, manages a collection of 10+ images across various genres to create albums for display purposes.
- Utility Classes: Five utility classes for image metadata, image album, image manager, genre enumeration, and a console-based menu.
- Application Class: Integrates menu and image manager instances.
- Image Management: Capable of interacting with and managing images from specific albums (in this case, the Images folder).
Running the Program (Utilising the Console): Executed by running QUBMediaImages.java
. Here, I'm demonstrating searching for an image by its ID.
QUBMediaImages.java
(Application Class)
-
I recommend downloading the Eclipse IDE, as this project was built using it.
- Note: The code will work with other IDEs and source-code editors such as Visual Studio Code and IntelliJ IDEA. However, the images will not be displayed. I am unsure of the cause, as it works as intended in Eclipse.
-
Download the latest source code.
-
Create a new folder.
-
Extract the zipped file's contents into the folder.
-
Import the Java project:
-
There should be two folders inside the
src
folder,part01
andpart02
.part01
utilises the integrated console/terminal of the IDE, executed by runningQUBImages.java
.- Note: The images will not be displayed. This is intentional.
part02
utilises the external console (lib\console.jar
), executed by runningQUBMediaImages.java
.- Note: You may need to reconfigure
console.jar
for your build path.
- Note: You may need to reconfigure