This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
hello! I'm stuck with the GUI, I have a main panel with a border layout. in the south (or page_end) of the JPanel I have several components wich I would like to divide in 2 "zones" right and left. to make this I use gridbaglayout (just to remind this one is inside the borderlayout.south). The right zone is ok, but the left one has several components wich I would like to put inside a jscrollpane so they don't occupy lot of vertical space. the problem is that I just can't make that jscrollpane to keep the components in a smaller area, they just fit their necesities. to aling those components I use again GridBagLayout, wich goes inside the JScrollpane. I have already tried with set the maximumsize, setsize, but none of them work, any sugestion?
** I attached an image so you can see what I mean better