LESSON 12 GUI Lập trình Java

LESSON 12 GUI Lập trình Java

LESSON 12 GUI Lập trình Java

... TECHNOLOGY How to display a Window?  Extends from Frame or JFrame? import java. awt.*; import java. awt.event.*; import javax.swing.*; DONG NAI UNIVERSITY OF TECHNOLOGY How to display a Window? ... BoxLayout.X_AXIS BoxLayout.Y_AXIS No wrap row when resize dimension 12 DONG NAI UNIVERSITY OF TECHNOLOGY  BoxLayout Code E:\HUI \Java\ Study\ hocui\src\MyBoxLayout.j JPanel pnBox=new JPanel()...

Ngày tải lên: 30/05/2016, 00:16

59 294 0
LESSON 01 introduction Lập trình Java

LESSON 01 introduction Lập trình Java

... values Bit Permutations bit bits 00 01 10 11 bits 000 001 010 011 100 101 110 111 bits 0000 1000 0 001 1 001 0010 1010 0011 1011 010 0 1100 010 1 1 101 0110 1110 011 1 1111 Each additional bit doubles ... wouldn't be used 000000 000 001 00 0010 00 0011 0 0010 0 0 0010 1 etc Alabama Alaska Arizona Arkansas California Colorado Outline Computer Processing Hardware Components Networks...

Ngày tải lên: 30/05/2016, 00:15

82 388 0
LESSON 08 arrays Lập trình Java

LESSON 08 arrays Lập trình Java

... multidimensional arrays the ArrayList class polygons and polylines mouse events and keyboard events Outline Declaring and Using Arrays Arrays of Objects Variable Length Parameter Lists Two-Dimensional Arrays ... type Outline Declaring and Using Arrays Arrays of Objects Variable Length Parameter Lists Two-Dimensional Arrays Polygons and Polylines Mouse Events and Key Events Arrays...

Ngày tải lên: 30/05/2016, 00:16

119 384 0
LESSON 09 inheritance Lập trình Java

LESSON 09 inheritance Lập trình Java

... Creating Subclasses Overriding Methods Class Hierarchies Inheritance and Visibility Designing for Inheritance 8-3 Inheritance • • • • • Inheritance allows a software developer to derive a new ... Subclasses • In Java, we use the reserved word extends to establish an inheritance relationship class Car extends Vehicle { // class contents } • • • See Words .java (page 382) See Book ....

Ngày tải lên: 30/05/2016, 00:16

31 143 0
LESSON 10 polymorphism Lập trình Java

LESSON 10 polymorphism Lập trình Java

... See Firm .java (page 486) See Staff .java (page 487) See StaffMember .java (page 489) See Volunteer .java (page 491) See Employee .java (page 492) See Executive .java (page 493) See Hourly .java (page ... Polymorphism • Polymorphism is an object-oriented concept that allows us to create versatile software designs • Chapter 10 focuses on: – – – – defining polymorphism and its .....

Ngày tải lên: 30/05/2016, 00:16

31 258 0
LESSON 11 exception Lập trình Java

LESSON 11 exception Lập trình Java

... statement propagating exceptions the exception class hierarchy 10-2 Outline Exception Handling The try-catch Statement Exception Classes I/O Exceptions 10-3 Exceptions • An exception is an object ... thrown • See CreatingExceptions .java (page 543) • See OutOfRangeException .java (page 544) 10-19 Outline Exception Handling The try-catch Statement Exception Classes I/O Exceptions...

Ngày tải lên: 30/05/2016, 00:16

26 176 0
Bài giảng lập trình java cơ bản chương 6: lập trình gui   GV  võ hoàng phương dung (2)

Bài giảng lập trình java cơ bản chương 6: lập trình gui GV võ hoàng phương dung (2)

... Nội dung Giới thiệu GUI (Graphical user interface)  Vật chứa (Container)  Thành phần (Component)  Quản lý cách trình bày (Layout manager)  Xử lý kiện  2/25 Giới thiệu GUI GUI cung cấp ... Windowing Toolkit  AWT lớp Java cho phép tạo GUI chấp nhận nhập liệu người dùng thông qua bàn phím chuột  3/25 Giới thiệu GUI  AWT cung cấp thành phần khác để tạo GUI: • • • • • • Vật...

Ngày tải lên: 02/07/2014, 07:14

40 699 0
Lập trình Java cơ bản : GUI nâng cao part 5 ppt

Lập trình Java cơ bản : GUI nâng cao part 5 ppt

... nhập hiển thị thông tin với người dùng • Hai loại hộp thoại • Modal: Phải đóng hộp thoại trước chuyển sang cửa sổ khác • Modaless: Có thể giữ nguyên hộp thoại chuyển sang cửa sổ khác 29 Hộp hội ... (Dialog) • Dialog kế thừa từ lớp Window, có bố cục mặc định BorderLayout • Hộp thoại chứa thành phần GUI xử lý kiện cửa sổ bình thường 30

Ngày tải lên: 26/07/2014, 12:21

6 340 2
w