Mỗi Container có một đối tượng Layout Manager mặc định, người dùng có thể gán cho Container một đối tượng Layout Manger khác. Mỗi loại Layout Manager có các nguyên tắc riêng cho việc bố trí các Component bên trong một Container. Một Layout Manager chịu trách nhiệm bố trí các Component được thêm vào Container và khi Container thay đổi kíc...
34 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1389 | Lượt tải: 0
JPanel được sử dụng gom nhóm các control bên trong, có thể được sử dụng như một user control. JPanel được sử dụng như một thành phần bên trong JFrame, JDialog, JInternalFrame, hoặc trong một JPanel khác.
51 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1379 | Lượt tải: 0
People have different abilities and knowledge when it comes to quality Give people tasks that fit their natural personalities. Train people in testing and inspecting techniques. Give people feedback about their performance in terms of producing quality software. Have developers and maintainers work for several months on a testing team.
83 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1172 | Lượt tải: 0
It requires constant effort to ensure a software system’s design remains good throughout its life Make the original design as flexible as possible so as to anticipate changes and extensions. Ensure that the design documentation is usable and at the correct level of detail Ensure that change is carefully managed
105 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1184 | Lượt tải: 0
Dynamic modelling is a difficult skill In a large system there are a very large number of possible paths a system can take. It is hard to choose the classes to which to allocate each behaviour: Ensure that skilled developers lead the process, and ensure that all aspects of your models are properly reviewed. Work iteratively: Develop initial...
48 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1180 | Lượt tải: 0
User interface design and implementation can often take the majority of work in an application: Make UI design an integral part of the software engineering process. Allocate time for many iterations of prototyping and evaluation. Developers often underestimate the weaknesses of a GUI Ensure all software engineers have training in UI developmen...
26 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1289 | Lượt tải: 0
Developing patterns is hard Writing a good pattern takes considerable work. A poor pattern can be hard to apply correctly Resolution: Do not write patterns for others to use until you have considerable experience both in software design and in the use of patterns. Take an in-depth course on patterns. Iteratively refine your patterns, and h...
46 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1379 | Lượt tải: 0
Modeling is particularly difficult skill Even excellent programmers have difficulty thinking at the appropriate level of abstraction Education traditionally focus more on design and programming than modeling Resolution: Ensure that tem members have adequate training Have experienced modeler as part of the team Review all models thoroughly
66 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1355 | Lượt tải: 0
Lack of understanding of the domain or the real problem Do domain analysis and prototyping Requirements change rapidly Perform incremental development, build flexibility into the design, do regular reviews Attempting to do too much Document the problem boundaries at an early stage, carefully estimate the time It may be hard to reconcile ...
38 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1307 | Lượt tải: 0
Security Security is a big problem with no perfect solutions: consider the use of encryption, firewalls, . Need for adaptive maintenance Ensure that all software is forward and backward compatible with other versions of clients and servers
48 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1358 | Lượt tải: 0