This is your resource to discuss support topics with your peers, and learn from each other.
Create an application that uses a custom User Interface (UI) manager. This manager lays out its fields on a diagonal and manipulates the natural focus order.
Discover how to create a custom UI component.
Discover how UI managers control field layout and handle focus events.
In the IDE, open the custom_manager.jdw workspace
Open the DiagonalApp.java source file.
Open the DiagonalManager.java source file.
Implement DiagonalManager's getPreferredWidth and getPreferredHeight methods so that they define the size of the manager.
Fill in the loop of DiagonalManager's sublayout method so that each controlled field gets layed out and arranged.
Complete DiagonalManager's nextFocus method so that focus does not leave the manager.
By viewing custom_manager_complete.zip
In this exercise, you discovered the following things:
how to create a custom UI component.
how UI managers control field layout and handle focus events.