com.neuronrobotics.sdk.ui.ConnectionImageIconFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-bowler Show documentation
Show all versions of java-bowler Show documentation
A command line utility for accesing the bowler framework.
package com.neuronrobotics.sdk.ui;
import javax.swing.ImageIcon;
// TODO: Auto-generated Javadoc
/**
* A factory for creating ConnectionImageIcon objects.
*/
public class ConnectionImageIconFactory {
/**
* Gets the icon.
*
* @param path the path
* @return the icon
*/
public static ImageIcon getIcon(String path){
try{
return new ImageIcon(AbstractConnectionPanel.class.getResource(path));
}catch (Exception e){
}
return new ImageIcon();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy