| Constructor and Description |
|---|
FrameHelper()
|
| Modifier and Type | Method and Description |
|---|---|
static JFrame |
showFrameWithComponent(String
Show the specified component in a JFrame.
|
public static JFrameshowFrameWithComponent(String title, JComponent component, int width, int height, int x, int y, boolean show)
title - the title of the frame.
component - the component to show.
width - the width of the frame.
height - the height of the frame.
x - the x position on screen.
y - the y position on screen.
show - whether to show the frame.