Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java swing get frame size

Rectangle r = frame.getBounds();
int h = (int) r.getHeight();
int w = (int) r.getWidth();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #swing #frame #size
ADD COMMENT
Topic
Name
7+7 =