Search code examples
swingnetbeansgui-builder

How to split-view design and source in Netbeans GUI builder


Short and simple, is it possible to view the source and designer at the same time with Netbeans GUI builder?

Even if there's no real straightforward way, I would like to know if someone has any ideas for workarounds, like opening the form in multiple tabs for example.


Solution

  • Open the form so it's displayed. Right click it's name tab and select clone.

    enter image description here

    You should now have two tabs with the same name, representing the same class.

    On one of the tabs, click "Source".

    Now you can "re-dock" the second/cloned view anywhere you want.

    enter image description here