One of the very first projects from my university studies, this one always reminds me of the excitement I felt each time I managed to cut down a line or two from the code. I also take pride in the optimizations I made to ensure it ran smoothly and error-free.
This was also my first project incorporating a GUI, as most of my previous programs only output results to the console. I really enjoyed designing the interface, from aligning buttons and textboxes to specific pixels to making them interactive and responsive to user input.
One of the biggest challenges I faced was with the 'Store Stock' items ordering feature. When the application first runs, all the items in the 'Store Stock' list are displayed in a fixed order, each with its own stock amount. If a user exhausts the stock of an item (for example, by adding all of that item to their cart), it disappears from the list. Normally, when the user removes that item from their cart, the item would reappear at the end of the 'Store Stock' list. However, I was able to ensure that the item reappeared in its original spot rather than at the end.
At the time, I was very proud of finding a solution to this issue. Now, with more experience, it seems less daunting, but it was a defining moment that solidified my passion for Computer Science.