--- /dev/null 2013-02-08 15:39:41.000000000 +0400 +++ new/test/java/awt/DataFlavor/MissedHtmlAndRtfBug/NextFramePositionCalculator.java 2013-02-08 15:39:40.974803100 +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(); + } + +}