B.5. com.samscdrental.display Package

These are the graphical user interface (GUI) display classes.

B.5.1. CheckinDialog.java

public class CheckinDialog
    extends JDialog
    {
    void DoneButton_actionPerformed( ActionEvent e )
    void CancelButton_actionPerformed( ActionEvent e )
    // Other GUI related methods

    }

B.5.2. CheckoutDialog.java

public class CheckoutDialog
    extends JDialog
    {
    void DoneButton_actionPerformed( ActionEvent e )
    void CancelButton_actionPerformed( ActionEvent e )
    // Other GUI related methods

    }

B.5.3. DisplayHelper.java

public class DisplayHelper
    {
    public static void displayError( Component component, String text )
    public static void displayMessage( String text )

    }

B.5.4. Main.java

public class Main
    {
    public static void main( String[] args )
    }

B.5.5. MainFrame.java

public class MainFrame
    extends JFrame
    {
    void checkoutButton_actionPerformed( ActionEvent e )
    void checkinButton_actionPerformed( ActionEvent e )
    // Other GUI related methods

    }

Get Prefactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.