public class SwingFrameLauncher extends Object
JFrames.| Constructor and Description | 
|---|
SwingFrameLauncher()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getFrameIcon()
Get the path to the frame's title bar icon file. 
 | 
void | 
launchFrame(Component content)
Launch a frame containing the  
Component passed as an argument. | 
void | 
launchFrame(Component content,
           String title,
           int width,
           int height)
Launch a frame containing the  
Component passed as an argument,
 and with specified title, width and height. | 
void | 
setFrameIcon(String imagePathName)
Set the path of the icon to be displayed on the title bar of each frame. 
 | 
public void launchFrame(Component content)
Component passed as an argument.public void launchFrame(Component content, String title, int width, int height)
Component passed as an argument,
 and with specified title, width and height.title - The title of the launched frame.width - The width of the launched frame.height - The height of the launched frame.public void setFrameIcon(String imagePathName)
imagePathName - The path to image containing the title bar icon.public String getFrameIcon()
Copyright © 2015. All rights reserved.