Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Lab 01 NetbeansYHL 1
ECE 462 C++ and Java
Lab Exercise 1
Netbeans
Yung-Hsiang Lu
yunglu@purdue.edu
Lab 01 NetbeansYHL 2
Goals
• learn the Netbeans working environmnt
• write, compile, and execute Java programs 
• set up a code repository for version control
• create a simple user interface with menu and buttons
Lab 01 NetbeansYHL 3
http://www.netbeans.org/
Lab 01 NetbeansYHL 4
Create a Project in Netbeans
Lab 01 NetbeansYHL 5
Lab 01 NetbeansYHL 6
Lab 01 NetbeansYHL 7
Lab 01 NetbeansYHL 8
Lab 01 NetbeansYHL 9
Lab 01 NetbeansYHL 10
Lab 01 NetbeansYHL 11
Lab 01 NetbeansYHL 12
Lab 01 NetbeansYHL 13
Lab 01 NetbeansYHL 14
Sample Programs from Textbook
Lab 01 NetbeansYHL 15
Lab 01 NetbeansYHL 16
Lab 01 NetbeansYHL 17
Lab 01 NetbeansYHL 18
Lab 01 NetbeansYHL 19
Lab 01 NetbeansYHL 20
Lab 01 NetbeansYHL 21
Create Graphical User Interface
Lab 01 NetbeansYHL 22
Lab 01 NetbeansYHL 23
Lab 01 NetbeansYHL 24
Lab 01 NetbeansYHL 25
Add Menu
Lab 01 NetbeansYHL 26
Lab 01 NetbeansYHL 27
Lab 01 NetbeansYHL 28
Lab 01 NetbeansYHL 29
Lab 01 NetbeansYHL 30
Lab 01 NetbeansYHL 31
Lab 01 NetbeansYHL 32
Lab 01 NetbeansYHL 33
Run the Program
Lab 01 NetbeansYHL 34
Lab 01 NetbeansYHL 35
Lab 01 NetbeansYHL 36
Version Control
Lab 01 NetbeansYHL 37
Lab 01 NetbeansYHL 38
Lab 01 NetbeansYHL 39
Lab 01 NetbeansYHL 40
Lab 01 NetbeansYHL 41
Lab 01 NetbeansYHL 42
Lab 01 NetbeansYHL 43
Lab 01 NetbeansYHL 44
Lab 01 NetbeansYHL 45
Lab 01 NetbeansYHL 46
Lab 01 NetbeansYHL 47
always update before commit
Lab 01 NetbeansYHL 48
Lab 01 NetbeansYHL 49
Lab 01 NetbeansYHL 50
Lab 01 NetbeansYHL 51
Lab 01 NetbeansYHL 52
Add Button
Lab 01 NetbeansYHL 53
Lab 01 NetbeansYHL 54
Lab 01 NetbeansYHL 55
Lab 01 NetbeansYHL 56
Lab 01 NetbeansYHL 57
Lab 01 NetbeansYHL 58
Lab 01 NetbeansYHL 59
Lab 01 NetbeansYHL 60
Lab 01 NetbeansYHL 61
Create a Derived Class and 
Override paintComponent
Lab 01 NetbeansYHL 62
Lab 01 NetbeansYHL 63
Lab 01 NetbeansYHL 64
Lab 01 NetbeansYHL 65
Lab 01 NetbeansYHL 66
Lab 01 NetbeansYHL 67
Handle Button Action
Lab 01 NetbeansYHL 68
Lab 01 NetbeansYHL 69
Lab 01 NetbeansYHL 70
Lab 01 NetbeansYHL 71
Lab 01 NetbeansYHL 72
Lab 01 NetbeansYHL 73
Lab 01 NetbeansYHL 74
Please remember to commit all changes in Netbeans
before creating a zip file of the repository.
Lab 01 NetbeansYHL 75
Submission: A zip file of 
the CVS repository
Lab 01 NetbeansYHL 76
Submission in Blackboard
You MUST submit through this procedure. 
Email submission is not accepted.
Late submission is not accepted.
Lab 01 NetbeansYHL 77
Lab 01 NetbeansYHL 78
Click
Lab 01 NetbeansYHL 79
Click
Lab 01 NetbeansYHL 80
Due Date
Lab 01 NetbeansYHL 81
Add Attachments
Lab 01 NetbeansYHL 82
Select A File 
From Your 
Computer
Lab 01 NetbeansYHL 83
Lab 01 NetbeansYHL 84
Click Submit
Check File Name
Lab 01 NetbeansYHL 85
Lab 01 NetbeansYHL 86
Submitted
Take Back for
Resubmission
Lab 01 NetbeansYHL 87
Lab 01 NetbeansYHL 88
remove
Lab 01 NetbeansYHL 89
Lab 01 NetbeansYHL 90
You are strongly encouraged to 
submit your partial assignment 
early.
You can submit improvements before the 
deadline.
Please remember that late submission is not 
accepted for any reason.