/**
* @param args
*/
public static void main(String[] args) throws Exception{
PokerControl pControl = new PokerControl();
PokerData pData = new PokerData();
//BufferedImage[] hStacks = pControl.getStacksImages(pdata, playWnd);
BufferedImage pict = ImageIO.read(new File("c:\\temp\\euro1.bmp"));
Table table = pData.getRoomSettings().getTableSettings(10);
BufferedImage[] hStacks = new BufferedImage[10];
Rectangle rect;
for (int i = 0; i<10; i++){
rect = table.getRectPlayerStack(i);
hStacks[i] = pict.getSubimage(rect.x, rect.y, rect.width, rect.height);