BowlerKernel
ConnectionImageIconFactory.java
Go to the documentation of this file.
1 package com.neuronrobotics.sdk.ui;
2 
3 import javax.swing.ImageIcon;
4 
5 // TODO: Auto-generated Javadoc
10 
17  public static ImageIcon getIcon(String path){
18  try{
19  return new ImageIcon(AbstractConnectionPanel.class.getResource(path));
20  }catch (Exception e){
21 
22  }
23  return new ImageIcon();
24  }
25 }