wiki:FRAME_BORDERS_R0

Version 6 (modified by mira, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=FRAME_BORDERS_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The frame could have additional border to the JFrame`s border - FrameBorder. It is the outer field with certain width of a frame. The frame content could 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.
  • 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.

How to demo

  • Create and show Frames with different borders