Homework 4 - Tonnius/Tiim14-50 GitHub Wiki
Eclipse debugger
-
Name at least one method, where a breakpoint will stop the application execution right after pressing the "New purchase" button.
-
The method newPurchaseButtonClicked() in PurchaseTab class.
-
-
Name a method, where a breakpoint will stop the application execution right after pressing the "Confirm" button (during confirming the order).
-
The method submitPurchaseButtonClicked in PurchaseTab class.
-
-
List the subclasses of the java.awt.Container class, which regularly call doLayout() method (if you randomly use the application, Hint: put the breakpoint to the method Container#doLayout())
-
java.awt.Container subclasses: Dialog, FileDialog, Frame, Panel, ScrollPane, Window
-
-
How many times the constructor new String() (without argument) in the class java.lang.String is used after pressing the New purchase button.
-
Three times.
-
-
How many times the constructor new JPanel() (without argument) in the class javax.swing.JPanel is used after pressing the New purchase button.
-
None.
-