Skip to content

Notes on Java Swing

LukeGall edited this page Oct 30, 2020 · 1 revision

Notes on Java Swing

These notes were made while looking up the suitability of Swing as the main framework for creating the virtual Turing Tumble

  • For java swing, intellij has a swing Ui designer which can be used to automatically add different components to the app without needing to code from scratch

  • Has a main JFrame which will seems to act as the main desktop app panel that buttons, etc can be placed in.

  • Hovering over the components in Intellj doesn't give too much information into what they actually do are why we need them. Could be someone to focus on improving.

  • The Java swing API has it's main super class as a Component (Object is above this like every java class). It can then be a Container or JComponent. Where a container is either a window or a panel, and the

  • Components are labels, lists, tables etc.

  • Swing isn't really designed for animations, java fx is recommended instead

Clone this wiki locally