Multiple objects in BorderLayout regions
i'm making a title bar, and i'm putting the title on the left and two
buttons on the right. But if I use BorderLayout.EAST for both buttons,
only the last one will be showed. I can I get both visible? I tried using
the JPanel but it's going to make padding/margin around itself, and i
don't want that. I tried removing it using createEmptyBorder(0, 0, 0, 0)
but nothing changed..
No comments:
Post a Comment