Presentation is loading. Please wait.

Presentation is loading. Please wait.

An Introduction to the Window System. Agenda ● Problem statement ● Solution ● Demos: ● Creating a TopComponent ● Porting a Swing Application ● API Overview.

Similar presentations


Presentation on theme: "An Introduction to the Window System. Agenda ● Problem statement ● Solution ● Demos: ● Creating a TopComponent ● Porting a Swing Application ● API Overview."— Presentation transcript:

1 An Introduction to the Window System

2 Agenda ● Problem statement ● Solution ● Demos: ● Creating a TopComponent ● Porting a Swing Application ● API Overview

3 Demo ● Simple Java application

4 Problems ● More is needed than putting a window on the screen: ● menus, toolbars, other common stuff ● context sensitivity ● moving/repositioning ● group behavior ● docking/undocking ● this is plumbing – boring, time sink, wheel ● Need a standard way to do this

5 Agenda ● Problem statement ● Solution ● Demos: ● Creating a TopComponent ● Porting a Swing Application ● API Overview

6 Solution: TopComponent ● Logical window management ● Window state ● Selection management

7 Agenda ● Problem statement ● Solution ● Demos: ● Creating a TopComponent ● Porting a Swing Application ● API Overview

8 Demo 1: Create a TopComponent demo

9 Demo 3: Port an Application demo http://platform.netbeans.org/tutorials/60/nbm-porting-basic.html

10 Agenda ● Problem statement ● Solution ● Demos: ● Creating a TopComponent ● Porting a Swing Application ● API Overview

11 What are its main classes? ● TopComponent ● WindowManager ● Mode ● TopComponentGroup

12 Advanced Topics ● Creating your own layout (modes) ● layout defined in xml layers ● Creating a TopComponent group

13 Questions & Answers


Download ppt "An Introduction to the Window System. Agenda ● Problem statement ● Solution ● Demos: ● Creating a TopComponent ● Porting a Swing Application ● API Overview."

Similar presentations


Ads by Google