*****************************
* for adding the strings to the labels, for
setting the font
*
* and adding these labels to the panel.
*
* finally adding the panel to the container
*
*******************************************
****************************/
for (int i = 0; i < informationTextField.length;
i++) {
informationTextFieldPanel.add(informationTextF
ield[i] = new JTextField(25));
informationTextField[i].setFont(new
Font("Tahoma", Font.PLAIN, 11));
}
lblShelfNo.setFont(new Font("Tahoma",
Font.BOLD, 11));
informationLabelPanel.add(lblShelfNo);
txtShelfNo.setFont(new Font("Tahoma",
Font.PLAIN, 11));
Do'stlaringiz bilan baham: |