Closedown
This commit is contained in:
1 parent
8c1da7e5d5
commit
fb846f039f
1 file changed
+12
-6
@@ -152,19 +152,25 @@ public class TestingList extends Panel {
|
||||
}
|
||||
|
||||
public String IconFilename(){
|
||||
String iconFileName = "";
|
||||
switch (this){
|
||||
case SUCCESS:
|
||||
return "/icons/button_ok-16px.png";
|
||||
iconFileName = "/icons/button_ok-16px.png";
|
||||
break;
|
||||
case FAILURE:
|
||||
return "/icons/button_close-16px.png";
|
||||
iconFileName = "/icons/button_close-16px.png";
|
||||
break;
|
||||
case PENDING:
|
||||
return "/icons/button_stop-16px.png";
|
||||
iconFileName = "/icons/button_stop-16px.png";
|
||||
break;
|
||||
case DISABLED:
|
||||
return "";
|
||||
iconFileName = "";
|
||||
break;
|
||||
case RUNNING:
|
||||
return "/icons/button_play-16px.png";
|
||||
iconFileName = "/icons/button_play-16px.png";
|
||||
break;
|
||||
}
|
||||
return null;
|
||||
return iconFileName;
|
||||
}
|
||||
|
||||
public ImageIcon Icon(){
|
||||
|
||||
Reference in new issue
Block a user