Please give me some idea that how can i display the Borders in panel. According to my knowledge panels do not have borders. I can do the same thing by drawing over a panel but the problem arises when i add any component in to the panel ( It speads up). Please give me all posible solutions except the drawing one.
posted 15 years ago
Adding borders to JPanels is really easy. Just use the JPanel.setBorder() method:
There's nothing more dangerous than a resourceful idiot. ---Dilbert