All Packages Class Hierarchy This Package Previous Next Index
Class tea.awt.WATextArea
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.TextComponent
|
+----java.awt.TextArea
|
+----tea.awt.WATextArea
- public class WATextArea
- extends TextArea
This class is an extension of TextArea with a workaround for a bug of
JDK 1.1.1 (this bug gives an incorrect value for getSelectionStart()
and getSelectionEnd() in Windows 95). I have checked the Java version
in the constructor so that the workaround is active for the 1.1.1 Windows95
version only. I hope that in JDK 1.1.2 this will be fixed.
- Version:
- 1.0 beta - 31 May 1997
- Author:
- Leonardo Boselli
-
WATextArea()
- Constructor for the WorkAround TextArea
-
WATextArea(String)
- Constructor for the WorkAround TextArea
-
getSelectionEnd()
- Overloaded getSelectionEnd() with the bug correction (it's active with
Windows 95 and JDK 1.1.1 only)
-
getSelectionStart()
- Overloaded getSelectionStart() with the bug correction (it's active with
Windows 95 and JDK 1.1.1 only)
WATextArea
public WATextArea()
- Constructor for the WorkAround TextArea
WATextArea
public WATextArea(String s)
- Constructor for the WorkAround TextArea
getSelectionStart
public int getSelectionStart()
- Overloaded getSelectionStart() with the bug correction (it's active with
Windows 95 and JDK 1.1.1 only)
- Overrides:
- getSelectionStart in class TextComponent
getSelectionEnd
public int getSelectionEnd()
- Overloaded getSelectionEnd() with the bug correction (it's active with
Windows 95 and JDK 1.1.1 only)
- Overrides:
- getSelectionEnd in class TextComponent
All Packages Class Hierarchy This Package Previous Next Index