
Java GUI Unit 6
Presentation
•
Computers
•
University
•
Practice Problem
•
Medium
Kittisay SENGTHONG
Used 2+ times
FREE Resource
18 Slides • 15 Questions
1
Java GUI Unit 6
Design From
2
#. ອອກແບບໜ້າ Login
ວິທີການອອກແບບໜ້າຕ່າງ Jframe ກ່ອນອື່ນໝົດສິ່ງທີ່ເຮົາຕ້ອງເຂົ້າໃຈກໍ່ຄື Swing ທີ່ຈະນຳມາອອກແບບ ວ່າຄວນໃຊ້ຕົວໃດ ການຈັດ ວາງ Layout ຮູບແບບໃດຈະເໜາະສົມ.
3
Fill in the Blanks
ມີ Components ຈັກຕົວທີ່ຕ້ອງອອກແບບ (ຕົວເລກ)
Type answer...
4
1. ອອກແບບ Jframe
ກ່ອນອື່ນຕ້ອງມີ Jframe ເພື່ອເປັນໜ້າຕ່າງອອກແບບ
1. defaultCloseOperation: EXIT_ON_CLOSE
2. title: My title Name
----------------- Tap Code ------------------
3. Form Size Policy: Generate Resize Code
4. Generate Size: True
5. Generate Center: True
6. Designer Size: [700, 400]
-----------------------------------------------
#. Layout: Border Layout
5
Fill in the Blanks
ຄຸນສົມບັດໃດທີ່ເຮັດໃຫ້ Jframe ສະແດງຜົນກາງຈໍ / ENG
Type answer...
6
2. ອອກແບບ JPanel background
ຕໍ່ມານຳ JPanel ມາວາງລົງໄປໃນ Jframe ເວລາວາງໃຫ່້ວາງລົງໄປໃນສ່ວນ Center ຂອງ Border Layout
1. background [15,50,120]
---------------------------------------------
# Layout: Absolute Layout
7
Fill in the Blanks
Layout ໃດທີ່ເຮົາຈັດວາງແບບຕາມແກນ X, Y
Type answer...
8
3.ອອກແບບ Panel 2
ນຳ JPanel ມາວາງລົງໄປເພື່ອແບ່ງສ່ວນໃນການອອກແບບ
1. background [242,242,242]
2. X 0
3. Y 0
4. Width 340
5. Height 400
------------------------------------
#. Layout: Absolute Layout
9
Fill in the Blanks
ຄຸນສົມບັດໃດທີ່ໃຊ້ສີພື້ນຫຼັງ
Type answer...
10
4. ອອກແບບ JLabel 1
ນຳ JLabel ມາວ່າງລົງໄປເພື່ອຂຽນຂໍ້ຄວາມ Welcome to my Program
1. font Phetsarath OT 24 Bold
2. foreground [15,50,120]
3. horizontal Alignment CENTER
4. text Welcome to My Program
5. X 20
6. Y 20
7. Width 300
8. Height 40
11
Fill in the Blanks
ຄຸນສົມບັດທີ່ໃຊ້ຈັດການຕຳແໜ່ງຕົວອັກສອນ ລວງນອນ
Type answer...
12
5. ອອກແບບ JLabel logo
ຕໍ່ມາເປັນການໃສ່ຮູບພາບ Icon ຫຼື Logo ຂອງໂປຣແກຣມຕາຕ້ອງການ ຂະໜາດ 128 x 128
1. horizontal Alignment CENTER
2. icon password.png
3. X 60
4. Y 130
5. Width 220
6. Height 150
ໝາຍເຫດ: ຮູບຂອງເຮົາຕ້ອງມີຂະໜາດທີ່ເໝາະສົມ ຈາກນັ້ນຈຶ່ງນຳຮູບມາໄວ້ທີ່ Java package Image
13
Fill in the Blanks
ຄຸນສົມບັດທີ່ກຳນົດຂະໜາດລວງສູງ
Type answer...
14
6. ອອກແບບ JLabel version
ເຮົາຄວນຂຽນບອກວ່າໂປຣແກຣມຂອງເຮົາຖືກພັດທະນາຢູ່ທີ່ ຮຸ່ນ ທີ່ເທົາໃດ: version: 0.0.1
1. font Phetsarath OT 12 Plain
2. foreground [15,50,120]
3. horizontal Alignment RIGHT
4. text Version: 0.0.1
5. X 220
6. Y 370
7. Width 110
8. Height 20
15
Fill in the Blanks
ຄຸນສົມບັດໃດໃຊ້ສີໃຫ້ກັບຂໍ້ຄວາມຕົວອັກສອນ
Type answer...
16
7. ອອກແບບ JLabel login
ເຮົາຂຽນຂໍ້ຄວາມ ເຂົ້າສູ່ລະບົບ ເພື່ອເປັນການບອກວ່າແມ່ນໜ້າຕ່າງຫຍັງ
1. font Phetsarath OT 24 Bold
2. foreground [255,255,255]
3. horizontal Alignment CENTER
4. text ເຂົ້າສູ່ລະບົບ
5. X 380
6. Y 20
7. Width 290
8. Height 40
17
Fill in the Blanks
ຄຸນສົມບັດໃນການກຳນົດຮູບແບບຕົວອັກສອນ
Type answer...
18
8. ອອກແບບ JLabel ຜູ້ໃຊ້
ເຮົາຈະໃຊ້ JLabel ເພື່ອບອກຜູ້ໃຊ້ງານວ່າບ່ອນນີ້ໃຊ້ໄວ້ເຮັດຫຍັງເປັນຕົ້ນ
1. font Phetsarath OT 16 Plain
2. foreground [255,255,255]
3. text ຜູ້ໃຊ້ງານ
4. X 380
5. Y 90
6. Width 60
7. Height 30
19
Fill in the Blanks
ຄຸນສົມບັດໃນການນຳນົດຂໍ້ຄວາມ
Type answer...
20
9. ອອກແບບ JTextField ຜູ້ໃຊ້
ເຮົາໃຊ້ JTextField ເພື່ອໃຫ້ຜູ້ໃຊ້ງານປ້ອນຂໍ້ມູນຜູ້ໃຊ້ງານໃນການເຂົ້າລະບົບ
1. font Phetsarath OT 14 Plain
2. X 380
3. Y 120
4. Width 290
5. Height 40
21
Fill in the Blanks
ຄຸນສົມບັດໃນການກຳນົດຄວາມກ້ວາງ
Type answer...
22
10. ອອກແບບ JLabel ລະຫັດ
ເຮົາໃຊ້ JLabel ເພື່ອອອກປ້ອນລະຫັດຜ່ານ
1. font Phetsarath OT 16 Plain
2. foreground [255,255,255]
3. text ລະຫັດຜ່ານ
4. X 380
5. Y 185
6. Width 70
7. Height 30
23
Fill in the Blanks
Swing Controls ໃດທີ່ໃຊ້ໄວສະແດງຂໍ້ຄວາມ
Type answer...
24
11. ອອກແບບ JPasswordField
ເຮົາໃຊ້ JPasswordField ເພື່ອໃຊ້ຜູ້ໃຊ້ປ້ອນລະຫັດຜ່ານຂໍ້ແຕກຕ່າງກັບ Textfield ທຳມະດາຄື ເວລາປ້ອນລະຫັດຜ່ານຈະເປັນ *
1. font Phetsarath OT 14 Plain
2. X 380
3. Y 220
4. Width 290
5. Height 40
25
Fill in the Blanks
Swing Controls ໃດໃຊ້ໄວ້ກຳນົດລະຫັດຜ່ານ
Type answer...
26
12. ອອກແບບ JButton Login
ເຮົາໃຊ້ JButton ເພື່ອໃຫ້ຜູ້ໃຊ້ງານກົດປຸ່ມເພື່ອເຂົ້າສູ່ລະບົບ
1. background [0,102,102]
2. font Phetsarath OT 18 Plain
3. foreground [255,255,255]
4. text ເຂົ້າລະບົບ
5. cursor Hand Cursor
5. X 380
6. Y 300
7. Width 130
8. Height 50
27
Fill in the Blanks
Swing Controls ທີ່ໃຊ້ໄວ້ເພື່ອເປັນປຸ່ມກົດ
Type answer...
28
13.ອອກແບບJButton Cancel
ເຮົາໃຊ້ JButton ເພື່ອໃຫ້ຜູ້ໃຊ້ກົດປູ່ມຍົກເລີກ ເພື່ອ ລ້າງຂໍ້ມູນ ຈາກ Textfield ແລະ PasswordField
1. background [255,51,51]
2. font Phetsarath OT 18 Plain
3. foreground [255,255,255]
4. text ຍົກເລີກ
5. cursor Hand Cursor
6. X 540
7. Y 300
8. Width 130
9. Height 50
29
Fill in the Blanks
ຄຳວ່າຍົກເລີກພາສາອັງກິດຂຽນແບບໃດ / ENG
Type answer...
30
ອອກແບບສຳເລັດ
31
ສະຫຼຸບບົດຮຽນ
1. ອອກແບບ Jframe
2. ອອກແບບ JPanel background
3.ອອກແບບ Panel 2
4. ອອກແບບ JLabel 1
5. ອອກແບບ JLabel logo
6. ອອກແບບ JLabel version
7. ອອກແບບ JLabel login
32
8. ອອກແບບ JLabel ຜູ້ໃຊ້
9. ອອກແບບ JTextField ຜູ້ໃຊ້
10. ອອກແບບ JLabel ລະຫັດ
11. ອອກແບບ JPasswordField
12. ອອກແບບ JButton Login
13.ອອກແບບJButton Cancel
33
Open Ended
ສິ່ງໃດຄວນເພີ່ມ ຫຼື ຫຼຸດໃນບົດນີ້ ຈຸດດີຈຸດອ່ອນ
Java GUI Unit 6
Design From
Show answer
Auto Play
Slide 1 / 33
SLIDE
Similar Resources on Wayground
26 questions
FINAL SIX
Presentation
•
University
28 questions
DBMS-2
Presentation
•
University
25 questions
470 Zoom #1
Presentation
•
University
31 questions
Trig 2.2
Presentation
•
University
31 questions
verbs lvl 3
Presentation
•
University
25 questions
PPT BAB WARISAN
Presentation
•
12th Grade
28 questions
What would happen if every human suddenly disappeared?
Presentation
•
Professional Development
25 questions
IDS 2.1 Present Simple
Presentation
•
University
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
10 questions
Spanish Greetings and Goodbyes!
Presentation
•
6th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
25 questions
SER and Subject Pronouns
Quiz
•
8th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
19 questions
Key Concepts in Buddhism
Quiz
•
University
0 questions
Cell Domain Basic Review (Biology)
Quiz
•
University