//constructor of addBooks
public AddBooks() {
//for setting the title for the internal frame
super("Add Books", false, true, false, true);
//for setting the icon
setFrameIcon(new
ImageIcon(ClassLoader.getSystemResource("ima
ges/Add16.gif")));
//for getting the graphical user interface
components display area
Container cp = getContentPane();
//for setting the layout
northPanel.setLayout(new
FlowLayout(FlowLayout.CENTER));
//for setting the font for the North Panel
northLabel.setFont(new Font("Tahoma",
Font.BOLD, 14));
Do'stlaringiz bilan baham: |