Version 9 (modified by mira, 16 years ago) (diff) |
---|
Analysis
Overview
The FrameBorder is not a model for the JFrames`s border but an additional one. It is the outer field on a certain distance of the border of the !JFrame. The frame content could not overlap the FrameBorders, it could only be positioned inside the remaining field. The FrameBorder could have different width and color. It might be realized in different styles. (box, shadow, 3D, repetition of a certain picture, etc.)
Task requirements
- Frame borders should have width. It should be number greater than 0.
- Frame borders should have color.
Task result
The result of this task is source code.
Implementation idea
- Create class FrameBorder extending ProObject with required properties.
- Add FrameBorder border property to the Frame
- Create enums for different property options if needed.
Related
How to demo
- Create and show Frames with different borders.