public void AddButton( anywheresoftware.b4j.objects.PaneWrapper panel ) {
ImageIcon icon = new ImageIcon("E:\\java projects\\test\\src\\images\\logout.png");
JButton button = new JButton("Click Me ", icon);
button.setBounds(50, 50, 200, 100);
// Set text position relative to icon
button.setVerticalTextPosition(SwingConstants.CENTER);
button.setHorizontalTextPosition(SwingConstants.LEFT);
button.setBorderPainted(true);
button.setForeground(Color.black);
button.setBackground(Color.GREEN);
panel.AddNode(button, 0, 0, 200, 100); <----- Here I need add the button to the panel
}