Re: BoxLayout making component too big
- From: "John McGrath" <ng@xxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 21:25:49 GMT
On 4/26/2005 at 5:33:11 AM, Nomak wrote:
> if i put some component in a FlowLayout, they have a "clever" size. But
> i need to have them verticaly, so i use a BoxLayout(Y_AXIS). But the
> layout make the components big to fill all the panel space (in fact the
> 2 radio button are ok, but the combo box has a big height).
See "How to Use BoxLayout" in the Java Tutorial. Check out the part on
rigid areas, glue, and custom fillers.
http://java.sun.com/docs/books/tutorial/uiswing/layout/box.html
--
Regards,
John McGrath
.
- Follow-Ups:
- Re: BoxLayout making component too big
- From: Nomak
- Re: BoxLayout making component too big
- References:
- BoxLayout making component too big
- From: Nomak
- BoxLayout making component too big
- Prev by Date: Re: JMenu holding JButton instances - bug with 5.0?
- Next by Date: Re: Replace row in JTable
- Previous by thread: BoxLayout making component too big
- Next by thread: Re: BoxLayout making component too big
- Index(es):