}
private ListView<Paint> setupGradientTab(TabPanel panel) {
double size = 40;
//linears
Paint gf1 = new LinearGradientFill()
.setStartX(0)
.setStartXSnapped(Snap.Start)
.setEndX(size)
.setEndXSnapped(Snap.End)
.setStartY(size/2)
.setStartYSnapped(Snap.Middle)
.setEndY(size/2)
.setEndYSnapped(Snap.Middle)
.addStop(0,FlatColor.BLACK)
.addStop(1,FlatColor.WHITE);
Paint gf2 = new LinearGradientFill()
.setStartX(size/2).setStartXSnapped(Snap.Middle)
.setEndX(size/2).setEndXSnapped(Snap.Middle)
.setStartY(0).setStartYSnapped(Snap.Start)
.setEndY(size).setEndYSnapped(Snap.End)
.addStop(0,FlatColor.BLACK)
.addStop(1,FlatColor.WHITE);
Paint gf3 = new LinearGradientFill()
.setStartX(0).setStartXSnapped(Snap.Start)
.setEndX(size).setEndXSnapped(Snap.End)
.setStartY(0).setStartYSnapped(Snap.Start)
.setEndY(size).setEndYSnapped(Snap.End)
.addStop(0,FlatColor.BLACK)
.addStop(1,FlatColor.WHITE);
//linears 2
Paint gf6 = new LinearGradientFill()
.setStartX(0).setStartXSnapped(Snap.Start)
.setStartY(size / 2).setStartYSnapped(Snap.Middle)
.setEndX(size).setEndXSnapped(Snap.End)
.setEndY(size / 2).setEndYSnapped(Snap.Middle)
.addStop(0.0, FlatColor.BLACK)
.addStop(0.5, FlatColor.WHITE)
.addStop(1.0, FlatColor.BLACK);
//radials
Paint gf4 = new RadialGradientFill()
.setCenterX(size / 2).setCenterY(size / 2)
.setRadius(size / 2)
.addStop(0, FlatColor.BLACK)
.addStop(1, FlatColor.WHITE);
Paint gf5 = new RadialGradientFill()
.setCenterX(size / 2).setCenterY(size / 2)
.setRadius(size / 2)
.addStop(0.0, FlatColor.BLACK)
.addStop(0.5, FlatColor.WHITE)
.addStop(1.0, FlatColor.BLACK);