A companion object with factory methods.
- Companion:
- class
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.
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
- Inherited from:
- Singleton