java - JLabel on West/East won't show up in BorderLayout -


i using borderlayout, 3 containers gridlayout , array of 8 jlabels. container #1 uses 2 jlabels, container #2 uses 2 jlabels , container #3 uses 2 jlabels well. include container #1 north, works fine. container #2 center, works fine, container #3 south, works fine too. when come include 1 jlabel of array east , 1 jlabel west don't show up, don't know why , i've spend hours searching it. pretty much:

add("north", con1); add("center", con2); add("south", con3); add("east", myarray[6]); add("west", myarray[7]);  

what doing wrong? d: lot

you have add jlabels own panels, add panels borderlayout.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -