Method getHeight()
Return type: int
Member of: java.awt.Component
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 BufferedImage bi = new BufferedImage (window.getWidth(), window.getHeight(),
2 com.elvenware.codebox.GuiBox.showDialogSize(this, dlg, this.getWidth(), this.getHeight() / 2);
3 setSize(400, this.getHeight());
4 setLocation((r.x + (r.width / 2)) - (getWidth() / 2), (r.y + (r.height / 2)) - (getHeight() / 2));
5 jSplitPane1.setSize( this.getWidth(), this.getHeight() - 30 );
6 setLocation((r.x + (r.width / 2)) - (getWidth() / 2), (r.y + (r.height / 2)) - (getHeight() / 2));
7 Image image = ii.getImage().getScaledInstance(inHere.getWidth(), inHere.getHeight(),
8 target.getY()+(parent.getHeight()-comp.getHeight())/2
9 Configuration.setInteger(Argo.KEY_SCREEN_HEIGHT, getHeight());
10 this.OnResize(e.getComponent().getWidth(),e.getComponent().getHeight());
11 int height = comp.getHeight();
12 launcherPopupMenu.show(this.getContentPane(),0,0+this.getHeight());
13 setSize(new Dimension(newWidth, getHeight()));
14 Double y = new Double(thisFrame.getHeight()/2 + thisFrame.getLocation().getY());
15 int y = this.getParent().getY() + (this.getParent().getHeight() / 2);
16 properties.setProperty(section + "-height", String.valueOf(window.getHeight()));
17 int y = component.getHeight()/2;
18 p_container.setBounds( getCenteredPosition( p_container.getHeight(), p_container.getHeight() ) );
19 g.fillRect( 0, 0, getWidth(), getHeight() );
20 setSize(width, getHeight() );
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.