I noticed that whatever Layout manager I use in Swing or AWT, even when BorderLayout is used and unless I dump some empty JLabels at BorderLayout.SOUTH, BorderLayout.NORTH, BorderLayout.WEST and BorderLayout.EAST, the contents of the frame always tightly sit alongside the border of the frame with no gaps (even when set{H,V}gap is called with GridLayOut).
What can I do to create some 'borders' on a JFrame or Dialog without having empty borders alongside a BorderLayout JPanel??
What can I do to create some 'borders' on a JFrame or Dialog without having empty borders alongside a BorderLayout JPanel??