下面列出了javax.swing.JFrame#getBounds ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}
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 );
}