--- a/jdk/src/share/classes/javax/swing/text/JTextComponent.java Thu Jan 27 14:23:42 2011 +0300
+++ b/jdk/src/share/classes/javax/swing/text/JTextComponent.java Thu Jan 27 14:33:30 2011 +0300
@@ -4822,6 +4822,7 @@
* @return {@code true} if the composed text exists and is saved,
* {@code false} otherwise
* @see #restoreComposedText
+ * @since 1.7
*/
protected boolean saveComposedText(int pos) {
if (composedTextExists()) {
@@ -4845,6 +4846,7 @@
* should be invoked only if {@code saveComposedText} returns {@code true}.
*
* @see #saveComposedText
+ * @since 1.7
*/
protected void restoreComposedText() {
Document doc = getDocument();