private JPanel addToolbar() {
JPanel jp1=new JPanel();
jp1.setLayout(new FlowLayout());
JButton jb7=new JButton("exit ");
jb7.addActionListener(this);
jb7.setForeground(new Color(00,00,255));
jp1.add(jb7);
here how to set the image near to the button field this is button create code but how can i set image on the button field