
J
Ja
av
va
a
P
Pr
ro
og
gr
ra
am
mm
mi
in
ng
g
D
Da
ay
y-
-0
05
5
E
Ex
xe
er
rc
ci
is
se
e-
-0
01
1
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y1
1
1.
.
.
Create the programs you learnt today using the code given in the slides
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y2
2
2.
.
.
Try different methods given in the slides
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y3
3
3.
.
.
Try different constructors given in the slides
Do not use JBuilder Design Tool for these activities
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y4
4
4.
.
.
Re-design the calculator using grid layout
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y5
5
5.
.
.
Re-design the calculator using two panels as follows
Create an applet
Create two panel object
Set layout of your applet to BorderLayout
Set layout of panel1 to BorderLayout
Set Layout of panet2 to Grid Layout
Create a text field and add it to panel1 in center
Create buttons for calculator and add to the panel2
Add panel1 to your applet in north
Add panel2 to your applet in center
Compile and view the results
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y6
6
6.
.
.
Re-design your calculator using null layout
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y7
7
7.
.
.
Repeat activities 1-5 using JBuilder design tool
Do not use JBuilder design tool for the following activities
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y8
8
8.
.
.
Create a simple application from the code given in the slide, try both of the methods
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y9
9
9.
.
.
Set the layout of your frame and add few components, follow the steps that you
followed for adding components in an applet
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y1
1
10
0
0.
.
.
Try various layout and components
A
A
Ac
c
ct
t
ti
i
iv
v
vi
i
it
t
ty
y
y1
1
11
1
1.
.
.
Use JBuilder design tool to re-create your application