Java Code Examples for javax.swing.JFrame#getBounds()

The following examples show how to use javax.swing.JFrame#getBounds() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FormatChartsViewer.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 2
Source File: Regression_124765_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentMoved( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 3
Source File: Regression_142687_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 4
Source File: Regression_118009_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 5
Source File: SwingInteractivityViewer.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 6
Source File: SwingHighlightViewer.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 7
Source File: Regression_108965_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentMoved( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 8
Source File: Regression_137780_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentMoved( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 9
Source File: SwingURLRedirectViewer.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 10
Source File: Regression_119808.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 11
Source File: Regression_117986_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 12
Source File: Regression_119810_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 13
Source File: Regression_117699_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}
 
Example 14
Source File: Regression_128155_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 15
Source File: DataChartsViewer.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 16
Source File: Regression_117880_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 17
Source File: Regression_118009_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 18
Source File: Regression_116616_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 19
Source File: Regression_116630_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentResized( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
}
 
Example 20
Source File: Regression_128155_swing.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
public void componentShown( ComponentEvent cev )
{
	JFrame jf = (JFrame) cev.getComponent( );
	Rectangle r = jf.getBounds( );
	setLocation( r.x, r.y + r.height );
	setSize( r.width, 50 );
	setVisible( true );
}