title: How to add image to Menuitem using Swings
body: <p>I  have MenuItem.here in that i want to add one image to menuitem.So can you please suggest Me?</p>
  
  <pre><code>                    MenuItem view = new MenuItem("View");
                      MenuItem setting = new MenuItem("Settings");
                      MenuItem logout = new MenuItem("Logout");
  
  
                      popup.add(view);
                      popup.addSeparator();
                      popup.add(setting);
                      popup.addSeparator();
                      popup.add(logout);
  </code></pre>
  
  <p>In Left side of logout,i want one image.so how can i do?</p>