title: Checking whether JLabel's Icon is a particular Icon or not
body: <p>I have this code:</p>
  
  <pre><code>if(seatE1.getIcon() == particular icon)
  {
      // do something
  }
  </code></pre>
  
  <p>I don't know what to write in <code>particular icon</code>. Should I write the path of the icon I want or what? If there is a better way to do it please let me know.</p>