--- /dev/null 2013-02-08 17:44:06.000000000 +0400 +++ new/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/NextFramePositionCalculator.java 2013-02-08 17:44:05.443461100 +0400 @@ -0,0 +1,20 @@ +import java.awt.*; + + +class NextFramePositionCalculator { + + private final Frame currentFrame; + + public NextFramePositionCalculator(Frame currentFrame) { + this.currentFrame = currentFrame; + } + + public int getNextLocationX() { + return currentFrame.getX() + currentFrame.getWidth(); + } + + public int getNextLocationY() { + return currentFrame.getY(); + } + +}