[svn r269] removed some small bugs, for empty annotations collumns
This commit is contained in:
parent
8439348458
commit
b1f6e870a3
5 changed files with 41 additions and 9 deletions
|
|
@ -121,8 +121,13 @@ public class SwingVascViewRenderer implements VascViewRenderer {
|
|||
public ImageIcon getImageIcon(String imageResource) {
|
||||
/// TODO hack beter
|
||||
String key = table.getVascTextValue().getTextValue(imageResource);
|
||||
//logger.info("KEY======================="+key);
|
||||
|
||||
return SwingImageHelper.getImageIcon(key);
|
||||
if (key.indexOf("META-INF")>0 | key.indexOf("resource")>0) {
|
||||
return SwingImageHelper.getImageIcon(key);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class TextListener implements DocumentListener {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue