Tải bản đầy đủ (.pdf) (1 trang)

Distributed Computing in Java - Swing components and Dialog Box doc

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (40.97 KB, 1 trang )

Distributed Computing in Java Assignments
© 2007 Aptech Ltd Version 1.0 Page 1 of 1
S
S
w
w
i
i
n
n
g
g


c
c
o
o
m
m
p
p
o
o
n
n
e
e
n
n
t


t
s
s


a
a
n
n
d
d


D
D
i
i
a
a
l
l
o
o
g
g


B
B
o

o
x
x





Sr.
No.
Assignment Question
1 Create an application using Swing components to display a date in a label. The
complete date will comprise the day, month, date and year. However, the
elements date, month, and year will be accepted through three sliders
respectively. In other words, any change in the sliders will reflect the new date
in the label. Note, that the day(Monday, Tuesday, etc) is computed based on the

date selected through the sliders. The interface of the application should
resemble the following:




×