Skip to Main Content
Prefactoring
book

Prefactoring

by Ken Pugh
September 2005
Intermediate to advanced content levelIntermediate to advanced
240 pages
6h 28m
English
O'Reilly Media, Inc.
Content preview from Prefactoring

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

    }
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Understanding Unittest.Mock

Understanding Unittest.Mock

Mario Corchero
Java™ Performance

Java™ Performance

Charlie Hunt, Binu John

Publisher Resources

ISBN: 0596008740Supplemental ContentCatalog PageErrata