< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XTextAreaPeer.java

Print this page

        

*** 136,154 **** } setEditable(target.isEditable()); setScrollBarVisibility(); // After this line we should not change the component's text firstChangeSkipped = true; } @Override public void dispose() { XToolkit.specialPeerMap.remove(jtext); // visible caret has a timer thread which must be stopped jtext.getCaret().setVisible(false); jtext.removeNotify(); - textPane.removeNotify(); super.dispose(); } /* * The method overrides one from XComponentPeer --- 136,154 ---- } setEditable(target.isEditable()); setScrollBarVisibility(); // After this line we should not change the component's text firstChangeSkipped = true; + compAccessor.setPeer(textPane, this); } @Override public void dispose() { XToolkit.specialPeerMap.remove(jtext); // visible caret has a timer thread which must be stopped jtext.getCaret().setVisible(false); jtext.removeNotify(); super.dispose(); } /* * The method overrides one from XComponentPeer
< prev index next >