}*/
public BufferedImage[] captureScreenStacks(final PokerData pdata, final PlayWindow playWnd) {
final int topX = playWnd.getLeftTopX();
final int topY = playWnd.getLeftTopY();
final Table table = pdata.getRoomSettings().getTableSettings(
pdata.getProgramSettings().getCountPlayers());
Rectangle tmpRect;
final BufferedImage[] image = new BufferedImage[pdata.getProgramSettings()
.getCountPlayers()];
for (int i = 0; i < pdata.getProgramSettings().getCountPlayers(); i++) {
tmpRect = new Rectangle(topX + table.getRectPlayerStack(i).x, topY
+ table.getRectPlayerStack(i).y, table.getRectPlayerStack(i).width, table
.getRectPlayerStack(i).height);
image[i] = this.robot.createScreenCapture(tmpRect);
}
return image;