insertInformationButtonPanel);
cp.add("Center", centerPanel);
/******************************************
*****************************
* for setting the layout for the panel,setting
the font for the button*
* adding the button to the panel & setting the
border.
*
3
* finally adding the panel to the container
*
*******************************************
****************************/
southPanel.setLayout(new
FlowLayout(FlowLayout.RIGHT));
OKButton.setFont(new Font("Tahoma",
Font.BOLD, 11));
southPanel.add(OKButton);
southPanel.setBorder(BorderFactory.createEtche
dBorder());
cp.add("South", southPanel);
Do'stlaringiz bilan baham: |