JAVA程式設計
JAVA Programming
| 節 | 週三 | 週五 |
|---|---|---|
3 10:10–11:00 | JAVA程式設計 EE105(光復) 2 節連堂 | |
4 11:10–12:00 | ||
7 15:30–16:20 | JAVA程式設計 EE105(光復) |
* 根據陽明交大上課時間表所列
Student will be well-prepared to create cross-platform Java Application or JavaFX application program. 學生能設計出符合現代軟體發展需求、跨平台 (Cross-Platform)、可以在Local computer or Browser執行的視窗化軟體程式
計算機概論與程式設計 , 物件導向程式設計
無備註
a. 使用學校e3網站。 b. 重要單元都有自製講義或者補充重要程式,來說明補充課本的不足。上課仍然發給學生紙本講義,讓學生可以作筆記,這些講義同時都也都放置在e3講義區。
教師未提供此項資料
Introduction to Java Programming
1. What is Java 2. Java Platform 3. Java Bytecode. (Write once, Run Anyway) 4. Basics of a Typical Java Environment 5. Introduction to Scene Builder
- 講授:
- 2
Introduction to Java Applications
1. A First Program in Java Application Program 2. Compiling the Source File 3. Executing the Bytecode 4. Displaying Text in a Dialog Box.(Using JOptionPane class)
- 講授:
- 4
Introduction to JavaFX
1. A First Program in JavaFX Program 2. Drawing Strings, Lines and Rectangles. 3. Font Control 4. Color Control 5. Compiling and Executing JavaFX Program 6. Scene Builder
- 講授:
- 3
Java Basics I
1. Declaring and Creating Array 2. Enhanced for statement 3. Passing Arrays to Methods 4. Multidimensional Arrays 5. Variable-Length Argument Lists 6. Introduction to JPanel and JFrame
- 講授:
- 3
Java Basics II
1. Using This Reference 2. Composition 3. Enumerations 4. Static Class Members 5. Static Import 6. Final Instance Variables 7. Creating Package 8. Package Access
- 講授:
- 3
Java Class Inheritance and Polymorphism
1. Super class and Subclass 2. Polymorphism Examples 3. Demonstrating Polymorphic Behavior 4. Abstract Classes and Methods 5. Final Methods and Classes 6. Creating and Using Interfaces 7. Nested Classes 8. Anonymous Inner Classes
- 講授:
- 3
Java Swing Graphical User Interface (GUI) Components
1. Overview of SWING Components 2. Event handling 3. JLabel, JTextfield, JButton 4. JCheckBox and JRadioButton 5. JComboBox 6. Anonymous Inner Classes 6. JList, Multiple-Selection Lists 7. Mouse Event Handling 8. Adaptor Classes 9. Key Event Handling 10. Layout Managers
- 講授:
- 5
Java Swing Graphics and Java2D
1. The Hierarchy of class Graphics in Java 2. Color, Font Control 3. Drawing Lines, Rectangles ,Ovals and Arcs 4. Drawing Polygons and Polylines 5. Java 2D API: Translate and Rotate
- 講授:
- 2
JavaFX Basics
Introduction to JavaFX 1. JavaFX Application Structure 2. JavaFX application Thread: 3. JavaFX Lifecycle 4. JavaFX Class Hierarchy 5. JavaFx Graphics: JavaFX GraphicsContext class 6. JavaFX and FXML 7. MVC Architecture 8. Java Lambda Expression
- 講授:
- 6
JavaFX Event Handling
1. JavaFX Event Handling 2. Property Binding 3. FXML Controller Classes 4. FXML, Scene Builder and event handling 5. Use Separate Inner Class for Event Handling 6. Use one Inner Class for Event Handling 7. Anonymous Inner Classes for Event Handling 8. Functional Interface 9. Use Lambda Expressions for Event Handling: Functional Interface 10. JavaFX Mouse and Key Control Example
- 講授:
- 6
Java Multithread
1. Thread States: Life Cycle of a Thread 2. Thread Priorities and Thread Scheduling 3. Interface Runnable and class Thread 4. Creating and Executing Threads 5. Thread Synchronization 6.Thread Interaction: Wait, Notify, Notifyall 7. Producer/Consumer Relationship: Without/with Synchronization 8. Producer/Consumer Relationship: Circular Buffer 9. Multithreading with GUI
- 講授:
- 6
Network in Java
1. IP (Internet Protocol ) address 2. JavaFX Server class 3. JavaFX Client class 4. JavaFX Server example 5. JavaFX Client example 6. JavaFX one Server and Multiple Clients
- 講授:
- 3
| 週次 | 主題 |
|---|---|
| 第 1 週 | 1. What is Java 2.Java Platform3. Java Bytecode.(Write once, Run Anywhere)4. Basics of a Typical Java Environment5. Introduction to Scene Builder 2023-02-15(三),2023-02-17(五) |
| 第 2 週 | 1. A First Program in Java Application Program2. Compiling the Source File3. Executing the Bytecode4. Displaying Text in a Dialog Box.(Using JOptionPane class) 2023-02-22(三),2023-02-24(五) |
| 第 3 週 | 1. A First Program in JavaFX Program2. Drawing Strings, Lines and Rectangles.3. Font Control4. Color Control5. Compiling and Executing JavaFX Program6. Scene Builder 2023-03-01(三),2023-03-03(五) |
| 第 4 週 | 1. Declaring and Creating Array2. Enhanced for statement3. Passing Arrays to Methods4. Multidimensional Arrays5. Variable-Length Argument Lists6. Introduction to JPanel and JFrame 2023-03-08(三),2023-03-10(五) |
| 第 5 週 | 1. Using This Reference2. Composition3. Enumerations4. Static Class Members5. Static Import6. Final Instance Variables7. Creating Package8. Package Access 2023-03-15(三),2023-03-17(五) |
| 第 6 週 | 1. Super class and Subclass2. Polymorphism Examples3. Demonstrating Polymorphic Behavior4. Abstract Classes and Methods5. Final Methods and Classes6. Creating and Using Interfaces7. Nested Classes 2023-03-22(三),2023-03-24(五) |
| 第 7 週 | 1. Overview of SWING Components2. Event handling3. JLabel, JTextfield, JButton4. Anonymous Inner Classes5. JCheckBox and JRadioButton6. JComboBox7. JList, Multiple-Selection Lists 2023-03-29(三),2023-03-31(五) |
| 第 8 週 | 1. Mouse Event Handling1. Adaptor Classes2. Key Event Handling3. Layout Managers: FlowLayout,BorserLayout, GridLayout 2023-04-05(三),2023-04-07(五) |
| 第 9 週 | 1. The Hierarchy of class Graphics in Java2. Color, Font Control3. Drawing Lines, Rectangles ,Ovals and Arcs4. Drawing Polygons and Polylines5. Java 2D API: Translate and Rotate 2023-04-12(三),2023-04-14(五) |
| 第 10 週 | Introduction to JavaFX1. JavaFX Application Structure2. JavaFX application Thread:3. JavaFX Lifecycle4. JavaFX Class Hierarchy 2023-04-19(三),2023-04-21(五) |
| 第 11 週 | 1.JavaFx Graphics: JavaFX GraphicsContext class2.JavaFX and FXML3.MVC Architecture4.Java Lambda Expression 2023-04-26(三),2023-04-28(五) |
| 第 12 週 | 1. JavaFX Event Handling2. Property Binding3. FXML Controller Classes4. FXML, Scene Builder and event handling1.Use Separate Inner Class for Event Handling2.Use one Inner Class for Event Handling 2023-05-03(三),2023-05-05(五) |
| 第 13 週 | 1.Anonymous Inner Classes for Event Handling2.Functional Interface3.Use Lambda Expressions for Event Handling: Functional Interface4. JavaFX Mouse and Key Control Example 2023-05-10(三),2023-05-12(五) |
| 第 14 週 | 1. Thread States: Life Cycle of a Thread2. Thread Priorities and Thread Scheduling3. Interface Runnable and class Thread4. Creating and Executing Threads5. Thread Synchronization6.Thread Interaction: Wait, Notify, Notifyall 2023-05-17(三),2023-05-19(五) |
| 第 15 週 | 1. Producer/Consumer Relationship: Without/with Synchronization2. Producer/Consumer Relationship: Circular Buffer3. Multithreading with GUI 2023-05-24(三),2023-05-26(五) |
| 第 16 週 | Network in Java1.IP (Internet Protocol ) address2.JavaFX Server class3.JavaFX Client class4.JavaFX Server example5.JavaFX Client example6.JavaFX one Server and Multiple Clients example 2023-05-31(三),2023-06-02(五) |
| 第 17 週 | Java FileArray vs ArrayList in JavaCollections.sort() in Java with ExamplesJava Lambda ExpressionSimplifying Event Handling Using Lambda Expressions:Streams and Reduction 2023-06-07(三),2023-06-09(五) |
| 第 18 週 | 2023-06-14(三),2023-06-16(五) |
1. Java How To Program "Early Objects" Deitel & Deitel Pearson , 2018, 11/E 2. Teaching resources from http://www.oracle.com/technetwork/java/index.html
- 地點
- 工五館762室
- 時間
- 每星期兩小時
- 聯絡方式
- Tel:54367 e-mail: cytsai@mail.nctu.edu.tw
