Java Code Examples for javax.swing.JFrame#getBounds()
The following examples show how to use
javax.swing.JFrame#getBounds() .
These examples are extracted from open source projects.
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 Project: birt File: Regression_117986_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 Project: birt File: Regression_128155_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 3
Source Project: birt File: Regression_116630_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 Project: birt File: Regression_116616_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 5
Source Project: birt File: Regression_118009_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 6
Source Project: birt File: Regression_117880_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 7
Source Project: birt File: DataChartsViewer.java License: Eclipse Public License 1.0 | 5 votes |
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 8
Source Project: birt File: Regression_128155_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 9
Source Project: birt File: Regression_117699_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 Project: birt File: Regression_119810_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 11
Source Project: birt File: FormatChartsViewer.java License: Eclipse Public License 1.0 | 5 votes |
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 Project: birt File: Regression_119808.java License: Eclipse Public License 1.0 | 5 votes |
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 13
Source Project: birt File: SwingURLRedirectViewer.java License: Eclipse Public License 1.0 | 5 votes |
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 Project: birt File: Regression_137780_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 15
Source Project: birt File: Regression_108965_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 16
Source Project: birt File: SwingHighlightViewer.java License: Eclipse Public License 1.0 | 5 votes |
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 17
Source Project: birt File: SwingInteractivityViewer.java License: Eclipse Public License 1.0 | 5 votes |
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 18
Source Project: birt File: Regression_118009_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 19
Source Project: birt File: Regression_142687_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 Project: birt File: Regression_124765_swing.java License: Eclipse Public License 1.0 | 5 votes |
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 ); }