Commit 406490a8 by Thomas Fitzsimmons Committed by Thomas Fitzsimmons

JTextComponent.java (viewToModel): New method.

2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* javax/swing/text/JTextComponent.java (viewToModel): New method.

From-SVN: r97325
parent 87c8b4be
2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/swing/text/JTextComponent.java (viewToModel): New method.
2005-03-29 Ian Lance Taylor <ian@airs.com>
* external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
......
......@@ -1467,6 +1467,11 @@ public abstract class JTextComponent extends JComponent
dragEnabled = enabled;
}
public int viewToModel(Point pt)
{
return getUI().viewToModel(this, pt);
}
public void copy()
{
doTransferAction("copy", TransferHandler.getCopyAction());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment