I have a List of JPanel and each element of a list have 10 JPanel elements inside it which contains a picture. (as the Picture)
I set Float layout for aligning them horizontally one after another. (Each row JPanel elements)
I put each element of this list on another outer JPanel vertically and everything is ok. (Each Vertical JPanel)
now I want to put the above label F1 till F10 exactly at the center of the first now elements ? how am going to do that ? any recommendation ?
Take note I can't use TitledBorder (with title and no border) for the first row elements because I have a selection function for each element and If I do this, It select the whole first row element (element + titledborder) which is pretty ugly and not similar to the other rows ?
do you hae any solution ?