CST338 - Week 13
- YZ

- Apr 7, 2020
- 1 min read
GUI is learned late in the game with Java. Do you think this is helpful or harmful and why?
I think that it is helpful to learn GUI late in the game. It's important to first understand the language fully, focus on the basics, and build on that foundation. Once one has a clear understanding of object-oriented programming in the Java language, it will be easier to advance to learning GUI programming, which is also object-oriented.
Why do think that coding the Swing elements in Java would be more difficult compared to some other languages?
I don't have so much experience with other languages, but I would assume that the object-oriented nature of Java would add to the difficulty of coding Swing elements. Additionally, according to some quick research, Java's GUI programming with the Swing elements has a lot fewer features than other languages.
GUI "Low Card" Game

This week, our assignment was to create a game using GUI programming. In the game, low card, the computer and user each play a card and the one who played the lower card wins and takes both. We had to program how the window would be set up, as well as how the game would work. The challenges this week were that there were so many different parts that had to be worked on and brought together for the final product and that it was my first time using GUI programming and there were a lot of new things to learn. Upon completion, it was a very cool feeling to know that I had collaborated with my teammates to create a game that people can play!



Comments