Since you are using a BorderLayout
, "[e]ach region may contain no more than one component."
Therefore repeated attempts to add to the CENTER
region (listCommentPane.add(d, BorderLayout.CENTER);
) will end up replacing what was previously there.
You will have to use a different layout manage instead.