正在加载图片...
Objectives ● To distinguish simple GuI components(§1l2) o To describe the Java GUI API hierarchy(8 11.3) To create user interfaces using frames, panels, and simple Ul components (§114) o To understand the role of layout managers($ 11.5) To use the Flowlayout, GridLayout, and Border layout managers to layout components in a container(8 11.5) o To specify colors and fonts using the Color and Font classes(s 11.6-11.7) ● To use jPanel as subcontainers(§11.8) o To paint graphics using the paint Component method on a panel($ 11.9) To draw strings, lines, rectangles, ovals, arcs, and polygons using the drawing methods in the graphics class($ 11.9 o To center display using the FontMetrics Class(811.10) To develop a reusable component Message Panel to display a message on a panel (§111) o to develop a reusable component StillClock to emulate an analog clock(s 11.12 Optional) Introduction to Java Programming, revised by Dai-kaiyuLiang,Introduction to Java Programming,revised by Dai-kaiyu 2 Objectives ⚫ To distinguish simple GUI components (§11.2). ⚫ To describe the Java GUI API hierarchy (§11.3). ⚫ To create user interfaces using frames, panels, and simple UI components (§11.4). ⚫ To understand the role of layout managers (§11.5). ⚫ To use the FlowLayout, GridLayout, and BorderLayout managers to layout components in a container (§11.5). ⚫ To specify colors and fonts using the Color and Font classes (§11.6-11.7). ⚫ To use JPanel as subcontainers (§11.8). ⚫ To paint graphics using the paintComponentmethod on a panel (§11.9). ⚫ To draw strings, lines, rectangles, ovals, arcs, and polygons using the drawing methods in the Graphics class (§11.9). ⚫ To center display using the FontMetricsClass (§11.10). ⚫ To develop a reusable component MessagePanel to display a message on a panel (§11.11). ⚫ To develop a reusable component StillClock to emulate an analog clock (§11.12 Optional)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有