public class GlassTutorial extends Object implements Painter
Constructor and Description |
---|
GlassTutorial()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addHint(Component hintComponent,
Component destinationComponent,
String position)
Deprecated.
Places a hint within the glass in a position relative to the destinationComponent, the position
is indicated with border layout attributes.
|
void |
paint(Graphics g,
Rectangle rect)
Deprecated.
Draws inside the given rectangle clipping area.
|
void |
showOn(Form f)
Deprecated.
Install the glass tutorial on a form and seamlessly dismiss it when no longer necessary
|
public void addHint(Component hintComponent, Component destinationComponent, String position)
hintComponent
- The component that would be renderered in the given positiondestinationComponent
- the "hinted" component over which the hint will showposition
- the position relative to the destinationComponent in BorderLayout values e.g. to place the hint
above the component just place it in BorderLayout.NORTH. The center will stretch the component but the
other sides will give the component its exact preferred size.public void showOn(Form f)
f
- the form