Index: jbidwatcher/trunk/src/com/jbidwatcher/ui/util/OptionUI.java =================================================================== --- jbidwatcher/trunk/src/com/jbidwatcher/ui/util/OptionUI.java (revision 913) +++ jbidwatcher/trunk/src/com/jbidwatcher/ui/util/OptionUI.java (revision 937) @@ -254,6 +254,15 @@ * @return - The JFrame of the display. */ public JFrame showTextDisplay(StringBuffer inSB, Dimension inSize, String frameName, boolean isHTML) { + JFrame otherFrame = getTextDisplay(inSB, inSize, frameName, isHTML); + otherFrame.pack(); + otherFrame.setSize(inSize.width, inSize.height); + otherFrame.setVisible(true); + + return otherFrame; + } + + public JFrame getTextDisplay(StringBuffer inSB, Dimension inSize, String frameName, boolean isHTML) { JFrame otherFrame; JBEditorPane jep; JScrollPane jsp; @@ -267,10 +276,6 @@ otherFrame.getContentPane().add(jsp); jep.setCaretPosition(0); otherFrame.setLocation(getCenter(inSize)); - otherFrame.pack(); - otherFrame.setSize(inSize.width, inSize.height); - otherFrame.setVisible(true); - return otherFrame; }