How to get Content Pane for a JPanel ?
Java
1
Posts
1
Posters
0
Views
1
Watching
-
Right now with this code showing label inside the text box I want to use the content pane for giving space in between then .
void InboundCheque()
{
printbtn.setVisible(false);
//GridLayout glLayout = new GridLayout(3,2,2,10);
//GroupLayout groupL = new GroupLayout(Inbound);
// Container contentPane = frame.getContentPane();SpringLayout groupL = new SpringLayout(); Inbound.setLayout(groupL); Inbound.add(chqlbl); Inbound.add(chqstartingdate); }