Intro to Layout Managers

We’ve been using the null layout manager, in our previous examples of Java Swing. This is sometimes referenced as an absolute positioning layout, because we are required to control how the items are laid out and where. We do this with setBounds() or another method which allows us to define both the size of the…

An Introduction to GUI Design in Java

In early versions of Java, there was a GUI (Graphical User Interface) measure using AWT (Abstract Windowing Toolkit). However, it was quickly replaced with Swing, part of the JFC (Java Foundation Classes) for a couple of reasons. Java Foundation Classes (JFC) are a set of GUI components which simplify the development of desktop applications. Java…