1. Swing Containers Swing containers can be classified into three main categories: • Top-level containers: JFrame, JWindow, and JDialog • General-purpose containers: JPanel, JScrollPane,JToolBar,JSplitPane, and JTabbedPane • Special-purpose containers: JInternalFrame and JLayeredPane
2. Swing components can be broadly classified as: • Buttons • Text components • Uneditable information display components • Menus • Formatted display components • Other basic controls
3. Layout Managers A layout manager determines the size and position of the components within a container. Handle problems caused by: • GUI resizing by user • Operating system differences in fonts • Locale-specific text layout requirements (left-right, right-left, vertical)
Layout manager classes: • BorderLayout • FlowLayout • BoxLayout • CardLayout • GridLayout • GridBagLayout • The BorderLayout Manager The BorderLayout manager places components in top,bottom, left, right and center locations
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|