Re: BoxLayout making component too big
- From: "Aki \"Sus\" Laukkanen" <aki.laukkanen@xxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 12:14:33 +0300
Nomak wrote:
On Thu, 28 Apr 2005 21:25:49 GMT "John McGrath" <ng@xxxxxxxxxxxxx> wrote:
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
well, i did, but when running the demo associated with this:
http://java.sun.com/docs/books/tutorial/uiswing/layout/example-1dot4/BorderLayoutDemo.java
the buttons have a "good" size, they don't fill all the panel.
By looking at the code, you can see that there isn't any Box.Filler or related.
So why is it working?
Since it is using BorderLayout, not BoxLayout?
-- -Aki "Sus" Laukkanen "Älä multa kysy tai mä vastaan!" "Don't ask me or I'll answer!" .
- Follow-Ups:
- Re: BoxLayout making component too big
- From: Nomak
- Re: BoxLayout making component too big
- References:
- BoxLayout making component too big
- From: Nomak
- Re: BoxLayout making component too big
- From: John McGrath
- Re: BoxLayout making component too big
- From: Nomak
- BoxLayout making component too big
- Prev by Date: Re: "standards" for tooltips?
- Next by Date: Event handler problem in JTable
- Previous by thread: Re: BoxLayout making component too big
- Next by thread: Re: BoxLayout making component too big
- Index(es):