Search code examples
javaswinguser-interfacenetbeansboxlayout

Up-To-Bottom Box Layout in netbeans builder


I'm using netbeans GUI builder and I want to use Box layout that places the components up-to-bottom, the default for netbeans is left-to-right and I don't know how to change that !

Can anyone help how to get from here to there ?


Solution

  • camickr is right, but if you want to stick with netbeans for whatever reason,

    Select the form. go to navigator and select the BoxLayout enter image description here

    then in the properties window you can cycle between the Axis.

    What you want is "Page Axis" or "Y Axis"

    enter image description here