A companion object with factory methods.
- Companion:
- class
Inherited
Type members
Value members
Concrete methods
Constructs a RelativeTo with the given Swing component as its locator.
Constructs a RelativeTo with the given Swing component as its locator.
Constructs a RelativeTo with the first component contained by the given Swing Frame
as its locator.
If that fails (because there is no content in the frame), returns Centered instead.
Constructs a RelativeTo with the first component contained by the given Swing Frame
as its locator.
If that fails (because there is no content in the frame), returns Centered instead.