Building with a Layout Manager

Similar Posts

  • Importing a Package

    Importing a package allows me to import a class, or set of classes into my application that I can use. (These will be outside of the package that I create for my own project.) These packages act like libraries in other languages where a lot of work might be done for you already, and you…

  • Java Interfaces

    A Java Interface, as first glance, may look similar to a class. However, there are important differences, not only in how it is used, but in defining it from a class that make it worth noting. Uses of an Interface Java prevents a developer from extending a Class with two or more classes. This is…

  • Java IO Streams

    Java IO Streams represent either an input source, or an output destination where you are trying to send receive/data. This can be to a console window, reading a file from a disk (or SSD), network communication, etc. Java uses the concept of IO streams, and how to handle them, almost identically between all sources. This…

  • 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…