How the swing's BoxModel works ?

Posted by sasquatch90 on Stack Overflow See other posts from Stack Overflow or by sasquatch90
Published on 2010-05-09T11:42:23Z Indexed on 2010/05/09 11:48 UTC
Read the original article Hit count: 208

Filed under:
|
|
|
|

Let's say I would like to create a simple calculator. It consists of 3 fields. Text field to show result, field with checkboxes to select system and field with numbers.

What kind of component should I use for each element ? How can I position elements in my window ? How can I position elements inside component (ie checkboxes) ?

This is what I'm trying to achieve.

http://img28.imageshack.us/img28/7691/lab8c.jpg

© Stack Overflow or respective owner

Related posts about java

Related posts about swing