Explain me why it's so slow when adding a JButton to the panel

(Not in runtime, but when launching)