From 0011b3e5989a1ebe60279583c38e7e4e9a808da4 Mon Sep 17 00:00:00 2001 From: Rajpal Singh Date: Fri, 27 Oct 2017 13:57:49 +0000 Subject: [PATCH] Update CalculatorFrame.java about awt and swing packages used in program --- Lesson01/src/lesson01/exam01/CalculatorFrame.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lesson01/src/lesson01/exam01/CalculatorFrame.java b/Lesson01/src/lesson01/exam01/CalculatorFrame.java index 7f1eae7..097d35f 100644 --- a/Lesson01/src/lesson01/exam01/CalculatorFrame.java +++ b/Lesson01/src/lesson01/exam01/CalculatorFrame.java @@ -1,10 +1,15 @@ package lesson01.exam01; +#A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components. import java.awt.Container; +#Dimension class encapsulates the width and height of a component import java.awt.Dimension; +#A semantic event which indicates that a component-defined action occurred. import java.awt.event.ActionEvent; +#listener interface for receiving action events. import java.awt.event.ActionListener; +#swing components import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton;