(DirectColorModel.java:455)
at java.awt.image.DirectColorModel.getRGB(DirectColorModel.java:721)
at java.awt.image.BufferedImage.getRGB(BufferedImage.java:888)
at paint.Painter.floodFill(Painter.java:406)
at paint.Painter.floodFill(Painter.java:408)
at paint.Painter.floodFill(Painter.java:411)
at paint.Painter.floodFill(Painter.java:409)
the above is the error that gets generated
and if the stack memory gets overflow the how to stop it is there any method or technique in
Java
and its not possible to keep a track of each and every pixel since in large regular/irregular shapes it is impossible
I wish I could insert the image to make my error understand better??