public class MonitorDimension
extends java.lang.Object
| Constructor and Description |
|---|
MonitorDimension() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.Dimension |
getPercentualScreenDimension(javax.swing.JFrame frame,
double aPercentage)
This method returns a Dimension with a percentual width and height in relation to the JFrame.
|
static java.awt.Dimension |
getPercentualScreenDimension(javax.swing.JPanel jpan,
double aPercentage)
This method returns a Dimension with a percentual width and height in realtion to the JPanel.
|
public static java.awt.Dimension getPercentualScreenDimension(javax.swing.JFrame frame,
double aPercentage)
frame - Source dimensionaPercentage - Percentual width and height of the returning dimension.public static java.awt.Dimension getPercentualScreenDimension(javax.swing.JPanel jpan,
double aPercentage)
jpan - Source DimensionaPercentage - Percentual width and height of the returning dimension.Copyright © 2014. All Rights Reserved.