If i'm creating a textarea, how do I know how many columns I need to put into the constructor to fill up the entire screen or half of it, horizontally?
I cant seem to find any getWidth thingy that I can use..
use a layout manager for that.
If you want to know the dimensions of the screen you can use:
oh.. so I can just call it?
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.