public static UITabPanel create(Color color){
return getTabPanel(color);
}
private static UITabPanel getTabPanel(Color clor){
UITabPanel tab = new UITabPanel(){
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getName() {
// TODO Auto-generated method stub
return "getName";
}
@Override
public String getTip() {
// TODO Auto-generated method stub
return "getTip";
}
@Override
public String getTitle() {
return "getTitle";
}
@Override
public Icon getIcon() {
return null;
}
@Override
public TabType getTabType() {
return null;
}
@Override
public boolean close() {
// TODO Auto-generated method stub
return true;
}
};
tab.setBackground(clor);
return tab;
}