abdullah's picture
Add files using upload-large-folder tool
208a460 verified
raw
history blame
60.6 kB
1
00:00:20,690 --> 00:00:22,570
ุจุณู… ุงู„ู„ู‡ ูˆุงู„ุญู…ุฏ ู„ู„ู‡ ูˆุงู„ุตู„ุงุฉ ูˆุงู„ุณู„ุงู… ุนู„ู‰ ุฑุณูˆู„ ุงู„ู„ู‡
2
00:00:22,570 --> 00:00:28,150
ุงู„ูŠูˆู… ุฅู† ุดุงุก ุงู„ู„ู‡ ุจู†ุงุช ู‡ู†ุชู‚ู„ ุจุนุฏ ุงู„ู€ design ู„ู„ู€ form
3
00:00:28,150 --> 00:00:31,990
ุงู„ู„ูŠ ุนู†ุฏู†ุง ุจุงู„ู€ Java ู‡ู†ุจุฏุฃ ู†ุชูƒู„ู… ุนู„ู‰ ุงู„ู€ action ุฃูˆ
4
00:00:31,990 --> 00:00:35,890
ุงู„ู€ event handling ุนุดุงู† ุฃู‚ุฏุฑ ูŠุตูŠุฑ ููŠ interaction
5
00:00:35,890 --> 00:00:39,590
ุญู‚ูŠู‚ูŠ ู…ุง ุจูŠู† ุงู„ู€ application ุชุจุนู†ุง ุงู„ู„ูŠ ู‡ูˆ
6
00:00:39,590 --> 00:00:42,430
graphical user interface application ูˆ ุงู„ู€ end user
7
00:00:42,430 --> 00:00:47,010
ู„ุงุฒู… ูŠูƒูˆู† ููŠ ุนู†ุฏูŠ event handling ู„ุฃู† ุฅุญู†ุง ุฃุถูู†ุง
8
00:00:49,390 --> 00:00:55,710
ูƒูˆู…ุจูˆ ุจูˆูƒุณ ูˆุฃุถูู†ุง button ู„ูƒู† ู„ูˆ ุฅุฌุง ุงู„ู€ user ูˆุถู„
9
00:00:55,710 --> 00:00:58,830
ูŠุถุบุท ุนู„ู‰ ุงู„ู€ button ู‡ุฐุง ู…ู† ู‡ู†ุง ู„ู…ุง ูŠู†ูƒุณุฑ ุงู„ู…ุงูˆุณ
10
00:00:58,830 --> 00:01:03,390
ู…ุนุงู‡ ู…ุด ู‡ูŠูƒูˆู† ููŠ action ู…ุด ู‡ูŠุชุจุน ุนู„ู‰ ุงู„ุถุบุท ุนู„ู‰ ุงู„ู€
11
00:01:03,390 --> 00:01:07,250
button ู‡ู†ุง ุฃูŠ ุดุบู„ุฉ ูƒุฐู„ูƒ ู„ูˆ ุงุฎุชุงุฑ ุฃูŠ ุนู†ุตุฑ ู…ู†
12
00:01:07,250 --> 00:01:10,330
ุงู„ู‚ุงุฆู…ุฉ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏู‡ุง ุจุฑุถู‡ ู…ุด ู‡ูŠูƒูˆู† ููŠ action
13
00:01:10,330 --> 00:01:13,210
ู„ุฃู†ู‡ ูุนู„ูŠู‹ุง ุฃู†ุง ู…ุง ุชูƒู„ู…ุช ุนู„ู‰ ุงู„ู€ event handling ู„ุญุฏ
14
00:01:13,210 --> 00:01:17,810
ุงู„ู„ุญุธุฉ ุงู„ูŠูˆู… ุฅู† ุดุงุก ุงู„ู„ู‡ ุจุฏู†ุง ู†ุจุฏุฃ ู†ุชูƒู„ู… ุนู„ู‰ event
15
00:01:17,810 --> 00:01:21,670
handling ู…ู‡ู… ุฌุฏุง ู…ู† ุงู„ุจุฏุงูŠุฉ ุฃู† ุฃูู‡ู… ุฃู† ุฃู†ุง ุจุชูƒู„ู…
16
00:01:21,670 --> 00:01:25,130
ุนู„ู‰ event ุจุชูƒู„ู… ุนู„ู‰ event ุฅูŠุด ุงู„ู€ eventุŸ ู‡ูˆ ุนุจุงุฑุฉ
17
00:01:25,130 --> 00:01:28,870
ุนู† ุญุฏุซ ุชู…ุงู…ุŸ ุฃูˆ ุงู„ู€ action ู…ุง ุจูŠู† ุงู„ู€ end user ูˆ ุงู„ู€
18
00:01:28,870 --> 00:01:31,690
application ุชุจุนูŠ ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ ู„ู…ุง ูƒุงู† ููŠ ุนู†ุฏ
19
00:01:31,690 --> 00:01:35,550
ุงู„ู€ button ู‡ุฐุง ูˆ ุฃู†ุง ุฃุณุชุนุฏ ุงู„ุดูƒู„ ููŠ ู…ุญูŠู‡ ุงู„ู€ button ู„ูˆ ุงุฌุง
20
00:01:35,550 --> 00:01:40,230
ุงู„ู€ user ุจุงู„ู€ mouse ูˆุนู…ู„ click ู„ู…ุง ุตุงุฑ ููŠ ุนู†ุฏูŠ event
21
00:01:40,230 --> 00:01:45,570
ุตุงุฑ ููŠ action ุงู„ู€ user ุฃุฎุฐ action ู…ุน ุงู„ู€ application
22
00:01:45,570 --> 00:01:51,130
ุงู„ู„ูŠ ุนู†ุฏูŠ ูุนู…ู„ click ุจุงู„ู€ mouse ู„ุฃู† ุงู„ุถุบุทุฉ ู‡ุฐู‡ ุนู…ู„ุช
23
00:01:51,130 --> 00:01:56,630
ุงู„ู€ release ู„ุดุบู„ ุงุณู…ู‡ุง event object ุงู„ู€
24
00:01:56,630 --> 00:02:00,810
click ุชุจุนุชูŠ ู‡ุฐู‡ ุนู…ู„ุช release ู„ู€ event object ุชู…ุงู…ุง
25
00:02:00,810 --> 00:02:04,850
ุฒูŠ ู…ุง ูƒู†ุง ู†ุชูƒู„ู… ู…ุน ุงู„ู€ exception handling ุฌูŠุช ุฃู†ุง ูˆ
26
00:02:04,850 --> 00:02:10,110
ู‚ู„ุช ู„ู‡ integer x ุจุฏู‡ุง ุชุณุงูˆูŠ ุนุดุฑุฉ ุนู„ู‰ ุตูุฑ
27
00:02:13,880 --> 00:02:17,400
arithmetic exception ู†ุนู…ู„ู‡ release ู…ูŠู† ุงู„ู„ูŠ ุนู…ู„ู‡
28
00:02:17,400 --> 00:02:20,900
releaseุŸ ุงู„ู€ system ุฑุงุญ ุนู…ู„ู‡ release ุจุธุจุทุŸ ู„ู…ุง ู‚ุฏุฑ
29
00:02:20,900 --> 00:02:23,560
ูŠุนู…ู„ execution ู„ูƒ ุนู†ุฏูŠ ุฎุทุฃ ูุนู…ู„ release ู„ู„ู€
30
00:02:23,560 --> 00:02:28,610
exception event ู„ู„ู€ exception object ุงู„ุขู† ุฃู†ุช ู…ู‡ูŠุฆุฉ
31
00:02:28,610 --> 00:02:31,610
ุงู„ู€ system ู…ู† ุฎู„ุงู„ ุงู„ู€ try ูˆ ุงู„ู€ catch ุฃู†ู‡ ูŠุนู…ู„
32
00:02:31,610 --> 00:02:35,390
execution ุฅุฐุง ุฃู†ุช ุญู‚ ุงู„ู…ูŠุซูˆุฏ ู‡ุฐู‡ ุฃูˆ ุงู„ูƒูˆุฏ ู‡ุฐุง ุถู…ู†
33
00:02:35,390 --> 00:02:38,410
ุงู„ู€ try ูŠุนู†ูŠ ุฃู†ุช ู‚ุงุนุฏ ุจุชุฑุงู‚ุจ ุงู„ู€ event ุงู„ู„ูŠ ุจุฏูˆ
34
00:02:38,410 --> 00:02:42,590
ูŠุทู„ุนุŒ ู…ุตุจูˆุทุŸ ูŠุนู†ูŠ ุงู„ู€ try ู‡ูŠ ุงู„ู…ุฑุงู‚ุจ ูˆู…ุณูƒุฉ ุงู„ู€ event
35
00:02:42,590 --> 00:02:48,670
ูˆ ุฌุงู„ุณุฉ ู„ู„ู€ catch ุชูุถู„ูŠุŒ ู‡ุงูŠ ุงู„ู€ catch ูุญุงุตูŠู„ู†ุง ุงู„ู€
36
00:02:48,670 --> 00:02:51,610
exception ู‡ุฐุง object ุจุชู‚ุฏุฑ ุชุชุนุงู…ู„ูŠ ู…ุนุงู‡ ูˆู„ุง
37
00:02:51,610 --> 00:02:56,220
ู…ุง ุชู‚ุฏุฑูŠุด ูุงู„ู€ catch ุฅุฐุง ูƒุงู†ุช ู…ูˆุฌูˆุฏุฉ ุงู„ู…ุนุฑูุฉ ุชุจู‚ู‰ ู„ู„ู€
38
00:02:56,220 --> 00:03:01,060
exception object ุงู„ู„ูŠ ู‡ูŠ ุจุชุนู…ู„ execution otherwise
39
00:03:01,060 --> 00:03:05,060
ุงู„ู€ system ุจุฑุถู‡ ู‡ูŠุนู…ู„ fault ูˆ ู‡ูŠุทู„ุน ู‡ุงู† ู†ูุณ ุงู„ูƒู„ุงู…
40
00:03:05,060 --> 00:03:11,190
ุจุณ ุจุตูˆุฑุฉ ุชุงู†ูŠุฉ ุฃู†ู‡ ุฃู†ุง ุงู„ุขู† ู„ู…ุง ุงู„ู€ user ุจุฎุชุงุฑ ุฃูˆ
41
00:03:11,190 --> 00:03:14,410
ุจุชูุงุนู„ ู…ุน ุงู„ู€ system ุฃูˆ ู…ุน ุงู„ู€ application ุชุจุนูŠ ุงู„ู€
42
00:03:14,410 --> 00:03:16,590
interface ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ููŠ ุงู„ู€ application ุชุจุนูŠ ุจูŠุตูŠุฑ
43
00:03:16,590 --> 00:03:20,930
ููŠ ุนู†ุฏูŠ release ู„ู€ object ุจูŠุตูŠุฑ ููŠ ุนู†ุฏูŠ release ู„ู€
44
00:03:20,930 --> 00:03:24,590
object ู…ู† ู†ูˆุน event ูˆ ุงู„ู€ event ู‡ุฐุง ุฃู†ุง ุจุฏูŠ ุฃุชุนุงู…ู„
45
00:03:24,590 --> 00:03:31,130
ู…ุนุงู‡ ุญุณุจ ุงู„ุญุงุฌุฉ ุงู„ู„ูŠ ุจุชู‚ุชุถูŠู‡ุง ุงู„ุฃู…ูˆุฑ ุงู„ุขู† ูˆุจุงู„ุชุงู„ูŠ
46
00:03:31,130 --> 00:03:38,230
ุฑูˆุญ ุงู„ุจุฑู†ุงู…ุฌ ุชุจุนูŠ ููŠ ุงู„ู€ Event Handling ุฃู†ุง ุนู…ู„ุชู‡
47
00:03:38,230 --> 00:03:41,070
ู„ู‡ Design ู„ูƒู† ู…ุง ููŠุด Interaction ุงู„ุขู† ุจุฏูŠ ุฃุชูƒู„ู… ุนู„ู‰
48
00:03:41,070 --> 00:03:45,030
ุงู„ู€ Interaction ุงู„ุญู‚ูŠู‚ูŠ ุงู„ู€ End User ุนุงุฏุฉ ู…ุง
49
00:03:45,030 --> 00:03:50,090
ุจูŠุชุณู„ุญ ุจุงู„ูƒูŠุจูˆุฑุฏ ูˆ ุงู„ู€ mouse ููŠ ู…ูˆุงุฌู‡ุฉ ุฃูŠ ุชุทุจูŠู‚ ูˆ ู„ุง
50
00:03:50,090 --> 00:03:54,210
ู„ุฃ ุจูŠุชุนุงู…ู„ ู…ุน ุฃูŠ ุชุทุจูŠู‚ ูŠุง ุฅู…ุง ุจูŠุนู…ู„ click ุจุงู„ู€ mouse
51
00:03:54,210 --> 00:03:56,990
ุฃูˆ ุจูŠุณุชุฎุฏู… ุงู„ูƒูŠุจูˆุฑุฏ ุนุดุงู† ูŠุฏุฎู„ ู†ุต ุฃูˆ ูŠุถุบุท ู„ู‡ Enter
52
00:03:56,990 --> 00:04:01,510
ูˆู„ุง ู„ุฃุŒ ููŠ ุบูŠุฑ ู‡ูŠูƒ ู…ู…ูƒู† ูŠุชูƒู„ู… ุนู„ู‰ ุงู„ูƒุงู…ูŠุฑุง ูˆ ุงู„ู€ mic
53
00:04:01,510 --> 00:04:05,130
as input ุจุณ ููŠ ุงู„ุขุฎุฑ .. ููŠ ุงู„ุขุฎุฑ ุนุดุงู† ุฃุดุบู„
54
00:04:05,130 --> 00:04:07,610
ุงู„ูƒุงู…ูŠุฑุง ุฃูˆ ุฃุดุบุท ุนู„ู‰ ู…ูุชุงุญ ุงู„ู€ Tesla ู„ุงุฒู… ุฃุณุชุฎุฏู…
55
00:04:07,610 --> 00:04:11,470
ุงู„ู€ Mouse ูˆุจุงู„ุชุงู„ูŠ ูุนู„ูŠู‹ุง ุงู„ู€ Keyboard ูˆ ุงู„ู€ Mouse
56
00:04:11,470 --> 00:04:15,470
ู‡ู… ุฃู‡ู… ุฃุฏุงุชูŠู† ุฅุฏุฎุงู„ ู…ู…ูƒู† ูŠุณุชุฎุฏู…ู‡ู… ุงู„ู€ User ุนู†ุฏู‡ู…
57
00:04:15,470 --> 00:04:23,390
ุงู„ู€ AWT Abstract Windows Toolkit ุจุชุนู…ู„ ู„ู†ุง ู…ุฌู…ูˆุนุฉ
58
00:04:23,390 --> 00:04:27,990
ู…ู† ุงู„ู€ Events ูˆ ุจุชู…ูƒู†ู†ุง ู…ู† ุงู„ุชุชุจุน ูˆ ุงู„ุชุญูƒู… ุนุดุงู† ู…ุง
59
00:04:27,990 --> 00:04:30,570
ูŠุญุฏุซ ุจุงู„ุชู…ุงู… ุฃูˆ ุจุงู„ุชุญุฏูŠุฏ ู…ุน ุงู„ู€ System ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ
60
00:04:30,570 --> 00:04:38,740
ุนู†ุฏู‡ู… ุงู„ุขู† ุตุงุฑ ููŠ ุนู†ุฏูŠ event ู…ูŠู† ุงู„ู€ source ุชุจุนู‡ ุฃูŠ
61
00:04:38,740 --> 00:04:43,460
ู…ูุชุงุญ ุฃูŠ graphical user interface component ู‡ูŠ ุงู„ู€
62
00:04:43,460 --> 00:04:49,260
source ูˆ ุงู„ุขู† ุฃู†ุง ู…ุญุชุงุฌ ู„ุดุบู„ ุงุณู…ู‡ุง listener ุนุดุงู†
63
00:04:49,260 --> 00:04:54,520
ุฃุญุฏุฏู‡ ุจุดูƒู„ ุฏู‚ูŠู‚ ุฅูŠุด ุงู„ู€ event ุงู„ู„ูŠ ุฃุทู„ู‚ ูˆุฅูŠุด ุงู„ู€
64
00:04:54,520 --> 00:04:57,380
source ุชุจุนุชู‡ ูˆุฅูŠุด ุงู„ู€ action ุงู„ู„ูŠ ุฃู†ุง ุจุฏุฃ ุฃุฎุฏู‡ุง
65
00:04:57,380 --> 00:05:03,020
ุจู†ุงุก ุนู„ู‰ ุงู„ุนู†ุงุตุฑ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ู‡ู†ุง ุฏูˆู„ุฉ ุชู„ุช ุนู†ุงุตุฑ
66
00:05:03,020 --> 00:05:09,520
ู…ู‡ู…ุงุช ุฌุฏุง ุงู„ู€ event source ุงู„ู€ event object ุงู„ู„ูŠ
67
00:05:09,520 --> 00:05:12,720
ุจุฏูˆู† ุฃู† ูŠุนู…ู„ู‡ release ู…ู† ุงู„ู€ source ุจู†ุงุก ุนู„ู‰ ุงู„ู€
68
00:05:12,720 --> 00:05:16,440
interaction ุชุจุน ุงู„ู€ user ูˆ ููŠ ุนู†ุฏ ุงู„ู€ event listener
69
00:05:16,440 --> 00:05:20,640
ุงู„ู„ูŠ ุนู†ุฏู‡ ุจูŠุณุชู†ู‰ ูŠุณุชู‚ุจู„ event object ุนุดุงู† ูŠุนู…ู„
70
00:05:20,640 --> 00:05:25,380
execution ู„ู…ูŠุซูˆุฏ ุชู…ุงู…ุŸ ู…ุนูŠู†ุฉ ุฃู†ุช ุญุท ููŠู‡ุง ุงู„ู€ code
71
00:05:25,380 --> 00:05:28,160
ุฃูˆ ุงู„ู€ business logic ุชุจุนุช ุงู„ู€ code ุฃูˆ ุชุจุนุช ุงู„ู€
72
00:05:28,160 --> 00:05:32,660
application ุชุจุนุชูƒ ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ ุงู„ุตูˆุฑุฉ ู‡ุฐุง ู…ู…ูƒู†
73
00:05:32,660 --> 00:05:37,820
ูŠูƒูˆู† button ุงู„ู€ event ุงู„ู„ูŠ ู‡ู†ุนู…ู„ู‡ release ู„ู…ุง ูŠู†ุถุบุท
74
00:05:37,820 --> 00:05:42,820
ุงุณู…ู‡ action event ูˆ ุงู„ู„ูŠ ู„ุงุฒู… ูŠูƒูˆู† ุนู†ุฏูŠ action
75
00:05:42,820 --> 00:05:47,380
listener ุนุดุงู† ูŠู‚ุฏุฑ ูŠู…ุณูƒ ุงู„ู€ event ู‡ุฐุง ูˆ ู‡ูŠุนู…ู„
76
00:05:47,380 --> 00:05:51,860
execute ู„ู…ูŠุซูˆุฏ ุงุณู…ู‡ุง action performed ุนุดุงู† ู…ู†
77
00:05:51,860 --> 00:05:56,780
ุฎู„ุงู„ู‡ุง ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ event handling ูƒู„ ุจุณุงุทุฉ
78
00:05:59,300 --> 00:06:01,720
ููŠ ุนู†ุฏูŠ ุฃู†ุง ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ู€ method ุฏุงุฆู…ุง ู…ูˆุฌูˆุฏุฉ ุจุงู„ู€
79
00:06:01,720 --> 00:06:05,400
sources ู…ู† ุฃุฌู„ ุฅุถุงูุฉ ุฃูˆ ุงู„ุชุนุงู…ู„ ู…ุน ุงู„ู€ event
80
00:06:05,400 --> 00:06:10,460
handling ูˆ ุฃู‡ู… ุดุบู„ุฉ ุงู„ู€ event listener ุชู…ุงู…ุง ู„ูˆ ุฃู†ุง
81
00:06:10,460 --> 00:06:13,300
ุจุฏูŠ ุฃุฑุฌุน ู…ุนุงูƒูŠ ูƒู…ุงู† ุฎุทูˆุฉ ูƒู…ุงู† ู…ุฑุฉ ู„ู„ู…ุซุงู„ ุงู„ุณุงุจู‚
82
00:06:13,300 --> 00:06:19,080
integer X ุจุชุณุงูˆูŠ ุนุดุฑุฉ ุนู„ู‰ ุฒูŠุฑูˆ ูˆ semi-colon ุงู„ุขู†
83
00:06:19,080 --> 00:06:23,240
ู‡ุฐู‡ ุงู„ู€ method ุฃูˆ ู‡ุฐู‡ ุงู„ุณุทุฑ ู…ู† ุงู„ู€ code ู…ุด ู…ูˆุฌูˆุฏุฉ ู…ู†
84
00:06:23,240 --> 00:06:28,290
try ูˆ catch ุฅูŠุด ู‡ูŠุตูŠุฑ ููŠ ุงู„ู€ systemุŸ ุฅุญู†ุง ุนู…ู„ูˆุง crash
85
00:06:28,290 --> 00:06:32,830
ู…ุตุฑูˆู ูˆู„ุง ู„ุฃุŸ ุจู…ุฌุฑุฏ ุฃู†ูŠ ุฃุดุบู„ู‡ ู„ุฃู† ููŠ ุนู†ุฏูŠ method
86
00:06:32,830 --> 00:06:36,450
undefined ู‚ุณู… ุนู„ู‰ ุตูุฑ ุนู…ู„ูŠุฉ ุบูŠุฑ ู…ุนุฑูุฉ ูุญุฑูˆุญ ุญุท ููŠู‡
87
00:06:36,450 --> 00:06:40,530
ุงู„ุขู† ุนุดุงู† ุฃู†ุง ุฃุชุฌุงูˆุฒ ุงู„ุนู…ู„ูŠุฉ ู‡ุฐู‡ ุจุชุทู„ุจ ู…ู†ูŠ ุฃู…ุฑูŠู†
88
00:06:40,530 --> 00:06:46,910
ุงู„ุฃู…ุฑ ุงู„ุฃูˆู„ ุฃู† ุฃุญุท ุงู„ุฌู…ู„ุฉ ู‡ุฐู‡ ุถู…ู† try block ู…ุตุจูˆุทุŸ
89
00:06:46,910 --> 00:06:50,150
ูˆ ุงู„ู€ try block ู‡ุชู…ุณูƒ ุงู„ู€ object ุชุจู‚ู‰ ุงู„ู€ exception
90
00:06:50,150 --> 00:06:54,430
object ู„ูˆ ุตุฏุฑ ูˆ ุชู…ุฑุฑู‡ ู„ู…ูŠู†ุŸ ู„ู„ู€ catch ุงู„ู„ูŠ ู‡ูŠ ุงู„ู€
91
00:06:54,430 --> 00:06:58,610
part ุงู„ุชุงู†ูŠ ูˆ ุชู…ุฑุฑู‡ ู„ู„ู€ catch ููŠ ุงู„ู€ catch ู„ุงุฒู… ุฃู†ุง
92
00:06:58,610 --> 00:07:00,830
ุฃูƒูˆู† ู…ุญุฏุฏ ุฅูŠุด ุงู„ู€ exception ุงู„ู„ูŠ ุฃู†ุง ุจุฏุฃ ุฃุชุนุงู…ู„
93
00:07:00,830 --> 00:07:03,550
ู…ุนุงู‡ ูŠุนู†ูŠ ุฃู†ุง ู…ุง ุฃู†ูุนุด ูŠูƒูˆู† ุจูŠุทู„ุน ุนู†ุฏูŠ arithmetic
94
00:07:03,550 --> 00:07:08,410
exception ูˆ ุงุฑูˆุญ ุจุฏุฃ ุฃุนู…ู„ handling ู„ู€ null pointer
95
00:07:08,410 --> 00:07:12,910
exception ู‡ูŠ ู‡ูŠ ุจุฑุถู‡ ุงู„ู€ system ู‡ูŠุนู…ู„ ุงู„ู€ crash ูˆู‡ูˆ
96
00:07:12,910 --> 00:07:19,130
ู†ูุณ ุงู„ูƒู„ุงู… ุฃู† ุฃู†ุง ููŠ ุนู†ุฏูŠ event source ู„ุงุฒู… ุฃุญุท ู„ู‡ุง
97
00:07:19,130 --> 00:07:23,290
ู…ุฑุงู‚ุจ ุนุดุงู† ูŠู‚ูˆู„ ู„ูŠ ูุนู„ูŠู‹ุง ุงู„ู€ tool ู‡ุฐู‡ ุฃูˆ ุงู„ู€
98
00:07:23,290 --> 00:07:27,990
component ู‡ุฐู‡ ุนู…ู„ุช release ู„ู€ event ุงู„ุขู† ู„ุฃ ุจู†ุฌูˆ
99
00:07:27,990 --> 00:07:32,890
ุณูŠู† ุจุฏูŠ ุฃุญุท ู…ุฑุงู‚ุจ ุนู„ู‰ ูƒู„ ุงู„ุฃุฏูˆุงุช ุนู„ู‰ ูƒู„ ุงู„ู€ tools
100
00:07:32,890 --> 00:07:37,750
ุงู„ู„ูŠ ู…ู…ูƒู† ุงู„ู€ user ูŠุชูุงุนู„ ู…ุนุงู‡ุง ูŠุนู†ูŠ ุงู„ุขู† ุฃู†ุง ููŠ
101
00:07:37,750 --> 00:07:41,250
ุนู†ุฏูŠ label ูˆ ุนู†ุฏูŠ text field
102
00:07:45,230 --> 00:07:50,270
ูˆ ููŠ ุนู†ุฏูŠ button ู‡ุงูŠ three components ูˆ ู‡ุฏูˆู„ุฉ ูƒู„ู‡ู…
103
00:07:50,270 --> 00:07:55,070
ู…ูˆุฌูˆุฏุงุช ุนู„ู‰ panel ูƒุงู… components ุตุงุฑ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏูŠุŸ
104
00:07:55,070 --> 00:07:59,070
ุฃุฑุจุนุฉุŒ ู…ุตุจูˆุทุŸ ู„ูˆ ุฃู†ุง ุณุฃู„ุชูƒ ุงู„ู€ user ู…ู…ูƒู† ูŠุชูุงุนู„ ู…ุน
105
00:07:59,070 --> 00:08:05,590
ูƒุงู… componentุŸ ู…ุน ุงู„ู€ text field ุนู†ุฏ ุงู„ุฅุฏุฎุงู„ ูˆ ู…ุน
106
00:08:05,590 --> 00:08:09,200
ุฅุถุบุท ุงู„ู€ button ู‡ู„ ููŠ Interaction ุจูŠู† ุงู„ู€ User ูˆ ุงู„ู€
107
00:08:09,200 --> 00:08:14,700
LabelุŸ ุฃูˆ ููŠ Interaction ุจูŠู† ุงู„ู€ Panel ูˆ ุงู„ู€ UserุŸ
108
00:08:14,700 --> 00:08:17,960
ู…ุง ููŠุดุŒ ูˆุจุงู„ุชุงู„ูŠ ูุนู„ูŠู‹ุง ุตุงุฑ ููŠ ุนู†ุฏูŠ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ู€
109
00:08:17,960 --> 00:08:20,260
Buttons ุฃูˆ ู…ุฌู…ูˆุนุฉ ู…ู† ุงู„ู€ Graphical User Components
110
00:08:20,260 --> 00:08:23,380
ุชู…ุงู…ุŒ ุงู„ู„ูŠ ุฃู†ุง ุจุชุนุงู…ู„ ู…ุนุงู‡ุง ูˆ ุงู„ู„ูŠ ู…ู…ูƒู† ุงู„ู„ูŠ End
111
00:08:23,380 --> 00:08:27,100
User ูŠุตูŠุฑ ุจูŠู†ู‡ ูˆุจูŠู†ู‡ุง Interaction ูˆ ุนู„ูŠู‡ุง ุฃู†ุง ุจุฏูŠ
112
00:08:27,100 --> 00:08:30,200
ุฃุนู…ู„ Listening ุงู„ุณุคุงู„ ุงู„ู„ูŠ ุจูŠุทุฑุญ ู†ูุณู‡ ุงู„ุขู†ุŒ okay
113
00:08:30,200 --> 00:08:34,850
ู‡ุฐุง ุจุฏูŠ ุฃุนู…ู„ Click ุทุจ ู‡ุงู†ุจุฏูŠ ุฃุฏุฎู„ ุงู„ู€ keyboard
114
00:08:34,850 --> 00:08:39,670
ูŠุนู†ูŠ ู…ู…ูƒู† ุฃู†ุง ุฃุชุจุน ูƒู„ ุญุฑููŠ ุจูƒุชุจู‡ ู…ู…ูƒู† ุฃุชุจุน ุงู„ุณู†ุฉ
115
00:08:39,670 --> 00:08:44,130
ู„ู…ุง ูŠุถุบุท enter ุนุดุงู† ูŠู‚ูˆู„ ู„ูŠ ุฎู„ุตุช ูˆ ุฃุฎุฐ action ุนู„ู‰
116
00:08:44,130 --> 00:08:46,610
ุงู„ู€ method ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏู‡ุง ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ุจู‚ุฏุฑ ุฃุญุฏุฏ
117
00:08:46,610 --> 00:08:49,650
ุงู„ู€ sources ุฏุงุฆู…ุง ุงู„ู„ูŠ ุจุฏูŠ ุฃุนู…ู„ ุนู„ูŠู‡ุง listening
118
00:08:49,650 --> 00:08:53,630
ู„ู„ุนู†ุงุตุฑ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏู‡ุง ูˆุจุงู„ุชุงู„ูŠ ุงู„ู€ listener ุงู„ู„ูŠ
119
00:08:53,630 --> 00:08:57,430
ุฃู†ุง ุจุฏูŠ ุฃุฑุจุทู‡ ุจุงู„ู€ source ุจู…ุฌุฑุฏ ุฃู†ู‡ ูŠุตูŠุฑ ุงู„ู€ event ูˆ
120
00:08:57,430 --> 00:09:02,970
ูŠุนู…ู„ู‡ release ุจุฑูˆุญ ุงู„ู€ listener ู‡ุฐุง ุจู…ุณูƒู‡ ูˆ ุจุฏูŠ ู„ู€
121
00:09:02,970 --> 00:09:07,730
proper method ุนุดุงู† ู†ุนู…ู„ execution ุทุจุนู‹ุง ู‡ู†ุง ููŠ ุนู†ุฏูŠ
122
00:09:07,730 --> 00:09:12,430
different sources ู„ุฃู† ููŠ ุนู†ุฏูŠ different component
123
00:09:12,430 --> 00:09:16,550
ุนู†ุฏ buttonุŒ ุนู†ุฏ check boxุŒ ุนู†ุฏ radio button ุนู†ุฏ
124
00:09:16,550 --> 00:09:20,630
listุŒ ุนู†ุฏ combo boxุŒ ุนู†ุฏ spinnerุŒ ููŠ ุนู†ุฏ slider
125
00:09:20,630 --> 00:09:23,890
ู…ุธุจูˆุท ูˆู„ุง ู„ุฃ ูƒู„ู‡ุง different component ูˆ ู…ู…ูƒู† ูŠุตูŠุฑ
126
00:09:23,890 --> 00:09:28,990
ุจูŠู†ู‡ุง ูˆุจูŠู† ุงู„ู€ user interaction ูƒู„ ูˆุงุญุฏ ููŠู‡ู… ุจูŠู‚ุฏุฑ
127
00:09:28,990 --> 00:09:35,210
ูŠุนู…ู„ release ู„ู€ different event ุงู„ุขู† ุงู„ู€ button ูุญุด
128
00:09:35,210 --> 00:09:39,730
ุฌุฏุงู†ูŠ ุดุบู„ุฉ ูˆุงุญุฏุฉ ูู‚ุท ุงู„ู„ูŠ ู‡ูŠ ุงู„ู€ click ุงู„ู„ูŠ ู‡ูŠ ุงู„ู€
129
00:09:39,730 --> 00:09:47,370
action ุฒูŠ ู…ุง ู‡ู†ุดูˆู ูƒู…ุงู† ุดูˆูŠุฉ ู„ูƒู† ุงู„ู€ check box ู„ุฃู†
130
00:09:47,370 --> 00:09:51,620
ู„ู…ุง ุฃู†ุง ุงุถุบุท ุฅุฐุง ุฃู†ุง ุจุฏูŠ ุฃุชุนู…ู„ ุนู„ู‰ click ุจุงุชูƒู„ู…
131
00:09:51,620 --> 00:09:54,500
ุนู„ู‰ action listener ุจู…ุดูŠ ุงู„ุญุงู„ุฉ ูˆุฅุฐุง ุฃู†ุง ุจุฏูŠ ุฃุชูƒู„ู…
132
00:09:54,500 --> 00:09:58,900
item changed ุฃูˆ change item listener ู…ุนู†ุงู‡ ุฃู† ุงู„ู€
133
00:09:58,900 --> 00:10:02,220
state ุจุชุงุนุชู‡ุง ุชุญูˆู„ุช ุฃูˆ ุงุชุจุฏู„ุช ู…ู† ุฃู†ุง checked
134
00:10:02,220 --> 00:10:06,640
ู„ุชุดูƒุช ูˆ ุงู„ุนูƒุณ ุตุญูŠุญ ู„ูˆ ุฃู†ุง ุนู…ู„ูƒ ุฃุนู…ู„ู‡ุง ูƒู…ุงู† ู…ุฑุฉ ุจุฑุถู‡
135
00:10:06,640 --> 00:10:09,340
ููŠ ุนู†ุฏูŠ two event ุจูŠุทู„ุนูˆุง action event ุงู„ู„ูŠ ู‡ูŠ ุงู„ู€
136
00:10:09,340 --> 00:10:12,780
click ูˆ ุงู„ู€ state ุงุชุจุฏู„ุช ูˆุจุงู„ุชุงู„ูŠ ู‡ุงู„ู„ูŠ ุตุงุฑ ููŠ ุนู†ุฏูŠ
137
00:10:12,780 --> 00:10:17,260
different ุงู„ู€ radio button ู†ูุณ ุงู„ู„ูŠ ุจูŠุฌูŠ ุนู„ู‰ ุงู„ู€
138
00:10:17,260 --> 00:10:24,940
check box ุจูŠุฌูŠ ุนู„ูŠู‡ุง ู…ู…ูƒู† ุงู„ุขู† ุงู„ู€ combo books ู„ู…ุง
139
00:10:24,940 --> 00:10:27,280
ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ click ุฃูˆ ุงุถุบุท enter ู„ุฃู†ู‡ุง ู…ู…ูƒู† ุชูƒูˆู†
140
00:10:27,280 --> 00:10:30,420
text field ูุญุณุจ ุงู„ู„ูŠ ุจุฏู†ุง ู†ูˆุตู„ู‡ ุฃู† ุงู„ู€ different
141
00:10:30,420 --> 00:10:36,060
resources ุจุชุนู…ู„ different .. ุจุชุนู…ู„ release ู„
142
00:10:36,060 --> 00:10:40,280
different event ุจุชุนู…ู„ release ู„ different events
143
00:10:40,280 --> 00:10:45,860
ู…ุซู„ ุงู„ู€ bottom ุจูŠุนู…ู„ release ู„ action event object
144
00:10:45,860 --> 00:10:51,560
ูˆ ุงู„ู€ window ุจุชุนู…ู„ release ู„ window event ุงุญู†ุง
145
00:10:51,560 --> 00:10:54,860
ุงุชูƒู„ู…ู†ุง ุนู† ุงู„ู€ windows ุณุงุจู‚ุง ูƒูŠู ู„ุฃ ุงู„ู€ j frame
146
00:10:54,860 --> 00:11:00,480
window ุงู„ู€ j frame window ุจุชุนู…ู„ ู‡ูŠ ุงู„ู„ูŠ ู…ุด ู‚ู„ู†ุง ู‡ูŠ
147
00:11:00,480 --> 00:11:03,820
ุงู„ู€ top level container ู…ุตุจูˆุท ุงู„ู„ูŠ ุจู†ุฌูŠ ู†ุณู…ูŠู‡ุง
148
00:11:03,820 --> 00:11:10,080
ุงู„ู€ window ุชุจุนุชู†ุง okay
149
00:11:10,080 --> 00:11:11,320
ูˆุจุงู„ุชุงู„ูŠ
150
00:11:13,940 --> 00:11:18,240
ูƒูŠู ุงู„ู…ูุฑูˆุถ ุงู„ู€ AWT ุจุชุนู…ู„ ูˆุทุจุนุง ู„ูŠุด ุจุชุชูƒู„ู… AWT
151
00:11:18,240 --> 00:11:22,360
ุจุชุชูƒู„ู… ู…ุด swing ู„ุฃู† ู‡ูŠ ุฃุณุงุณุง ุงู„ู€ swing ู…ุจู†ูŠุฉ ุนู„ูŠู‡ุง
152
00:11:22,360 --> 00:11:29,820
ุทูŠุจ ุจุฏูŠ ุฃุนุฑู listener object ูˆ ู‡ุฐุง ุงู„ู€ listener object
153
00:11:29,820 --> 00:11:33,680
ุนุงู…ู„ ุฏุงูŠู…ุง implementation ู„ู„ู€ interface ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ
154
00:11:33,680 --> 00:11:41,030
ุนู†ุฏูŠ ู‡ุงู† ุจุฏูŠ ุฃุญุฏุฏ ุงู„ู€ event source ุชู…ุงู…ุŸ ูˆ ุฃุฑุจุทู‡ ู…ุน
155
00:11:41,030 --> 00:11:45,130
ุงู„ู€ listener ุงู„ู„ูŠ ุฃู†ุง ุนุฑูุชู‡ ูˆ ุจุนุฏ ู‡ูŠูƒ ุงู„ู€ listener
156
00:11:45,130 --> 00:11:50,210
ู‡ุฐุง ุจูŠุตูŠุฑ ู‡ูˆ ุงู„ู„ูŠ ุจูŠุนู…ู„ catch ูˆ ูŠุญุฏุฏ ุฅูŠุด ุงู„ู€
157
00:11:50,210 --> 00:11:54,390
interaction ุงู„ู„ูŠ ุจูŠุตูŠุฑ ู…ุง ุจูŠู† ุงู„ู€ user ูˆ ุงู„ู€ system
158
00:11:54,390 --> 00:11:57,730
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ู…ุนุงูŠุง okay ุงู„ูƒู„ุงู… ุงู„ู†ุธุฑูŠ ุจูƒู„ ุจุณุงุทุฉ ุจุฏูŠ
159
00:11:57,730 --> 00:12:02,380
ุฃู†ุดุท ุงู„ู€ listener object ุงู„ู€ listener object ู‡ุฐุงุจุฏูŠ
160
00:12:02,380 --> 00:12:06,580
ุฃุฑุจุทู‡ ุจู€ source ุฃูˆ ุจูŠู† ุฌุซูŠู† ุจุฏูŠ ุฃุณุฌู„ ุงู„ู€ source ุงู„ู€
161
00:12:06,580 --> 00:12:08,800
button ุฃูˆ ุงู„ู€ check box ุนู„ู‰ ุงู„ู€ listener ุงู„ู„ูŠ ุฃู†ุง
162
00:12:08,800 --> 00:12:12,200
ุนุฑูุชู‡ ุนุดุงู† ูŠุนู…ู„ listening ูˆูŠุณุชู†ู‰ ุญุฏูˆุซ ุงู„ู€ events
163
00:12:12,200 --> 00:12:15,040
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุงุช ุนู†ุฏูŠ ูˆููŠ ุงู„ุขุฎุฑ ุงู„ู€ listener object
164
00:12:15,040 --> 00:12:19,060
ุงู„ู„ูŠ ุฃู†ุง ุนุฑูุชู‡ ู‡ุฐุง ู‡ูˆ ุจูŠุญุชูˆูŠ ุนู„ู‰ ู…ุนู„ูˆู…ุงุช ู…ู† ุฎู„ุงู„
165
00:12:19,060 --> 00:12:22,580
ุงู„ู€ event ุงู„ู„ูŠ ุตุงุฑ ู…ู† ุฎู„ุงู„ ุงู„ู€ event ุงู„ู„ูŠ ุตุงุฑ ูˆ
166
00:12:22,580 --> 00:12:25,720
ุจูŠุญุฏุฏ ุฃูŠุด ุงู„ู€ action ุงู„ู„ูŠ ุจูŠุดูˆูู‡ ุชุนุงู„ูˆุง ู†ุฑูˆุญ ุจุงุชุฌุงู‡
167
00:12:25,720 --> 00:12:30,550
ุนู…ู„ูŠ ุจุณูŠุท ู†ุดูˆู ุฃูŠุด ู…ู…ูƒู† ุจุงู„ูƒูˆุฏ ุงู„ุฎุทูˆุงุช ุงู„ุชู„ุงุชุฉ
168
00:12:30,550 --> 00:12:34,290
ุงู„ุณุงุจู‚ุฉ ุงู„ู„ูŠ ุญูƒูŠุชู‡ุง ุฃู†ุง ุณุงุจู‚ุง ู‡ูŠ ููŠ ุงู„ู€
169
00:12:34,290 --> 00:12:40,850
registration ุงู„ู€ object source event source object
170
00:12:40,850 --> 00:12:43,590
ุงู„ู„ูŠ ู‡ูŠ ู…ู…ูƒู† ุชูƒูˆู† ุงู„ู€ button ุฃูˆ ุงู„ู€ check box ุฃูˆ ุงู„ู€
171
00:12:43,590 --> 00:12:49,630
radio button .add event listener ูˆู‡ุฐุง ุจูŠู‚ูˆู„ ุฅู†ู‡
172
00:12:49,630 --> 00:12:54,910
ุฃู†ุง ู„ุงุฒู… ุฃู†ุชุจุงู‡ ูˆ ุฃุชุนุฑู ุนู„ู‰ ุงู„ู€ eventูˆุนู„ู‰ ุงู„ู€ items
173
00:12:54,910 --> 00:12:58,250
ุฅูŠุด ุงู„ู€ event ุงู„ู„ูŠ ู…ู…ูƒู† ุชุนู…ู„ู‡ุง release ูˆ ุงุฑูˆุญ ุญุท
174
00:12:58,250 --> 00:13:01,610
ู‡ู†ุง ุงู„ู€ event listener object ุงู„ู„ูŠ ุจูŠุทู„ุน ุนู†ุฏูŠู‡ุง
175
00:13:01,610 --> 00:13:08,190
ุจุงู„ู…ุซุงู„ ุฃู†ุง ุจูŠุฏุฑุญ ุนุฑู action listener ุงู„ู€ action
176
00:13:08,190 --> 00:13:10,610
listener ุงู„ู€ new action listener ุงู„ู„ูŠ ุจุฏูŠ ุงุดูˆูู‡
177
00:13:10,610 --> 00:13:13,470
ุจุงู„ุชูุตูŠู„ ุงู„ุขู† ุนุฑูู†ุง ุงู„ู€ button ุงู„ู„ูŠ ู‡ูˆ ุจู…ุซู„ ุงู„ู€
178
00:13:13,470 --> 00:13:19,030
source ุฑูˆุญู†ุง ุนู„ู‰ ุงู„ู€ button.add action listener
179
00:13:19,030 --> 00:13:23,810
ูˆุฏูŠู†ุง ู„ู‡ ุงู„ู€ object ุงู„ู„ูŠ ุฃู†ุง ุนุฑูุชู‡ ุณุงุจู‚ุง ุงู„ู€ object
180
00:13:23,810 --> 00:13:30,910
listener ุงู„ู„ูŠ ุฃู†ุง ุนุฑูุชู‡ ุณุงุจู‚ุง ุฅุฐุง
181
00:13:30,910 --> 00:13:35,330
ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ implementation ู„ู„ู€ action listener ุฃูˆ
182
00:13:35,330 --> 00:13:40,190
ู„ุฃูŠ listener ู…ูˆุฌูˆุฏ ู‡ุชุนู…ู„ ู…ุนุงู‡ as interface ูˆ ุงู„ู€
183
00:13:40,190 --> 00:13:43,210
interface ุจูŠู‚ุชุถูŠ ุฅู†ู‡ ููŠ abstract method ู„ุงุฒู…
184
00:13:43,210 --> 00:13:48,310
ุฃุนู…ู„ู‡ู… override ูˆู„ุง ู„ุฃ ูุจู…ุฌุฑุฏ ุฃู†ูŠ ุฃุฑูˆุญ ุฃู‚ูˆู„ู‡ my
185
00:13:48,310 --> 00:13:52,640
listener implement ู†ูˆุน ู…ุนูŠู† ู…ู† ุงู„ู€ listener ู‡ูŠุฑูˆุญ
186
00:13:52,640 --> 00:13:56,680
ู„ุงุฒู…ู†ูŠ ุฃุนู…ู„ implementation ู„ู„ู€ method ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ
187
00:13:56,680 --> 00:14:02,600
ุนู†ุฏู‡ุง ูˆุจุงู„ุชุงู„ูŠ ุชุนุงู„ูˆุง ู†ุชูƒู„ู… ุจุชูุตูŠู„ ุฃูƒุซุฑ ุนู„ู‰ ุฃูƒุซุฑ
188
00:14:02,600 --> 00:14:06,060
action listener ู…ุณุชุฎุฏู… ุงู„ู„ูŠ ู‡ูˆ ุฃูˆ ุฃูƒุซุฑ listener
189
00:14:06,060 --> 00:14:09,220
ู…ุณุชุฎุฏู… ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ action listener ุงู„ุขู† ุงู„ู€ action
190
00:14:09,220 --> 00:14:13,080
listener ุจูŠุฑุชุจุท ุจู€ button ุจูŠุฑุชุจุท ุจู€ check box ุจู€
191
00:14:13,080 --> 00:14:18,600
radio button ุจู€ combo box ูƒุฐู„ูƒ ูˆุจุงู„ุชุงู„ูŠ ุงู„ุฃู‡ู… ุจุชูƒู„ู…
192
00:14:18,600 --> 00:14:23,440
ุนู„ู‰ ุงู„ู€ most frequent used listener action ู„ูŠุด
193
00:14:23,440 --> 00:14:26,000
actionุŸ ู„ุฃู† ุงู„ู€ click ู‡ูŠ ุจู…ุซุงุจุฉ ุงู„ู€ action ุชุจุน ุงู„ู€
194
00:14:26,000 --> 00:14:30,700
user ุทูŠุจุŒ ู‡ุฐุง ุงู„ู€ action listener ุจุฏูŠ ูŠุนู…ู„
195
00:14:30,700 --> 00:14:34,140
implementation ู„ู…ูŠู†ุŸ ู„ู€ action performed method
196
00:14:34,140 --> 00:14:41,560
ุชู…ุงู…ุŸ ูˆ ุงู„ู€ object ุงู„ู„ูŠ ุนู†ุฏูŠ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ source ู„ู…ุง
197
00:14:41,560 --> 00:14:46,740
ุฃู†ุง ุถุบุทุช ุนู„ู‰ ุงู„ู…ูุชุงุญ ุนู…ู„ release ู„ุดุบู„ ุงุณู…ู‡ุง action
198
00:14:46,740 --> 00:14:51,610
event ุงู„ู€ action event ู‡ุฐู‡ ุจุชุญุชูˆูŠ ู…ุนู„ูˆู…ุงุช ุนู† ุงู„ู€
199
00:14:51,610 --> 00:14:55,770
object ุงู„ู„ูŠ ู‡ูˆ ุนู…ู„ release ู„ู„ู€ event ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ู‡ู†ุง
200
00:14:55,770 --> 00:14:59,290
ูˆุจุงู„ุชุงู„ูŠ ู‡ุชูƒูˆู† ููŠ ุนู†ุฏ ุงู„ู€ event ู‡ุฐุง ุจูŠุญุชูˆูŠ ุนู„ู‰
201
00:14:59,290 --> 00:15:04,610
ู…ุนู„ูˆู…ุงุช ุนู† ุงู„ู€ source ุงู„ู„ูŠ ุชู… ุฃูˆ ุฃุตุฏุฑ ุงู„ู€ action
202
00:15:04,610 --> 00:15:08,270
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนุฑูู†ุง
203
00:15:08,270 --> 00:15:12,450
ุงู„ู€ button ูุฑุญู†ุง ู‚ู„ู†ุง ู„ู‡ ู‡ู†ุง exit button ุงุณู…ู‡ exit
204
00:15:12,450 --> 00:15:18,090
button ุทุจุนุง ู„ุญุธุฉ ู‡ุงู† ุนู…ู„ู†ุง my own implementation
205
00:15:18,090 --> 00:15:22,670
ุทุฑูŠู‚ุฉ ุชุงู†ูŠุฉ ู‡ุงู† ุนู…ุงู„ูŠ ุจุณุชุบุจู‰ ุงุนุชู…ุฏ ุนู„ู‰ anonymous
206
00:15:22,670 --> 00:15:27,090
action listener ุฅูŠุด anonymous ูŠุนู†ูŠ object ู…ุงู„ูˆุด
207
00:15:27,090 --> 00:15:31,530
ุงุณู… ุนุฑูู†ุง ุฅู†ูˆ fly ูˆู„ุง ู„ุง ูŠุนู†ูŠ ุฃู†ุง ุงุชุฌู‡ุช ู…ุจุงุดุฑุฉ
208
00:15:31,530 --> 00:15:36,230
exit button .add action listener ุงู„ุฃุตู„ ุงุนุชู…ุฏ
209
00:15:36,230 --> 00:15:39,950
ุนู„ู‰ on listener object ุฅุฐุง ูƒุงู† ุงู„ู€ listener object
210
00:15:39,950 --> 00:15:44,270
ุชู… ุชุนุฑูŠูู‡ ู…ุณุจู‚ุง ู…ุซู„ ู‡ุงู† ูุฑุญู†ุง ู†ู‚ูˆู„ ู„ู‡
211
00:15:44,270 --> 00:15:47,930
MyListenerObject ู„ูˆ ู…ุง ุชู…ุด ุชุนุฑูŠูู‡ ูˆ ุจุฏูŠ ุฃุนุฑู
212
00:15:47,930 --> 00:15:51,210
ActionListenerOnFly ู…ุจุงุดุฑุฉ ู‡ุฑูˆุญ .. ุทุจุนุง ุฃู†ุง ุจุณู…ูŠู‡
213
00:15:51,210 --> 00:15:54,950
ู‡ู†ุง AnonymousObject ุจุญูŠุซ ุฃู†ู‡ ู…ุงู„ูˆุด ุงุณู… New
214
00:15:54,950 --> 00:15:57,910
ActionListener ุจู…ุฌุฑุฏ ุฃู‚ูˆู„ู‡ New ActionListener
215
00:15:57,910 --> 00:16:03,250
ู‡ูŠู„ุฒู…ู†ูŠ ู†ุนู…ู„ override ู„ู…ูŠู†ุŸ ู„ู„ู€ action performed
216
00:16:03,250 --> 00:16:08,670
ู„ุงุญุธุชูˆุง ุงู„ูƒุชุงุจุฉ ููŠ ุฏุงุฎู„ู‡ุง ุฃู†ุงุŸ exit ุฃูˆ system.exit 0
217
00:16:08,670 --> 00:16:11,930
ู„ุฃู†ู‡ ูุนู„ูŠุง ุฃู†ุง ุนู…ู„ุช ู…ูุชุงุญ ุนุดุงู† ูŠุนู…ู„ ุฅูŠุดุŸ ุนุดุงู† ูŠุนู…ู„
218
00:16:11,930 --> 00:16:15,930
exit ู…ู† ุงู„ู€ system ูู„ูˆ ุฃู†ุง ุฌูŠุช ุดุบู„ุช ุงู„ุจุฑู†ุงู…ุฌ ูˆ ุฌูŠุช
219
00:16:15,930 --> 00:16:22,230
ุนู„ู‰ ุงู„ู…ูุชุงุญ ูˆ ุนู…ู„ุช click ู‡ุงูŠ ุงู„ู€ exit ุนู…ู„ุช
220
00:16:22,230 --> 00:16:26,970
click ู‡ูˆ ู‡ุณูƒุฑ ุงู„ุจุฑู†ุงู…ุฌ ุฃูƒูŠุฏุŒ ุฅูŠุด ุงู„ู„ูŠ ุตุงุฑุŸ ูŠุนู†ูŠ
221
00:16:26,970 --> 00:16:28,510
ุนู…ู„ release ู„ู€ action event
222
00:16:33,090 --> 00:16:35,710
ูŠุนู†ูŠ ุงู„ุจูˆุชูˆู† ุนู…ู„ Release ู„ู€ Action Event ุงู„ู€
223
00:16:35,710 --> 00:16:40,090
Action Event ู‡ุฐุง ู…ูŠู† ุจุฏู‡ ูŠุนู…ู„ู‡ Catch ุงู„ู€ Action
224
00:16:40,090 --> 00:16:43,410
Listener ุงู„ู„ูŠ ุฃู†ุง ุนุฑูุชู‡ ู‡ุงู† ู„ูˆ ู…ุงูƒุงู†ุด ุนู„ูŠู‡ Action
225
00:16:43,410 --> 00:16:47,670
Listener ู„ูˆ ุจุชุถุบุท ู…ู† ู‡ุงู† ู„ุจูƒุฑุฉ ุนู„ู‰ ุงู„ูุงุถูŠ ุจุนุฏ
226
00:16:47,670 --> 00:16:52,190
ู‡ูŠูƒ ุจู‚ุฏุฑ .. ุฅุฐุง ุฃู†ุง ุจุฏูŠ ุชูุงุตูŠู„ ู…ู† ุฎู„ุงู„ ุงู„ู€ Action
227
00:16:52,190 --> 00:16:54,230
Listener ุงู„ู€ Action Event ุงู„ู„ูŠ ุทู„ุน ุนู†ุฏูŠ ู‡ุงู† ุจู‚ุฏุฑ
228
00:16:54,230 --> 00:16:57,330
ุฃุญุตู„ ุนู„ูŠู‡ุง ุฃู†ุง ู…ุด ู…ุญุชุงุฌ ู„ุฃู†ู‡ ู…ุนุฑูˆู Click ู‡ูˆ ุถุบุท
229
00:16:57,330 --> 00:17:00,930
Click ู‡ุงู† ู…ุนู†ุงุชู‡ ุฃู†ุง ุจุฏูŠ ุฃุนู…ู„ Exit ู…ู…ูƒู† ุฃู†ุง ุฃุณุฃู„ ูˆ
230
00:17:00,930 --> 00:17:05,270
ุฃุธู‡ุฑ ู„ู‡ Dialogue ุฌูŠ option ุจูŠู† ู‡ู„ ุฃู†ุช ู…ุชุฃูƒุฏ ุฅู†ูƒ ุชุฑูŠุฏ
231
00:17:05,270 --> 00:17:08,290
ุงู„ุฎุฑูˆุฌ ู…ู† ุงู„ู€ systemุŸ ู†ุนู… ูˆ ุฃู†ุง ุฃู‚ุฏุฑ ุฃุฎุฏ ุงู„ุงุฎุชูŠุงุฑ
232
00:17:08,290 --> 00:17:11,250
ุจุณ ุฅุญู†ุง ุจุฏู†ุง ู†ุฃุฌู„ ุฃู†ุง ุงู„ู€ option ุจูŠู† ู‡ุงูŠ ู‚ุฏุงู…ูŠ ุดูˆูŠุฉ
233
00:17:11,250 --> 00:17:15,330
ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ุฃู‚ุฏุฑ ุฃุฎุฏ ุงู„ู€ event ุชุจุนูŠ ุจุดูƒู„ ู…ุจุงุดุฑ
234
00:17:15,330 --> 00:17:19,650
ุชุนุงู„ูˆุง ู†ุดูˆู ุนู„ู‰ ู…ุฌู…ูˆุนุฉ ุงู„ู€ event object ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ
235
00:17:19,650 --> 00:17:23,550
ุนู†ุฏูŠ ู‡ู†ุง ู‡ุชู„ุงู‚ูŠ
236
00:17:23,550 --> 00:17:29,670
ุฅู† ุงู„ู€ event object ู‡ุฏูˆู„ ู…ุนุฑููŠู† ู…ุน ุงู„ู€ AWT ุงู„ู„ูŠ ู‡ูˆ
237
00:17:29,670 --> 00:17:34,290
ู…ุนู„ู‚ุฉ ููŠ ูƒู„ ุญุงุฌุฉ graphical user interface action
238
00:17:34,290 --> 00:17:38,630
ุงู„ู€ key ุงู„ู€ keyboard ุงู„ู€ event ุงู„ู€ adjustment ู„ุฃู†
239
00:17:38,630 --> 00:17:42,170
ู„ูˆ ุฃู†ุง ุจุฏูŠ ุฃุบูŠุฑ ุญุฌู… ุงู„ุดุบู„ ุฃุบูŠุฑ ุญุฌู… ุงู„ู€ window mouse
240
00:17:42,170 --> 00:17:46,710
event ู„ู…ุง ุงู„ู…ุงูˆุณ ุจุชุชุญุฑูƒ ุตุงุฑ roll over ุงู„ู€ .. ุงู„ู€ ..
241
00:17:46,710 --> 00:17:51,380
ุฅูŠุด ุจุณู…ูŠู‡ุง ู‡ู†ุงุŸ mouse overุŒ mouse leave ุฃูˆ out ุฃูˆ
242
00:17:51,380 --> 00:17:54,780
ู…ุง ุดุงุจู‡ ู…ุฌู…ูˆุนุฉ ุงู„ุนู†ุตุฑ focus event ู„ู…ุง ุฃู†ุง ุจุฏูŠ
243
00:17:54,780 --> 00:17:58,320
ุงู„ู€ cursor ุจูŠู†ุชู‚ู„ ู…ู† ุนู†ุตุฑ ู„ุนู†ุตุฑ mouse wheel ุงู„ู„ูŠ ู‡ูŠ
244
00:17:58,320 --> 00:18:01,440
ุงู„ุนุฌู„ ุงู„ู„ูŠ ููŠ ุงู„ู€ mouse ููˆู‚ item event ู„ู…ุง ุฃู†ุง ุจูƒูˆู†
245
00:18:01,440 --> 00:18:05,000
ููŠ ุนู†ุฏูŠ selection ูˆ ุจุฎุชุงุฑ one item window event
246
00:18:05,000 --> 00:18:08,680
ุงู„ู„ูŠ ู„ู‡ ุนู„ุงู‚ุฉ ุจุงู„ู€ frame ูˆ ุญุฌู…ู‡ change event ู„ู…ุง
247
00:18:08,680 --> 00:18:14,800
ุชุตูŠุฑ ููŠ ุนู†ุฏูŠ status ุจุชุชุบูŠุฑ ู‡ุฏูˆู„ ุงู„ู€ event ุงู„ู†ุงุณ
248
00:18:14,800 --> 00:18:18,210
ุจูŠูƒูˆู†ูˆุง ุฅู†ู‡ู… listener ู…ู†ุงุณุจุฉ ุชุชุนุงู…ู„ูˆุง ู…ุนุงู‡ู… ูˆ ู‡ุฐู‡
249
00:18:18,210 --> 00:18:21,730
ู…ุฌู…ูˆุนุฉ ุงู„ู€ listeners ุทุจุนุง ุชู„ุงุญุธ ุฅู† ุฃู†ุง ู‡ู†ู…ูŠุฒ ุซู„ุงุซุฉ
250
00:18:21,730 --> 00:18:26,830
action event item event ูˆ change event ูˆ ู…ู‚ุงุจู„ู‡ู…
251
00:18:26,830 --> 00:18:30,670
ุนู†ุฏูŠ action listener item listener ูˆ change
252
00:18:30,670 --> 00:18:32,810
listener ู„ุฃู† ู‡ู… ู‡ุฏูˆู„ ู‡ู… ุงู„ู„ูŠ ู‡ูŠุชุนุงู…ู„ ู…ุน ุงู„ู€
253
00:18:32,810 --> 00:18:37,610
component ุงู„ู„ูŠ ุฅุญู†ุง ุนุฑูู†ุงู‡ู… ุนู†ุฏู†ุง ุงู„ุขู† ุจุฏูˆู† ุงู„ู€
254
00:18:37,610 --> 00:18:40,270
listener ู‡ุฐุง ู…ุง ุณุฌู„ูˆุง ู…ุน ุงู„ู€ graphical user
255
00:18:40,270 --> 00:18:43,250
component ุงู„ู„ูŠ ุฃู†ุง ู…ู…ูƒู† ุฃุดุชุบู„ ุนู„ูŠู‡ุง ุฃู†ุง ููŠ ู…ุดูƒู„ุฉ
256
00:18:43,250 --> 00:18:49,770
ู…ุด ู‡ูŠุดุชุบู„ ุงู„ู€ code ุงู„ู„ูŠ ุนู†ุฏูŠ ุงู„ุฃูƒุซุฑ ุงุณุชุฎุฏุงู…ุง ุฒูŠ ู…ุง
257
00:18:49,770 --> 00:18:54,150
ู‚ู„ู†ุง ุงู„ู€ ActionListener ูˆู‡ุฐุง ุจูŠุนู…ู„ Listening ู„ู…ูŠู†ุŸ
258
00:18:54,150 --> 00:18:57,290
ู„ู€ ActionEvent ูˆ ุงู„ู…ูŠุซูˆุฏ ุงู„ู„ูŠ ู‡ู†ุนู…ู„ู‡ุง Execution
259
00:18:57,290 --> 00:19:03,410
ActionPerformed ุงู„ู€ ItemListener ุจูŠุนู…ู„ Listening
260
00:19:03,410 --> 00:19:09,430
ุนู„ู‰ ItemEvent ูˆ ItemStatedChange ุงู„ู…ูŠุซูˆุฏ ุงู„ู„ูŠ
261
00:19:09,430 --> 00:19:12,750
ุงุญุชู…ุงู„ ู…ู†ู‡ุง ุงู„ู€ Execution ุงู„ู€ ChangeListener ุจูŠุนู…ู„
262
00:19:12,750 --> 00:19:15,830
ุนู„ู‰ ChangeEvent ูˆ StatedChanged method ู‡ูŠ ุงู„ู„ูŠ
263
00:19:15,830 --> 00:19:19,080
ู‡ู†ุนู…ู„ู‡ุง Execution ุทุจุนุง ุงุญู†ุง ู‡ู†ู…ุฑ ุงู„ุขู† ุนู„ู‰ ุงู„ู€
264
00:19:19,080 --> 00:19:23,940
component ูƒู„ ูˆุงุญุฏ ููŠู‡ู… ุงู„ู„ูŠ ุดูˆูู†ุงู‡ู… ุนุดุงู† ุฃุญุฏุฏ ุฃูŠ event
265
00:19:23,940 --> 00:19:28,860
ูˆู…ู† ุซู… ู‡ุญุฏุฏ ุฃูŠ listener ุจุฃุชุนุงู…ู„ ู…ุน ุงู„ุนู†ุตุฑ ุงู„ู„ูŠ
266
00:19:28,860 --> 00:19:32,880
ู…ูˆุฌูˆุฏ ุนู†ุฏู‡ุง ุจุฏูŠ ุฃุจุฏุฃ ู…ุน ุฃุณู‡ู„ element ุงู„ู„ูŠ ูƒุงู† ุงู„ู€
267
00:19:32,880 --> 00:19:37,820
button ู…ุง ุจุชุทู„ุจุด ู…ู†ูŠ ูƒุซูŠุฑ J button X ูŠุณุงูˆูŠ New J
268
00:19:37,820 --> 00:19:39,680
button ูˆ ุจุฏูŠ ุงู„ู€ label ุชู…ุงู… ุฎู„ุตู†ุง ู‡ุงูŠ ุงู„ู€ button
269
00:19:39,680 --> 00:19:47,520
ุฃุตุจุญ ู…ูˆุฌูˆุฏ ุงู„ุขู† ุจุฏูŠ ุฃุนุฑู listener ุนุดุงู† ุฃุถูŠูู‡ ุนู„ู‰
270
00:19:47,520 --> 00:19:52,360
ุงู„ู€ button ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ ู‡ู†ุง ู†ูˆุนู‡ action
271
00:19:52,360 --> 00:19:58,540
listener ู†ูˆุนู‡ action listener ุงู„ุขู† ููŠ ุงู„ุชุนุงู…ู„ ู…ุน
272
00:19:58,540 --> 00:20:03,320
ุงู„ู€ action
273
00:20:03,320 --> 00:20:07,020
listener ุฃูˆ ู…ุน ุงู„ู€ event listener ุจุดูƒู„ ุนุงู… ูˆุงุญุฏ ู…ู†
274
00:20:07,020 --> 00:20:11,520
ุซู„ุงุซ ุทุฑู‚ ุฅู…ุง ุจุนู…ู„ implementation ู„ู„ู€ listener ุงู„ู„ูŠ
275
00:20:11,520 --> 00:20:15,830
ุนู†ุฏูŠ ูŠุนู†ูŠ ุจุจู†ูŠ my own class ูˆุจุตูŠุจ ุฃุนู…ู„ implement
276
00:20:15,830 --> 00:20:19,810
ู„ู„ู€ listener ูˆ ุงู„ู€ implement ู‡ุชู„ุฒู…ู†ูŠ ุฃุนู…ู„ override
277
00:20:19,810 --> 00:20:24,770
ู„ู…ูŠู†ุŸ ู„ู„ู€ action performed ุฃูˆ ู‡ุฑูˆุญ ุฃุนุฑู global
278
00:20:24,770 --> 00:20:29,430
listener ุฃุฑูˆุญ ุฃู‚ูˆู„ู‡ action listener x ูŠุณุงูˆูŠ New
279
00:20:29,430 --> 00:20:32,410
action listener ูˆ ููŠ ุฏุงุฎู„ู‡ ู‡ุนู…ู„ implementation ู„ู„ู€
280
00:20:32,410 --> 00:20:37,650
action performed ุฃูˆ ู‡ุฑูˆุญ ู…ุน ูƒู„ button ุฃุถูŠู ู„ู‡
281
00:20:37,650 --> 00:20:40,530
anonymous action listener ูˆู‡ูŠ ูŠุตูŠุฑ ููŠ ุนู†ุฏูŠ ุชู„ุช
282
00:20:40,530 --> 00:20:43,690
ุญุงู„ุงุช ุฃู†ุง ุฃุดุชุบู„ ููŠู‡ู… ุชุนุงู„ ู†ุดูˆู ุงู„ุญู„ุฉ ุงู„ุฃูˆู„ู‰ ุจูƒู„
283
00:20:43,690 --> 00:20:49,260
ุจุณุงุทุฉ ุงู„ุญุงู„ุฉ ุงู„ุฃูˆู„ู‰ ู‡ู†ุง ุฃู†ุง ุจุฏูŠ ุฃุนุชู…ุฏ ุนู„ู‰ ุงู„
284
00:20:49,260 --> 00:20:51,720
implementation ุจุฏูŠ ุฃุนุชู…ุฏ ุนู„ู‰ ู…ูŠู†ุŸ ุนู„ู‰ ุงู„
285
00:20:51,720 --> 00:20:54,940
implementation killer action ุณู…ูŠุช ู„ู€ class ุทุจูŠุนูŠ ูˆ
286
00:20:54,940 --> 00:20:57,780
ุนุงู…ู„ implement ู„ู€ action listener implement ู„ู€
287
00:20:57,780 --> 00:20:59,900
action listener ู…ุนู†ุงุชู‡ ูู‡ูŠ ู„ุงุฒู… ู„ูŠ ุฃุนู…ู„
288
00:20:59,900 --> 00:21:02,840
implementation ู„ู€ ุงู„ู€ abstract method ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ
289
00:21:02,840 --> 00:21:07,180
abstract method ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุงุณู…ู‡ุง action performed
290
00:21:07,180 --> 00:21:12,500
ู‡ุงูŠ ุงู„ุชุญู†ูŠุฌูŠู‡ุง ุนุฑูุช killer background killer ูˆ
291
00:21:12,500 --> 00:21:14,660
killer action constructor
292
00:21:17,060 --> 00:21:22,120
ูˆู…ู…ุฑุฑุชู„ู‡ุง object ู…ู† ู†ูˆุน color ููŠ ุงู„ู€ implementation
293
00:21:22,120 --> 00:21:25,600
ู‡ู†ุง ุจูƒุชุจ ุงู„ู€ code ุงู„ู„ูŠ ุจุฏูŠู‡ุง ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ ุฌูŠ
294
00:21:25,600 --> 00:21:29,040
option ุจูŠู† dot show dialog message ุฃูˆ dot show
295
00:21:29,040 --> 00:21:33,400
message ุงุฏูŠู†ูŠ ุงุณู… ุงู„ู€ color ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏู‡ุง ุนุดุงู†
296
00:21:33,400 --> 00:21:38,340
ุฃุนุฑุถู‡ ุงู„ู€ color ุงู„ู„ูŠ ุงุฎุชุฑุชู‡ ููŠ ุงู„ู€ implementation
297
00:21:38,340 --> 00:21:43,560
ุฃู†ุง ุฃุฎุฏุช color action ุงู„ู„ูŠ ู‡ูŠ ู†ูˆุนู‡ุง ู…ู† ู†ูˆุน ุนูŠุด
298
00:21:43,560 --> 00:21:45,440
listener
299
00:21:47,650 --> 00:21:51,370
ู…ุตุจูˆุทุŸ ActionListener ุจุงู„ุชุญุฏูŠุฏ ู…ุด ู‡ูŠ ุนุงู…ู„ุฉ
300
00:21:51,370 --> 00:21:53,890
implementation ู„ู€ ActionListenerุŸ ุทูŠุจุŒ ู‡ุฐู‡
301
00:21:53,890 --> 00:21:57,090
listener ู‡ูŠ ูˆุงุญุฏุŒ ู‡ูŠ ุงุซู†ูŠู†ุŒ ู‡ูŠ ุซู„ุงุซุฉ ุงู„ู€ new
302
00:21:57,090 --> 00:22:01,010
action listener ุฃูˆ ุงู„ู€ new color action ุฃุตูุฑุŒ
303
00:22:01,010 --> 00:22:04,370
ุฃุฒุฑู‚ุŒ ุฃุญู…ุฑ ุงู„ุฃู„ูˆุงู† ุฃูˆ ุงู„ู€ initial color ุงู„ู„ูŠ ุฃู†ุง
304
00:22:04,370 --> 00:22:09,630
ู…ุฑุฑุชู‡ ู„ู„ู€ constructor ุงู„ู€ constructor ู‡ูˆ ู‡ุฐุง ูˆ ุณูˆูŠุช
305
00:22:09,630 --> 00:22:13,870
ุงู„ู€ background ุจุงู„ุจุฑุงู…ูŠุฑ ุชุจุน ุงู„ู€ constructor ุฅูŠู‡ ุตุงุฑ
306
00:22:13,870 --> 00:22:18,450
ููŠ ุนู†ุฏูŠ ุฃู†ุง ุงู„ุขู†ุŸุตุงุฑ ููŠ ุนู†ุฏูŠ ุฃู†ุง three objects ูƒู„
307
00:22:18,450 --> 00:22:22,170
ูˆุงุญุฏ ููŠู‡ู… ุจูŠู…ุซู„ action listener different action
308
00:22:22,170 --> 00:22:25,970
listener ูˆูƒู„ ูˆุงุญุฏ ููŠู‡ character ู…ุฎุชู„ูุฉ ุงู„ู„ูŠ ู‡ูŠ
309
00:22:25,970 --> 00:22:30,050
ู‚ูŠู…ุฉ ุงู„ู„ูˆู† ูˆู„ุง ู„ุฃ ูˆ ุฃุชูŠุช ุนู„ู‰ ุงู„ู…ูุงุชูŠุญ ุฃู†ุง ููŠ ุนู†ุฏูŠ
310
00:22:30,050 --> 00:22:34,050
ุซู„ุงุซุฉ ู…ูุงุชูŠุญ ู…ุนุฑูุงุช ุงู„ู€ yellow button ุงู„ู€ blue button
311
00:22:34,050 --> 00:22:38,010
ูˆ ุงู„ู€ red button ุซู„ุงุซุฉ ู…ูุงุชูŠุญ ูˆ ู…ุน ูƒู„ ูˆุงุญุฏ ุงุนุชู…ุฏุช ุนู„ู‰
312
00:22:38,010 --> 00:22:43,170
ุงู„ู€ method ุงู„ู„ูŠ ุงุณู…ู‡ุง add action listener ูˆ ุฃุฏูŠุช ู„ู‡
313
00:22:43,170 --> 00:22:49,650
listener ู…ุณุชู‚ู„ ุฃุฏูŠุช ูƒู„ ูˆุงุญุฏุฉ ู…ู†ู‡ู… listener ู…ุณุชู‚ู„ ุจุณ
314
00:22:49,650 --> 00:22:54,310
predefined ุฃู†ุง ุนุฑูุชู‡ ู…ุณุจู‚ู‹ุง ู‡ูŠูƒ ู„ู…ุง ุฃู†ุง ุจุฃุฌูŠ ุจุฃุถุบุท
315
00:22:54,310 --> 00:22:58,690
ุนู„ู‰ ุงู„ู…ูุชุงุญ ุงู„ุฃุตูุฑ ุนู„ู‰ ูุฑุถ ู‡ุงูŠ ุงู„ุซู„ุงุซ ู…ูุงุชูŠุญ
316
00:22:58,690 --> 00:23:04,850
yellow blue
317
00:23:04,850 --> 00:23:08,150
red
318
00:23:09,640 --> 00:23:13,680
ู„ู…ุง ุฃู†ุง ุจู‚ุนุฏ ูŠุจู‚ู‰ ุจุบุทู‡ุง ุจูŠู†ุนู…ู„ release ู„ู€ event
319
00:23:13,680 --> 00:23:18,740
listener ุนููˆุงู‹ ู„ู€ event object action event ู…ูŠู† ุงู„ู„ูŠ
320
00:23:18,740 --> 00:23:26,460
ุจูŠู…ุณูƒู‡ุŸ ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ Yield Action ู„ูŠุดุŸ ู„ุฃู† ู‡ุฐุง ุงู„ู€
321
00:23:26,460 --> 00:23:29,120
Yield Action ุนุงู…ู„ู‡ ุจูŠุณุชู…ุน ู„ูƒู„ ุงู„ู€ event ุงู„ู„ูŠ ุจุชุตุฏุฑ
322
00:23:29,120 --> 00:23:34,980
ู…ู†ู‡ู… ุนู† ุงู„ู…ูุชุงุญ ุงู„ุฃุตูุฑ ู‡ูŠูˆุง ุจูŠู†ุฌูˆ ุณูŠู† ุฃู†ุง ุญุทูŠุช ู„ูƒู„
323
00:23:34,980 --> 00:23:40,900
ู…ูุชุงุญ ู…ุฑุงู‚ุจ ู…ุณุชู‚ู„ ู…ุตุจูˆุทุŸ ูˆ ุงู„ู…ุฑุงู‚ุจ ู‡ุฐุง ู…ุนุฑูˆู ู„ู‡
324
00:23:40,900 --> 00:23:46,580
ุงุณู…ู‡ ูˆู„ู‡ ุงู„ู€ properties ุชุจุนุชู‡ ุชู…ุงู…ุŸ ูˆุจุงู„ุชุงู„ูŠ ู„ู…ุง
325
00:23:46,580 --> 00:23:50,100
ุจู†ุนู…ู„ execution ู‡ูŠุฑูˆุญ ูŠุงุฎุฏ ู‚ูŠู…ุฉ ุงู„ู€ loan ูˆูŠุธู‡ุฑ
326
00:23:50,100 --> 00:23:54,240
ู„ู‡ุง ู…ุซู„ุงู‹ ููŠ ุงู„ู€ show message ุทูŠุจ ุงู„ุทุฑูŠู‚ุฉ ุงู„ุซุงู†ูŠุฉ
327
00:23:54,240 --> 00:24:01,100
ุฃู† ุฃู†ุง ุฃุนุฑู global listener global listener ุฅูŠุด
328
00:24:01,100 --> 00:24:05,780
ูŠุนู†ูŠ global listenerุŸ ูŠุนู†ูŠ ู‚ุงุฏุฑ ุฃู‚ูˆู„ ู„ู‡ ู‡ู†ุง action
329
00:24:05,780 --> 00:24:10,380
listener ุงุณู…ู‡ listener new action listener ูˆ ุจู…ุฌุฑุฏ
330
00:24:10,380 --> 00:24:13,400
ุฃู‚ูˆู„ new action listener ู‡ูŠุฑูˆุญ ูŠุนู…ู„ execution ูˆ
331
00:24:13,400 --> 00:24:17,440
ูŠุนู…ู„ override ู„ู„ู€ action performed ูˆ ูŠู‚ูˆู„ ุฃุนู…ู„
332
00:24:17,440 --> 00:24:21,340
implementation ู„ู…ุง ุฃู†ุง ุจุชูƒู„ู… ุนู„ู‰ global listener
333
00:24:21,340 --> 00:24:25,380
global listener ูŠุนู†ูŠ ุงู„ู€ listener ู†ูุณู‡ ุจุฏูŠ ุฃุณุชุฎุฏู…ู‡
334
00:24:25,380 --> 00:24:29,740
ู…ุน ุงู„ุซู„ุงุซ ู…ูุงุชูŠุญ ุฃูˆ ุงู„ุฃุฑุจุน ู…ูุงุชูŠุญ ุงู„ุณุงุจู‚ุงุช ุจูŠู†ูุนุŸ
335
00:24:29,740 --> 00:24:35,050
ุฃู‡ ุจูŠู†ูุน ุจุณ ุจุฏูŠ ุฃุฒูˆุฏู‡ ุจุงู„ู€ Code ุดูˆูŠุฉ ุนุดุงู† ุฃุนุฑู ู…ู†
336
00:24:35,050 --> 00:24:38,330
ุงู„ู€ Button ุงู„ู„ูŠ ุนู…ู„ ุงู„ู€ Release ู„ู„ู€ Event ู„ุฃู†ู‡
337
00:24:38,330 --> 00:24:45,130
ุงู„ุขู† ุฅุฐุง ุฃู†ุง ุจู‚ูˆู„ ู‡ุฏูˆู„ุฉ ุงู„ุซู„ุงุซ ุงู„ู€ Yellow ูˆ ุงู„ู€
338
00:24:45,130 --> 00:24:51,950
Blue ูˆ ุงู„ู€ Red ู‡ุฏูˆู„ุฉ ุงู„ุซู„ุงุซ ุจุฏูˆุง ูŠุชุจุนู‡ู… ู†ูุณ
339
00:24:51,950 --> 00:24:57,150
ุงู„ู…ุฑุงู‚ุจ G
340
00:24:57,150 --> 00:25:01,790
-Listener ุนู„ู‰ ุฃู†ู‡ Global Listener ู…ุด ุงู„ู…ูุฑูˆุถ ุฃู‚ุฏุฑ
341
00:25:01,790 --> 00:25:06,150
ุฃูุฌูŽู…ูู‘ุฒ ู„ู…ุง ุงู„ู€ listener ู‡ุฐุง ุจุฏู‡ ูŠุงุฎุฏ action ุฃูˆ ุจุฏู‡
342
00:25:06,150 --> 00:25:09,710
ูŠู†ูุฐ code ูŠู‚ุฏุฑ ูŠู…ูŠุฒ ู…ู† ุงู„ู€ button ุงู„ู„ูŠ ุงู†ุถุบุท ู„ุฃู†ู‡ ู„ู…ุง
343
00:25:09,710 --> 00:25:13,110
ุฃู†ุง ุงู†ุถุบุท ุนู„ู‰ yellow ุนู„ู‰ ุงู„ุฃู‚ู„ ุจุฏูŠ ู„ูˆู† ุฃุตูุฑ ุจุฏูŠุด
344
00:25:13,110 --> 00:25:17,410
ุฃุญู…ุฑ ูˆู„ุง ุฃุฎุถุฑ ูˆู„ุง ู„ุง ูุฃู†ุง ุจุฏูŠ ุงู„ู„ูˆู† ุงู„ู„ูŠ ุฃู†ุง ูˆุฑุงู‡
345
00:25:17,410 --> 00:25:20,930
ุงู„ู€ button ุจุฏูŠ ุงู„ู€ action ูˆุฑุงู‡ ุงู„ู€ button ูˆู‡ุฐุง ุจูŠู‚ุชุถูŠ ู…ู†ูŠ ุฃุนุฑู
346
00:25:20,930 --> 00:25:24,970
ุงู„ู€ source ู…ูŠู† ุจุนุฑู ุงู„ู€ source ุงู„ู€ object ุฃูˆ ุงู„ู€
347
00:25:24,970 --> 00:25:29,510
action event ุงู„ู„ูŠ ุงุญู†ุง ู†ู‚ูˆู„ู‡ ู…ู† ุงู„ุจุฏุงูŠุฉ ุงู„ู€ source
348
00:25:29,510 --> 00:25:33,290
ู„ู…ุง ุจูŠุนู…ู„ release ู„ู„ู€ event object ู‡ุฐุง ุงู„ู€ event
349
00:25:33,290 --> 00:25:37,310
object ุจูŠุญุชูˆูŠ ุนู„ู‰ ู…ุนู„ูˆู…ุงุช ุนู† ุงู„ู€ source ูˆ ูˆู‚ุช ูŠุตูŠุฑ
350
00:25:37,310 --> 00:25:43,290
ุงู„ู€ event ู‡ุฐุง ุฅู„ู‰ ุขุฎุฑูŠู† ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ู…ู…ูƒู† ุฃุฑูˆุญ ุฃุฎุฏ
351
00:25:43,290 --> 00:25:45,610
action ููŠ ุงู„ู€ code ุชุจุนูŠ ุฃุฑูˆุญ ุฃู‚ูˆู„ ู„ู‡ ุงู„ู€ object
352
00:25:45,610 --> 00:25:51,830
source event.get source if source equal red button
353
00:25:51,830 --> 00:25:57,240
ู…ุนู†ุงุชู‡ ุงู„ู€ color ุชุจุนูŠ ุจูŠุตูŠุฑ ุฃุญู…ุฑ if .. if ..ุงู„ู€
354
00:25:57,240 --> 00:26:01,700
Source ุจุชุณุงูˆูŠ Blue Button ุทูŠุจุŒ
355
00:26:01,700 --> 00:26:05,860
ู‡ุฏูˆู„ ุงู„ู€ Assignment ู…ู† ูˆูŠู† ุฃู†ุง ุฌุจุชู‡ู…ุŸ ู‡ุฏูˆู„ ุฃุณู…ุงุก
356
00:26:05,860 --> 00:26:09,940
ุงู„ู€ Button ุงู„ู„ูŠ ุฃู†ุง ุนุฑูุชู‡ู… ูˆู…ุด ุจุณ ุนุฑูุชู‡ู… ูƒู…ุงู† ุฑุจุทุช
357
00:26:09,940 --> 00:26:14,840
.. ูˆู‡ุฐุง ุจุณ ุฌุงูŠ ู…ุณุชุนุฏ ูŠู„ุญู‚ ู„ู„ู…ูุชุงุญ ุฑุจุทุช ุงู„ู€ Buttons
358
00:26:14,840 --> 00:26:18,920
ุจู†ูุณ ุงู„ู€ Listener ุงู„ู€ Red ูˆ ุงู„ู€ Blue ูˆ ุงู„ู€ Yellow
359
00:26:18,920 --> 00:26:23,650
ุญุทูŠุชู‡ู… ูƒู„ู‡ู… ุงู„ู„ูŠ ู‡ูˆ ู†ูุณ ุงู„ู…ุฑุงู‚ุจ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ ู‡ู†ุง
360
00:26:23,650 --> 00:26:27,630
ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ุตุฑุช ุจุฃุชูƒู„ู… ุฅู†ู‡ okay ู‡ุงูŠ ุงู„ู€ code
361
00:26:27,630 --> 00:26:30,770
ุจูŠุดุชุบู„ ู…ุน ุงู„ู€ general items ุงู„ู„ูŠ ู…ูˆุฌูˆุฏูŠู† ุนู†ุฏูŠ
362
00:26:30,770 --> 00:26:35,790
ุงู„ุทุฑูŠู‚ุฉ ุงู„ุซุงู„ุซุฉ ุทุจ ุงุญู†ุง ู‡ุญุงูˆู„ ู†ุฑุฌุน ู…ุนุงูƒู… ูƒูˆุฏ ุนู…ู„ูŠ
363
00:26:35,790 --> 00:26:41,810
ุงู„ุขู† ุนุดุงู† ุงู„ููƒุฑุฉ ุชุฑุณุฎ ุฅู† ุดุงุก ุงู„ู„ู‡ ุงู„ุทุฑูŠู‚ุฉ ุงู„ุซุงู„ุซุฉ
364
00:26:41,810 --> 00:26:44,970
ุงุญู†ุง ู‚ูˆู„ู†ุง ุงู„ุฃูˆู„ู‰ ุฃุนู…ู„ implementation ุฃุจู†ูŠ my own
365
00:26:44,970 --> 00:26:47,920
listener ุจุงู„ู€ implementation ู„ู„ู€ listener ุงู„ู„ูŠ
366
00:26:47,920 --> 00:26:52,020
ู…ูˆุฌูˆุฏ ุทุฑูŠู‚ุฉ ุซุงู†ูŠุฉ ุฃุนุฑู global listener ูˆู‡ุฐุง ุจูŠู‚ุชุถูŠ
367
00:26:52,020 --> 00:26:56,680
ู…ู†ูŠ ุฃุนุฑู ูˆ ุฃุนุฑู ู…ู†ู‡ ุงู„ู€ source ุงู„ุดุบู„ุฉ ุงู„ุซุงู„ุซุฉ ุฃู†ูŠ
368
00:26:56,680 --> 00:26:59,780
ุฃุนุชู…ุฏ ุนู„ู‰ ุงู„ู€ anonymous listener ุงู„ู„ูŠ ุงุญู†ุง ุฐูƒุฑู†ุงู‡ุง
369
00:26:59,780 --> 00:27:03,440
ู‚ุจู„ ุดูˆูŠุฉ object listener ุจุฏูˆู† ุงุณู… ูƒูŠู ู‡ุฐุง ุงู„ูƒู„ุงู…
370
00:27:03,440 --> 00:27:07,400
ุจูŠุตูŠุฑุŸ ุจูŠุตูŠุฑ ุจูƒู„ ุจุณุงุทุฉ ุจุนุฏ ู…ุง ุฃู†ุง ุจู†ุดู‚ ุงู„ู…ูุงุชูŠุญ
371
00:27:07,400 --> 00:27:10,980
ุงู„ู„ูŠ ุนู†ุฏูŠ ุจุฑูˆุญ ุนู„ู‰ ุงู„ู€ method ุงู„ู„ูŠ ุจุฏูˆู† ุงุณู…ู‡ุง add
372
00:27:10,980 --> 00:27:15,720
actual listener ู„ู„ู…ูุชุงุญ ุงู„ุฃูˆู„ RedButton
373
00:27:15,720 --> 00:27:20,400
.AddActionListener ูˆุจุฏู„ ู…ุฒูˆุฏู‡ุง predefined object
374
00:27:20,400 --> 00:27:25,360
ุจู†ุดูŠ ุงู„ู€ object on a fly a new action listener
375
00:27:25,360 --> 00:27:28,060
ู…ุจุงุดุฑุฉ ู‡ูŠุฑูˆุญ ูŠู‚ูˆู„ ู„ูŠ ู‡ุงูŠ ุงู„ู€ method ู‡ุฐูŠ ุนู…ู„ู‡ ุงูŠุด
376
00:27:28,060 --> 00:27:32,920
execution ูˆู‡ูŠ ุงู„ู€ color ู‡ุงู† ุจูƒ ุชูƒุชุจ ุงู„ู€ code ุงู„ู„ูŠ
377
00:27:32,920 --> 00:27:38,300
ุจู†ุนู…ู„ู‡ execution ูƒู…ุงู† ู…ุฑุฉ ุงู„ุขู† ู„ุงุญุธ ุงู„ู€ two buttons
378
00:27:38,300 --> 00:27:43,710
ู‡ุฏูˆู„ ุนู„ูŠู‡ู… different listener ุนู„ูŠู‡ู… different
379
00:27:43,710 --> 00:27:48,270
listeners different listeners ููŠ ุงู„ุญุงู„ุฉ ู‡ุฐู‡ ุงู„ู€ two
380
00:27:48,270 --> 00:27:52,670
buttons ู‡ุฏูˆู„ ุนู„ูŠู‡ู… ู†ูุณ ุงู„ู€ listener ูˆ ุงู„ุญุงู„ุฉ ุงู„ุฃูˆู„ู‰
381
00:27:52,670 --> 00:28:00,650
ู‡ุฐู‡ ูƒู„ ูˆุงุญุฏ ุนู„ูŠู‡ listener ู…ุฎุชู„ู ุงู„ุฃูˆู„ู‰
382
00:28:00,650 --> 00:28:07,370
ูˆ ุงู„ุซุงู†ูŠุฉ ูˆ ุงู„ุซุงู„ุซุฉ ุงู„ูุฑู‚ ุจูŠู†ู‡ู… ุจุณ ุฃู† ุงู„ู€ object
383
00:28:07,370 --> 00:28:09,950
ุงู„ู„ูŠ ู…ู† ุงู„ุฃูˆู„ู‰ ุฃู†ุง ู…ุนุฑูู‡ ูˆู…ุนุฑููŠ ุงู„ู€ characteristics
384
00:28:09,950 --> 00:28:13,970
ุชุจุนุชู‡ ุจุงู„ูƒุงู…ู„ ู„ุฃู† ุฃู†ุง ู…ุนุฑู object ุจูŠู†ู…ุง ุงู„ุซุงู†ูŠ ุฃู†ุง
385
00:28:13,970 --> 00:28:17,930
ุนุฑูุชู‡ on a fly ูˆุจุงู„ุชุงู„ูŠ ู…ุง ุชุญูƒู…ุชุด ุจุงู„ุนู†ุงุตุฑ ุชุจุนุชู‡
386
00:28:17,930 --> 00:28:22,930
ูŠุนู†ูŠ ู„ุงุญุธูŠ ูƒู…ุงู† ู…ุฑุฉ ููŠ ุงู„ุฃูˆู„ ููŠ ุงู„ุฃูˆู„ู‰ ู‡ูŠ ุงู„ู€
387
00:28:22,930 --> 00:28:26,230
constructor ุฃูˆ ุนููˆุงู‹ ู‡ูŠ ุงู„ู€ object ู‡ุฐุง ุนุจุงุฑุฉ ุนู†
388
00:28:26,230 --> 00:28:28,690
action listener
389
00:28:30,970 --> 00:28:33,930
object ูƒูŠู ู‡ุฐุง ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ุฃู†ุง ุจู‚ูˆู„ู‡ุŸ ู„ุฃู†ู‡ ุฃู†ุง
390
00:28:33,930 --> 00:28:38,650
ุนุงู…ู„ implement here ู„ู„ู€
391
00:28:38,650 --> 00:28:41,090
action listener ูุจุงู„ุชุงู„ูŠ ุงู„ู€ object ุชุจุนูŠ ู‡ูˆ ุนุจุงุฑุฉ
392
00:28:41,090 --> 00:28:48,590
ุนู† action listener object ุฏูŠ ุจุณ ุฅู„ู‡ุง ุงุณู… ู‡ุฐุง
393
00:28:48,590 --> 00:28:52,010
ูˆ ู‡ุฐุง ูˆ ู‡ุฐุง ุงู„ู„ูŠ ู‡ู… ู†ูุณ ุงู„ู€ implementation ุงู„ู„ูŠ ู‡ู…
394
00:28:52,010 --> 00:28:56,010
ู†ูุณ ุงู„ู€ implementation ุจุณ ุฅูŠุด ุงู„ูุฑู‚ ู…ุนุงูŠุง ุงู„ู€ value
395
00:28:57,360 --> 00:29:00,480
ุชุจุน ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ hand ุจูŠู†ู…ุง ููŠ ุงู„ู€ anonymous
396
00:29:00,480 --> 00:29:09,480
hand different action different listener object ูˆ
397
00:29:09,480 --> 00:29:13,440
different implementation different implementation
398
00:29:13,440 --> 00:29:21,160
anyway ุงู„ู€ action listener ู…ุด ุจุณ ู…ุน ุงู„ู€ button ู…ูˆุฌูˆุฏ
399
00:29:21,160 --> 00:29:23,220
ู…ุน ุงู„ุนู†ุงุตุฑ ุงู„ุชุงู„ูŠุฉ ู‡ุฏูˆู„
400
00:29:26,460 --> 00:29:31,440
ู‡ู„ ู…ู…ูƒู† ุฃู†ุง ุฃุณุฌู„ ุงู„ู€ ActionListener ู„ู…ุง ุจุชู‚ูˆู„ ู„ู…ุง
401
00:29:31,440 --> 00:29:33,840
ุจูƒูˆู† ููŠ ุนู†ุฏูŠ list ูˆ ุจุฑูˆุญ ุจุนู…ู„ ุนู„ู‰ ุงู„ู€ element
402
00:29:33,840 --> 00:29:38,660
double click ููŠ ุนู†ุฏู†ุง list ุงู‡ ููŠ ุนู†ุฏู†ุง ุงู„ู€ Jlist ูˆ
403
00:29:38,660 --> 00:29:42,500
ููŠ ุนู†ุฏู†ุง ุงู„ู€ combo box ู‡ูŠ ุนุจุงุฑุฉ ุนู† list ู„ู…ุง ูŠูƒูˆู† ููŠ
404
00:29:42,500 --> 00:29:44,780
ุนู†ุฏูŠ menu item ุงู„ู„ูŠ ู‡ู†ุดูˆูู‡ ุฎู„ุงู„ ุงู„ู…ุญุงุถุฑุงุช ุงู„ุฌุงูŠุฉ
405
00:29:44,780 --> 00:29:49,100
ูƒูŠู ุชุชุนุงู…ู„ ู…ุน ุงู„ู€ menus ูˆ ุนู…ู„ุช ุนู„ูŠู‡ select ู„ูˆ ุฃู†ุง
406
00:29:49,100 --> 00:29:51,820
ุจุชุนุงู…ู„ .. ุฌุงุนุฏ user ููŠ ุงู„ู€ text field ูˆ ุฑุงุญ ุถุบุท
407
00:29:51,820 --> 00:29:56,140
ู…ูุชุงุญ enter ุจุฑุถู‡ ุนุจุงุฑุฉ ุนู† action listener ู„ุฃู†ู‡
408
00:29:56,140 --> 00:29:59,240
ุจูŠุนู…ู„ release ู„ู€ action event ู„ูˆ ูƒุงู† ููŠ ุนู†ุฏูŠ timer
409
00:29:59,240 --> 00:30:04,460
component ูˆ ุงู„ู€ cycle ุชุจุนุชู‡ุง ุฎู„ุตุช ุจุฑุถู‡ ุจุชุนู…ู„
410
00:30:04,460 --> 00:30:08,000
release ู„ู€ action event ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ู…ู…ูƒู† ุฃุณุฌู„ ุงู„ู€
411
00:30:08,000 --> 00:30:12,220
action listener ุนู†ุฏู‡ู… ุจุชู…ู†ู‰ ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ู‚ู„ุชู‡ ุณุงุจู‚ู‹ุง
412
00:30:12,220 --> 00:30:16,460
ูŠูƒูˆู† ุณู‡ู„ ุชุนุงู„ ู†ุดูˆู implementation ุจุดูƒู„ ุจุณูŠุท ู„ู„ู€
413
00:30:16,460 --> 00:30:24,810
code ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏู†ุง ู‡ู†ุง ุจุฑู†ุงู…ุฌ ู‡ุฐุง ู…ุง ููŠุด ููŠู‡ ุดุบู„ุฉ
414
00:30:24,810 --> 00:30:30,650
ุฌุฏูŠุฏุฉ ุงุญู†ุง ุดูู†ุงู‡ุง ุณุงุจู‚ู‹ุง ุจุฏูŠ
415
00:30:30,650 --> 00:30:36,110
ุฃุนู…ู„ execute ุจุณ
416
00:30:36,110 --> 00:30:42,370
frame ู…ุง ููŠุด ุนู„ูŠู‡ ูˆู„ุง ุญุงุฌุฉ ููŠู‡ ููŠ ุฏุงุฎู„ู‡ panel ุญุชู‰
417
00:30:42,370 --> 00:30:49,210
ู…ุด ุนุงู…ู„ ุฌูŠู„ ู†ุงุณูŠ ุนุงู…ู„ ุฌูŠู„ except okay ู„ูŠูƒู† ุงู„ุขู† ุงู„ู€
418
00:30:49,210 --> 00:30:55,740
code ุงู„ู„ูŠ ุจุฏูŠ ุฃุณูˆูŠู‡ ู‡ู†ุง ุฎู„ูŠูƒูŠ ู…ุนุงูŠุง ู†ุนู… ุฃู†ุง ุงู„ุขู†
419
00:30:55,740 --> 00:31:00,500
ูƒู…ุงู† ู…ุฑุฉ ุงู„ุจูˆุชูˆู† ู…ุง ุธู‡ุฑุชุด ู„ูŠุด ู„ุฃู†ู‡ู… ู…ุด ู…ุถุงููŠู† ุนู„ู‰
420
00:31:00,500 --> 00:31:07,700
ุงู„ู€ panel ุจุณ ู‡ุถูŠูู‡ู… ุนู„ู‰ ุงู„ู€ panel mybunnel
421
00:31:07,700 --> 00:31:18,100
.add red
422
00:31:18,100 --> 00:31:23,800
mypanel.add
423
00:31:27,770 --> 00:31:37,170
ูˆ ู‡ูŠ blue ุงู„ุขู†
424
00:31:37,170 --> 00:31:41,070
ู…ูˆุฌูˆุฏูŠู† ุนู„ู‰ ุงู„ panel ู…ุงููŠุด ู…ุดูƒู„ุฉ ููŠ ุงู„ู…ูˆุถูˆุน ูˆ ุจุฏูŠ
425
00:31:41,070 --> 00:31:46,290
ุงุฑูˆุญ ู„ู„ frame ุงู„ jframe. ุงู†ุง ู…ุถูŠูˆู okay set
426
00:31:46,290 --> 00:31:53,050
default close operation jframe.
427
00:31:59,400 --> 00:32:06,560
frame.exit on close ุนุดุงู† ุงูŠุดุŸ ุนุดุงู† ูŠุชุณูƒุฑ ู„ู…ุง ..
428
00:32:06,560 --> 00:32:09,720
ู‡ูŠูƒ ุชู…ุงู… ู‡ุงูŠ ุงู„ application ุดูˆูู†ุงู‡ุง ุงุญู†ุง ุณุงุจู‚ุง
429
00:32:09,720 --> 00:32:17,640
ุจุงู„ุดูƒู„ ู‡ุฐุง ู‡ูŠู‡ red ูˆ blue okay
430
00:32:17,640 --> 00:32:22,800
ู„ูŠุด ุถุนูู‡ู… ููˆู‚ุŸ ุงู„ frame ุงู„ frame ุงู„ู„ูŠ ุนู„ูŠู‡ ุฅูŠุด
431
00:32:22,800 --> 00:32:27,520
ุงุณู…ู‡ุŸ ุงู„ frame ุฅูŠุด ุงู„ layout ุงู„ู„ูŠ ุนู„ูŠู‡ุŸ border ุชู…ุงู…
432
00:32:27,520 --> 00:32:31,480
ูŠุนู†ูŠ ู„ู…ุง ู‡ุถูŠู ู‡ุถูŠู ููŠ ุงู„ center ุงู†ุง ุถูุช ุงู„ buttons
433
00:32:31,480 --> 00:32:35,420
ุนู„ู‰ ุงู„ panel ุงู„ default layout ุชุจุนุช ุงู„ panel flow
434
00:32:35,420 --> 00:32:41,380
flow ูุฑุญ ุญุท ุงู„ panel ูƒู„ู‡ุง ูˆูŠู† ููŠ ุงู„ center ุญุท ุงู„
435
00:32:41,380 --> 00:32:44,620
panel ููŠ ุงู„ center ูุตุงุฑุช ุงู„ panel ุญุฏุฏ ู…ู† ุงู„ frame
436
00:32:44,620 --> 00:32:48,780
ุจุงู„ูƒุงู…ู„ ู…ุตุจูˆุท ูˆ ุงู„ two buttons ุฃุฎุฏูˆุง ููŠ ุฃูˆู„ ุณุทุฑ ูˆ
437
00:32:48,780 --> 00:32:53,100
default alignment center ุนุดุงู† ู‡ูŠูƒ ุฃุฌูˆุง ู‡ู†ุง okay
438
00:32:53,100 --> 00:32:54,480
ุงู„ุขู†
439
00:32:57,390 --> 00:33:01,470
ุจุฏุฃ ุฃุนุฑู Global
440
00:33:01,470 --> 00:33:05,730
ActionListener
441
00:33:05,730 --> 00:33:12,850
ActionListener
442
00:33:12,850 --> 00:33:19,890
ุจุฏูŠ ุฃุณู…ูŠู‡ MyListener new
443
00:33:19,890 --> 00:33:23,430
ActionListener
444
00:33:23,430 --> 00:33:25,970
ู„ุงุญุธูŠ ุจู…ุฌุฑุฏ ู‚ู„ุช ู„ู‡ New ActionListener
445
00:33:28,980 --> 00:33:33,860
ุฑุงุญ ูŠุนู…ู„ override ู„ู…ู†ุŸ ู„ู€ actionPerformed method
446
00:33:33,860 --> 00:33:39,920
ุชู…ุงู… ุงู„ุขู†
447
00:33:39,920 --> 00:33:45,080
ุงู†ุง ู‡ู†ุง ุงูŠุด ุจุฏูŠ ุงุนู…ู„ actionุŸ ุจุฏูŠ ุงุบูŠุฑ ู„ูˆู† ุงู„ panel
448
00:33:45,080 --> 00:33:51,500
ู„ูˆู† ุงู„ panel ู…ุซู„ุง mypanel.set background
449
00:33:51,500 --> 00:33:56,700
color color. ู…ุซู„ุง cyan
450
00:34:01,940 --> 00:34:07,080
ู„ูˆ ุฃู†ุง ุดุบู„ุช ูˆุถุบุทุช ุนู„ู‰ ุงู„ู…ูุชุงุญ ุฃูŠุด ุจุฏู‡ ูŠุตูŠุฑ ุนู†ุฏูŠุŸ
451
00:34:07,080 --> 00:34:13,620
ูˆู„ุง ุญุงุฌุฉุŒ ู„ูŠุดุŸ ู„ุฃู† ุฃู†ุง ุนู…ู„ุช listener ู„ูƒู† ู…ุง ู‚ู„ุช ู„ู‡
452
00:34:13,620 --> 00:34:20,380
ูŠุชุณู†ุท ุฃูˆ ูŠุชุงุจุน ู…ูŠู†ุŒ ู…ุง ู‚ู„ุช ู„ู‡ ูŠุชุงุจุน ู…ูŠู†ุŒ ุชู…ุงู… ู…ุนู†ุงุชู‡
453
00:34:20,380 --> 00:34:24,160
ุฃู† ุงู„ุขู† ุจุฏูŠ ุฃุฑูˆุญ ุนู„ู‰ ุงู„ button ุงู„ button ุงู„ุฃูˆู„
454
00:34:24,160 --> 00:34:28,560
ุงุณู…ู‡ red.addActionListener ูˆ ุงู„ listener ุงู„ุชุงุจุน
455
00:34:28,560 --> 00:34:31,620
ุงุณู…ู‡ mylistener ู…ุตุจูˆุท ูˆุจุนุฏูŠู† ุฃุฑูˆุญ ุนู„ู‰ ุงู„ button
456
00:34:31,620 --> 00:34:38,960
ุงู„ุชุงู†ูŠ blue button.addActionListener ูˆุจุฑุถู‡
457
00:34:38,960 --> 00:34:45,920
ู‡ุงูŠ mylistener ุงู„ุขู† ุตุงุฑูˆุง ุงู„ุชู†ูŠู† ุจูŠุดุชุบู„ูˆุง ุจู†ูุณ ุงู„
458
00:34:45,920 --> 00:34:49,640
code ู…ุตุจูˆุท ู„ูˆ ุฃู†ุง ุงุถุบุท ุนู„ู‰ ุงู„ุฃุณุฏ ุนู„ู‰ ุงู„ุญู…ุฑ ุงู„ุฃู‡ู…
459
00:34:49,640 --> 00:34:51,800
ู…ุงููŠุด ู„ุฅู† ุงู„ุชู†ูŠู† ุจูŠุนู…ู„ูˆุง ุจู†ูุณ ุงู„ implementation
460
00:34:51,800 --> 00:34:57,420
ู…ุนู…ูˆู„ุฉ ู„ู‡ู… ู†ูุณ ุงู„ implementation ุชู…ุงู… ูˆุจุงู„ุชุงู„ูŠ ู‡ุฐุง
461
00:34:57,420 --> 00:35:00,360
ุงู„ูƒู„ุงู… ู…ุง ุจุธุจุทุด ู„ู…ุง ูŠูƒูˆู† ููŠ ุนู†ุฏูŠ general listener
462
00:35:00,360 --> 00:35:03,180
ู…ุนู†ุงู‡ ุงู† ุงู†ุง ุฃุฑูŠุฏ ุฃู† ูŠูƒูˆู† ุงู„ action ุชุจุนูŠ ู…ุฎุชู„ู
463
00:35:03,180 --> 00:35:12,420
ุงู„ุขู† ุงู„ action ุชุจุนูŠ ู…ุฎุชู„ู ู‡ุฑูˆุญ ุฃุนุฑู object ุงู„
464
00:35:12,420 --> 00:35:19,170
s ูŠุณุงูˆูŠ ุงู„ event ุงู„ู„ูŠ ุนู†ุฏูŠ e.getSource ู‡ูŠูƒ ุณุฃุฑุช
465
00:35:19,170 --> 00:35:22,790
ุงู†ุง ุนุงุฑู ุงู† ุงู„ source ุงู„ู„ูŠ ุนู†ุฏูŠ ู‡ุฐุง ู…ูŠู† ู‡ูˆ ู‡ุงู†ูŠ
466
00:35:22,790 --> 00:35:26,470
ู…ุงุณูƒู‡ ููŠ variable ูˆ ุจู‚ุฏุฑ ุงุนู…ู„ ุนู„ูŠู‡ ู…ู‚ุงุฑู†ุงุช ู‡ุฑูˆุญ
467
00:35:26,470 --> 00:35:32,790
ุฃู‚ูˆู„ู‡ if s equal ุฅุฐุง ูƒุงู†ุช ุฃุณ ุงู„ object ู‡ุฐู‡
468
00:35:32,790 --> 00:35:36,270
ุจุฏู‡ุง ุชุณุงูˆูŠ ุงู„ object button ุงู„ู„ูŠ ุนู†ุฏูŠ ุงู„ู„ูŠ ู‡ูˆ ู…ูŠู†
469
00:35:36,270 --> 00:35:45,570
ุงู„ุฑุฏ ุนู„ู‰ ุณุจูŠู„ ุงู„ู…ุซุงู„ ู‡ุฑูˆุญ ุฃู‚ูˆู„ู‡ ุฎู„ู‘ูŠ
470
00:35:45,570 --> 00:35:52,720
ุงู„ panel ู„ูˆู†ู‡ุง ุฃุญู…ุฑ ูˆู†ูุณ ุงู„ูƒู„ุงู… ู‡ู†ุง ู…ู…ูƒู† ู‚ู„ุต f ุฃูˆ
471
00:35:52,720 --> 00:35:58,080
f ุญุณุจ ุญุงุฌุชูƒ ุฃู†ุช ููŠ ุงู„ code ู‡ุฑูˆุญ ุงู‚ูˆู„ ู„ูˆ ูƒุงู† ู‡ุฐุง
472
00:35:58,080 --> 00:36:13,840
ูŠุณุงูˆูŠ blue ุบูŠุฑ ุงู„ู„ูˆู† ู„ุงุฒุฑุฌ ุงู„ุขู†
473
00:36:14,940 --> 00:36:19,120
ุฃุญู…ุฑ ุฃุฒุฑู‚ ุญุณุจ ุงู„ click ูŠุตุจุญ ุงู„ action ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ
474
00:36:19,120 --> 00:36:23,740
ุนู†ุฏูŠ ู„ูˆ ุงู„ action ุฃู†ุง ู…ุง ูƒู†ุชุด ููŠ ุงู„ุตูˆุฑุฉ ุนููˆุง ู„ูˆ ุฃู†ุง
475
00:36:23,740 --> 00:36:27,200
ู…ุง ูƒู†ุชุด ุฌุงูŠุจ ุงู„ source ู…ู† ุงู„ุจุฏุงูŠุฉ ู…ุด ู‡ู‚ุฏุฑ ุฃูุตู„ ููŠ
476
00:36:27,200 --> 00:36:30,700
ุงู„ action ุชุงุจุนู‡ุง ุจู…ุนู†ู‰ ุขุฎุฑ ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ุจู†ู„ุฎุตู‡ ุงู„ุขู†
477
00:36:30,700 --> 00:36:35,320
ุฃู†ู‡ ู„ู…ุง ุฃู†ุง ุจุฏูŠ ุฃุชุนุงู…ู„ ุนู„ู‰ global listener ู„ุงุฒู…
478
00:36:35,320 --> 00:36:38,900
ุฃูุฑุฌ ุจูŠู† ุงู„ sources ุงู„ู„ูŠ ู…ูˆุฌูˆุฏูŠู† ุนุดุงู† ูƒู„ source
479
00:36:38,900 --> 00:36:43,600
ููŠู‡ action ู…ุฎุชู„ู ุนู† ุงู„ุขุฎุฑ ุทูŠุจ ู„ูˆ ุฃู†ุง ุงุดุชุบู„ุช ุจ
480
00:36:43,600 --> 00:36:44,000
anonymous
481
00:36:47,300 --> 00:36:51,560
listener ูŠุนู†ูŠ ูƒู„ ูˆุงุญุฏ ู„ู‡ ู‚ุงุฆู… ุจุฐุงุชู‡ ูˆู…ุงู„ูŠุด ุนู„ุงู‚ุฉ
482
00:36:51,560 --> 00:36:54,400
ููŠ ุงู„ุชูุตูŠู„ ุฃูˆ ู…ุงู„ูŠุด ุนู„ุงู‚ุฉ ุฃู† ุฃุณุฃู„ ุนู† ุงู„ source
483
00:36:54,400 --> 00:36:58,380
ุฃุณุงุณุง ุงู„ุญุงู„ุฉ ุงู„ุชุงู†ูŠุฉ ุงู„ู„ูŠ ุฃู†ุง ู…ู…ูƒู† ุฃุดุชุบู„ ููŠู‡ุง
484
00:36:58,380 --> 00:37:07,120
ู‡ูŠุจุฏุฃ ุฃุนู…ู„ ู„ู‡ุฐู‡ comment ุฃู†ู‡
485
00:37:07,120 --> 00:37:11,990
ุฃูŠู‡ ุฌู‡ุงู†ุŸ ูˆ ุฃุฑูˆุญ ู…ุจุงุดุฑุฉ ุนู„ู‰ ุงู„ red ุฃู‚ูˆู„ ู„ู‡ .add
486
00:37:11,990 --> 00:37:14,950
actionListener ุฒูŠู‡ุง ุฒูŠ ุงู„ุณุงุจู‚ุฉ ุชู…ุงู…ุง ู„ุฃู†ู‡ ู„ุงุฒู… ุงู„
487
00:37:14,950 --> 00:37:17,410
method ู‡ุฐู‡ ุฃุณุชุฎุฏู…ู‡ุง ุนุดุงู† ุฃุนู…ู„ registration ู„ู„
488
00:37:17,410 --> 00:37:20,490
listening method ู„ู„ listening ู„ู„ listener new
489
00:37:20,490 --> 00:37:23,570
ActionListener
490
00:37:23,570 --> 00:37:28,530
ูˆ ุจู…ุฌุฑุฏ ุถุบุท ุนู„ู‰ new ActionListener ุฑุงุญ
491
00:37:28,530 --> 00:37:32,130
... ู„ุญุธูŠ ุฃู†ู‡ ุฃุนุฑูู„ูŠ ุงู„ actionListener on a fly
492
00:37:32,130 --> 00:37:35,650
ูุชุญู„ูŠ ุงู„ุฌูˆุณ ูˆ ู‚ุงู„ู„ูŠ ู‡ุฐู‡ ู†ู‡ุงูŠุฉ ... ู‡ุฐู‡ ุงู„ุฌูˆุณ ู‡ุฐู‡
493
00:37:35,650 --> 00:37:40,270
ู†ู‡ุงูŠุฉ ุงูŠุดุŸ ุงู„ู†ู‡ุงูŠุฉ ุจุชุงุนุฉ ุงู„ method ุงู„ู„ูŠ ู‡ูŠ add
494
00:37:40,270 --> 00:37:44,690
ActionListener ุชู…ุงู…ุŸ ุงู„ุขู† ููŠ ุฏุงุฎู„ู‡ุง ู‡ูŠู‡ ุงู„ู„ูŠ ุงู†ุช
495
00:37:44,690 --> 00:37:48,450
ุนู…ุงู„ุงูƒูŠ ุจุชุงุฎุฏ object ู…ู† ู†ูˆุน ActionListener ูˆุงู„
496
00:37:48,450 --> 00:37:52,170
object ู‡ุฐุง ููŠู‡ abstract method ู„ุงุฒู… ุชุนู…ู„ู‡ุง
497
00:37:52,170 --> 00:37:56,490
implementation ู‡ูŠู‡ ุฃู†ุง ุจู‚ุฏุฑ ู‡ู…ุจุงุดุฑุฉ ุงุฑูˆุญ ุงู‚ูˆู„ู‡ my
498
00:37:56,490 --> 00:38:05,930
panel.setBackground(Color.red);
499
00:38:08,750 --> 00:38:12,910
Save ุฎู„ุตู†ุง ู…ุน ุงู„ุจูˆุชูˆู† ุงู„ุฃูˆู„ ุจุฑูˆุญ ู„ู„ุจูˆุชูˆู† ุงู„ุชุงู†ูŠ
500
00:38:12,910 --> 00:38:17,510
ุงู„ู„ูŠ ู‡ูˆ ุงู„ blue.add
501
00:38:17,510 --> 00:38:28,450
ActionListener new ActionListener ู…ุจุงุดุฑุฉ
502
00:38:28,450 --> 00:38:31,270
ู‡ูŠุนู…ู„ override ุฃูˆ ู„ุงุฒู… ุฃุนู…ู„ override ู„ู€ method
503
00:38:31,270 --> 00:38:32,970
ุงู„ู„ูŠ ุนู†ุฏูŠ mypanel
504
00:38:37,730 --> 00:38:50,330
.setBackground(Color.blue); Save,
505
00:38:50,330 --> 00:38:56,680
ุงุฎุฑุฌุŒ blue ู„ูŠุด ู…ุงููŠุด ุฏุงุนูŠ ุฃุณุฃู„ ู…ู† ุงู„ source ู‡ู†ุง
506
00:38:56,680 --> 00:39:02,060
ู„ุฃู†ู‡ already ู‡ูˆ listener ูˆุงุญุฏ ู„ button ูˆุงุญุฏ
507
00:39:02,060 --> 00:39:05,700
ูˆุจุงู„ุชุงู„ูŠ ุฃู†ุง ุทุจ ู…ูŠู† ุฃูุถู„ ููŠ ุงู„ุดุบู„ ุฃุดุชุบู„ ู…ุน global
508
00:39:05,700 --> 00:39:10,060
listener ูˆู„ุง ุฃุดุชุบู„ ู…ุน anonymous listener anonymous
509
00:39:10,060 --> 00:39:17,020
ูŠุนู†ูŠ ู„ูˆ ูƒุงู† ุนู†ุฏูƒ ู…ุซู„ุง ุฎู…ุณูŠู† ู…ูุชุงุญ ุฃูŠูˆุฉ ู„ู…ุง ุชูƒุชุฑ
510
00:39:17,020 --> 00:39:19,880
ุงู„ู…ูุงุชูŠุญ ูƒุชูŠุฑุฉ ู„ุฃ ุฃู†ุง ุจูุถู„ ุงู†ูƒ ุชุดุชุบู„ ุนู„ู‰ one
511
00:39:19,880 --> 00:39:23,320
listener ูˆ ููŠ ุฏุงุฎู„ ุงู„ listener ุชุชูุฑุฌ ุงู„ code ุจุชุตูŠุฑ
512
00:39:23,320 --> 00:39:26,000
ุชุณุชุฎุฏู… switch statement ู„ุฅู† ููŠ ุงู„ุขุฎุฑ ุงู†ุช ุจุชุชุฏูˆุฑ
513
00:39:26,000 --> 00:39:28,960
ุนู„ู‰ ุงู„ ูŠุณุงูˆูŠ ุฒูŠ ู…ุง ุดูˆูู†ุง ุณุงุจู‚ุง ููŠ ุงู„ code ุงู„ู„ูŠ
514
00:39:28,960 --> 00:39:33,390
ุนู†ุฏู†ุง ู‡ู†ุง ูŠุนู†ูŠ ู‡ู†ุง ุงู†ุง ูƒู†ุช ุจู‚ูˆู„ู‡ ุงู„ object ูŠุณุงูˆูŠ
515
00:39:33,390 --> 00:39:36,150
ูƒุฐุง ูˆุจุงู„ุชุงู„ูŠ ุจุชู‚ุฏุฑ ุชุฏุฎู„ูŠู‡ุง ุนู„ู‰ switch statement
516
00:39:36,150 --> 00:39:39,430
ูˆููŠ ุงู„ switch ุชุนู…ู„ calling ู„ different methods ูˆ
517
00:39:39,430 --> 00:39:43,390
ุจูŠุตูŠุฑ ููŠู‡ ุงู†ุฏูƒ implementation ู…ุชุดุนุจ ูˆ ุฑุงุฆุน ุฌุฏุง ุทูŠุจ
518
00:39:43,390 --> 00:39:48,070
ู‡ุฐุง ุงู„ูƒู„ุงู… ู„ูˆ ุงู†ุง ุจุฏู‡ ุงุฑูˆุญ ุงุดุชุบู„ ุนู„ู‰ ุทุฑูŠู‚ุฉ ุงู„ุฃูˆู„ู‰
519
00:39:48,070 --> 00:39:51,270
ุงู† ุงู†ุง ุจุฏูŠ ุงุนู…ู„ implementation ู„ class ุชุจุนูŠ ู‡ุงูŠ ุงู„
520
00:39:51,270 --> 00:39:56,870
mycolor ู‡ุงูŠ
521
00:39:56,870 --> 00:40:02,480
ุงู„ mycolor ุงู„ุขู† ู‡ุฑูˆุญ ุงู‚ูˆู„ู‡ implement ุงู„ action ..
522
00:40:02,480 --> 00:40:07,240
ุงู„ actionListener ุจู…ุฌุฑุฏ ุฃู‚ูˆู„ ู„ู‡ implement ุงู„
523
00:40:07,240 --> 00:40:09,700
ActionListener ู‡ูŠู‚ูˆู„ ู„ูŠ ููŠ ุนู†ุฏูƒ method
524
00:40:09,700 --> 00:40:15,580
unimplemented method ุงุฑูˆุญ ูˆุงุถูŠูู„ูŠู‡ุงุŒ ูุฃุถุงู ู„ู…ูŠู†ุŸ
525
00:40:15,580 --> 00:40:22,080
ู‡ุงูŠุŒ ู„ุงุญุธูŠ ู‡ุฐุง ุงู„ูƒู„ุงู… ุฃูˆ ู‡ุฐุง ุงู„ code ุงู„ุขู† ุจุฏูˆู†ูŠ ..
526
00:40:22,080 --> 00:40:27,440
ุจุฏูˆู†ูŠ ุฃุฒูˆุฏู‡ ุจุฅูŠุดุŸ ูƒู„ ุงู„ุชูุงุตูŠู„ ุจุฏู‡ constructor ู„ุฃู†ู‡
527
00:40:27,440 --> 00:40:32,000
ู‡ูŠูƒูˆู† new class ูˆ ุจุฏู‡ object ูˆ ุจุฏู‡ ุงู„ู„ูˆู† ุงู„ู„ูŠ ุฃู†ุง
528
00:40:32,000 --> 00:40:37,480
ู‡ุงุŸ ุจุฏูŠ ุฃุชุนุงู…ู„ ู…ุนุงู‡ ู‡ุงู† ุงู„ุขู†
529
00:40:37,480 --> 00:40:48,700
ู„ูˆ ุฃู†ุง ุฌูŠุช ูˆ ู‚ู„ุช ู„ู‡ ู‡ุงูŠ ุงู„ color background
530
00:40:54,330 --> 00:41:02,250
ูˆ ู‡ุงูŠ ุงู„ constructor ุงู„ู„ูŠ ู‡ูˆ myColor ูˆ
531
00:41:02,250 --> 00:41:10,490
ู‚ู„ุชู„ู‡ color c ูˆ ุฏูŠ ุงุชู‡ุงู† ู‚ู„ุชู„ู‡ ุงู„ background ูŠุณุงูˆูŠ
532
00:41:10,490 --> 00:41:18,450
c ุทุจุนุง ู‡ุงูŠ ู…ู…ูƒู† private ู…ุด ู…ุดูƒู„ุฉ ููŠ ุงู„ู…ูˆุถูˆุน ุงู„ุขู†
533
00:41:18,450 --> 00:41:26,220
ุงูŠุด ุจุฏูƒ ุชูƒุชุจ code ู‡ู†ุงุŸ ุงู„ุขู† ุงุฑูŠุฏ ุงู„ุชูุงุตูŠู„ ุงูƒุชุฑ ุงุฐุง
534
00:41:26,220 --> 00:41:30,460
ูƒุงู† ุงู„ action ุชุจุน ู‡ุฐุง ูŠุชุฑุชุจ ุนู„ู‰ ุงู„ interface ูˆุงู†ุง
535
00:41:30,460 --> 00:41:33,400
ุจุดุชุบู„ ุนู„ู‰ different class ู…ุนู†ุงุชู‡ ุงู†ุง ุจุฏูŠ ุงุชุญูƒู…
536
00:41:33,400 --> 00:41:38,200
ุงู„ุขู† ุจุนู†ุงุตุฑ ู…ุง ุจูŠู† different classes ูˆุงุตูŠุฑ ุงุบูŠุฑ ููŠ
537
00:41:38,200 --> 00:41:42,360
ุงู„ attributes ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุชุจุน ูƒู„ ุนู†ุตุฑ ููŠู‡ู… ุงู„ุขู† ู„ูˆ
538
00:41:42,360 --> 00:41:46,520
ุงู†ุง ุจุฏูŠ ุงุฑุฌุน ู„ู…ุซุงู„ ุงู„ code ุงูŠุด ู†ูˆุน ุงู„ method ุชุจุนุชูŠ
539
00:41:46,520 --> 00:41:52,060
ุงูˆ ุงู„ scope ุชุจุนุชู‡ุงุŸ default default ูŠุนู†ูŠ protected
540
00:41:52,060 --> 00:41:55,760
protected ูŠุนู†ูŠ ุงู„ class ุงู„ุชุงู†ูŠ ู…ุด ู‡ูŠู‚ุฏุฑ ูŠุดูˆูู‡ุง ูˆู„ุง
541
00:41:55,760 --> 00:42:07,700
ู„ุฃ ูˆุจุงู„ุชุงู„ูŠ ุจุฏูŠ ุฃุฑูˆุญ ุฃุนุฑูู‡ุง ู‡ุฐู‡ ุชุตูŠุฑ public public
542
00:42:07,700 --> 00:42:13,260
ูˆุจุงู„ุชุงู„ูŠ ู‡ุงู† ู‡ุฏุฎู„ ููŠ ุชูุงุตูŠู„ ุงูŠุด ุงู„ู…ุดูƒู„ุฉ ู‡ุงู†
543
00:42:13,260 --> 00:42:18,800
invalid modifier ู„ูŠุดุŸ
544
00:42:19,920 --> 00:42:23,080
ุงู‡ ููŠ ุฏุงุฎู„ ุงู„ main ุฃู†ุง ู…ุนุฑูุฉ ููŠ ุฏุงุฎู„ ุงู„ main
545
00:42:23,080 --> 00:42:29,940
ุฎู„ูŠู†ุง ุจุณ ู†ู†ุฌู„ู‡ุง ู„ุจุฑุง Ctrl X Ctrl .. ุนููˆุง Ctrl Z
546
00:42:29,940 --> 00:42:38,180
ู„ุฃู† ุฃู†ุง ุจุฏูŠ ู‡ุฐุง ุงู„ุงุณู… ูƒู…ุงู† ูุนู„ูŠุง
547
00:42:38,180 --> 00:42:43,280
ู‡ุชุฏุฎู„ ุงู„ุขู† ุนู„ู‰ ุงูŠุดุŸ ุนู„ู‰ definition ุงู„ู„ูŠ ู„ู‡ุง ูŠุนู†ูŠ
548
00:42:43,280 --> 00:42:46,320
ุนู„ู‰ ุจุนุถ ุงู„ code ุงู„ู„ูŠ ู„ู‡ ู„ุงุฒู…ุฉ ุฃูˆ ู…ุงู„ูˆุด ู„ุงุฒู…ุฉ ุญุณุจ
549
00:42:46,320 --> 00:42:49,120
ุงู„ุญุงู„ุฉ ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉ ุนู†ุฏู‡ุง
550
00:42:51,640 --> 00:42:59,940
final variable must be initialized okay ู‡ูŠูƒ ุชู…ุงู… ุงู„ุขู† ุจุฏูŠ
551
00:42:59,940 --> 00:43:04,640
ุงุฌู‡ุงู† ูˆุทุจุนุง ู†ูุณ ุงู„ูƒู„ุงู… ู‡ุฑูˆุญ ุฃุณูˆูŠ ู…ุน ู…ูŠู† ู…ุน ุงู„
552
00:43:04,640 --> 00:43:08,300
buttons ู…ุตุจูˆุท ูˆู„ุง ู„ุฃ ูŠุนู†ูŠ ู‡ุฏูˆู„ ุงู„ buttons ูƒู…ุงู†
553
00:43:08,300 --> 00:43:17,540
ู„ุงุฒู… ุงู†ุง ุฃุฑูˆุญ ุฃุนุฑูู‡ู… ููˆู‚ ุนุดุงู†
554
00:43:17,540 --> 00:43:28,860
ุงุฌู‡ุงู† ุฃุดูŠู„ ุงู„ final ูˆุงุญุทู‡ุง ุณูŠู…ูŠ ูƒูˆู„ูˆู† ;
555
00:43:28,860 --> 00:43:44,500
ูˆู‡ู†ุง ุงู„ definition ู…ุงููŠุด ุฏุงุนูŠ ุงูŠู‡ ุงู„ู„ูŠ ุตุงุฑ ู„ุฃ
556
00:43:44,500 --> 00:43:47,940
ุนุดุงู† method ุงู„ static ุจุชุนู…ู„ ู…ุน items
557
00:43:51,230 --> 00:43:56,430
Okay ู…ุง ุถู„ุด ุฎุทุฃ .. okay ุญู„ู†ุง ุงู„ุฎุทุฃ ู‡ุฐุง ู‡ุงู† ุจุฏูŠ ุฃุฌูŠ
558
00:43:56,430 --> 00:44:03,330
ุนู„ู‰ ุงู„ mycolor ู‡ุงู† ู‡ุฑูˆุญ ุงู‚ูˆู„ู‡ class
559
00:44:03,330 --> 00:44:11,850
ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏูŠ mymain main
560
00:44:11,850 --> 00:44:15,830
GUI
561
00:44:15,830 --> 00:44:19,270
dot okay
562
00:44:24,600 --> 00:44:33,520
.set background color ุงู„ู€ C ุฃูˆ ุงู„ู€ background ุฃู†ุง
563
00:44:33,520 --> 00:44:40,740
ูุงู‡ู… ุฅู†ู‘ูŠ ุญุทูŠุชู‡ุง ู„ู„ู€ button ุนุดุงู† ุงุฎุชุตุฑ ุงู„ุขู† ููŠ
564
00:44:40,740 --> 00:44:45,500
ุฏุงุฎู„ ุงู„ู€ code ู‡ุฐุง ุจุฏูŠ ุฃุฑูˆุญ ุขุฎุฐ object ู…ู† ู…ูŠู†ุŸ ู…ู† ุงู„ู€
565
00:44:45,500 --> 00:44:49,400
class ุงู„ู„ูŠ ุฃู†ุดุฃุชู‡ ุงู„ู„ูŠ ู‡ูˆ my color
566
00:45:04,830 --> 00:45:13,010
mcnewmycolorcolor.red ูˆุฃู†ุง ุจุฏูŠ ุฃุถูŠู ู„ู‡ listener ุนู„ู‰
567
00:45:13,010 --> 00:45:21,510
ุงู„ู€ button ุงู„ุขู† ู‡ุฃู‚ูˆู„ ู„ู‡ red.add action listener ูˆู†ูˆุนู‡
568
00:45:22,530 --> 00:45:26,490
ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ MC ุฃูˆ ุงู„ู€ object ุงู„ู„ูŠ ุนู†ุฏู‡ ุงู„ู€ MC ู‡ุฃุฑูˆุญ
569
00:45:26,490 --> 00:45:32,650
ุฃุนู…ู„ run ู„ู‡
570
00:45:32,650 --> 00:45:39,330
ุชู…ุงู…ุŒ ูุงู„ุดุบู„ ุจุชู‚ุตูŠุฑ ุดูˆูŠุฉ ุจุฏู‡ุง ุดูˆูŠุฉ ุฅูŠุดุŸ ุดูˆูŠุฉ
571
00:45:39,330 --> 00:45:43,210
ุชูุงุตูŠู„ ุนู† ุงู„ู€ code ุงู„ู„ูŠ ู…ูˆุฌูˆุฏ ุนู†ุฏู†ุงุŒ ูˆุจู‡ูŠูƒ ุงู„ูŠูˆู…
572
00:45:43,210 --> 00:45:47,590
ุงุญู†ุง ู‡ู†ุฌูู‘ ู‡ู†ุฌูู‘ ููŠ ุงู„ู€ exception handling ุงุญู†ุง ูƒู†ุง
573
00:45:47,590 --> 00:45:51,520
ูˆุตู„ู†ุง ู„ุญุฏ ุงู„ู€ eventุŒ ูˆุงู„ู…ุญุงุถุฑุฉ ุงู„ุฌุงูŠุฉ ู‡ู†ุจุฏุฃ ู…ุน ุจุงู‚ูŠ
574
00:45:51,520 --> 00:45:55,800
ุงู„ุนู†ุงุตุฑ ุนุดุงู† ู†ุชุนุฑู ุนู„ู‰ ุงู„ู€ other methods ุฃูˆ ุงู„ู€
575
00:45:55,800 --> 00:46:00,380
event listener ุงู„ู„ูŠ ู…ูˆุฌูˆุฏุฉุŒ ููŠ ุฃูŠ ุณุคุงู„ ูŠุง ุจู†ุงุชุŸ ุทุจุนู‹ุง
576
00:46:00,380 --> 00:46:02,720
ุฃู†ุง ุญู…ู„ุช ุงู„ู€ slide ุนู„ู‰ ุงู„ู€ modem ู„ุฃู†ู‘ูŠ ูุงูƒุฑุฉ ุญุงู„ุฉ ุญุงุจุฉ
577
00:46:02,720 --> 00:46:05,080
ุชุณุชุฎุฏู…ูˆู‡ุง ุฃูˆ ุชุฑุงุฌุนูˆุง ุฃูŠ ุดุบู„ ุฅู† ุดุงุก ุงู„ู„ู‡ ุชุนุงู„ู‰ ุงู„ู„ูŠ
578
00:46:05,080 --> 00:46:05,600
ุนุทูŠูƒูˆุง ุงู„ุนุงููŠุฉ