
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
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
Type answer...
6
2. ອອກແບບ JPanel background
ຕໍ່ມານຳ JPanel ມາວາງລົງໄປໃນ Jframe ເວລາວາງໃຫ່້ວາງລົງໄປໃນສ່ວນ Center ຂອງ Border Layout
1. background [15,50,120]
---------------------------------------------
# Layout: Absolute Layout
7
Fill in the Blanks
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
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
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
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
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
World History Ch2L5Ch3L1
Presentation
•
12th Grade
22 questions
Hot water pipe work and circulation
Presentation
•
KG - University
25 questions
numbers cubes root
Presentation
•
Professional Development
24 questions
WINDOW FILE MANAGAMENT
Presentation
•
University
24 questions
Clase de Repaso Motion Graphics
Presentation
•
University
31 questions
Quiz1+2_TINHOCFA20
Presentation
•
University
26 questions
E-Tech M10 - Web Page Design Using Templates and online WYSIWYG
Presentation
•
12th Grade
24 questions
SPM Listening Paper Sample
Presentation
•
12th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade