Okay, I think I see it. Your MenuVisit class is a subclass of BoxPane, so you 
are wrapping a BoxPane inside a BoxPane. That outer component basically sizes 
itself to the size of its children instead of allowing the children to grow to 
fit their container. So, unless you have something definitely necessary for 
your MenuVisit class, I would take it out (or make it inherit from FillPane or 
TablePane or GridPane instead so it will allow its children to fill up the 
space). 

HTH,
~Roger Whitcomb


Reply via email to