private List<String> getImageNames(boolean sameSize) {
        List<String> imagens = new ArrayList<String>();
        for (JInternalFrame frame : getDskCenter().getAllFrames())
            if (frame instanceof ImagemIFrame) {
                if (sameSize) {
                    BufferedImage selected = getSelectedFrame().getImage();
                    BufferedImage other = ((ImagemIFrame) frame).getImage();
                    if (other.getWidth() != selected.getWidth()
                            || other.getHeight() != selected.getHeight())
                        continue;
                }
                imagens.add(frame.getTitle());
            }
        return imagens;
    }