[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [patch] add missing JTextComponent method
From: |
Thomas Fitzsimmons |
Subject: |
[cp-patches] [patch] add missing JTextComponent method |
Date: |
Thu, 31 Mar 2005 17:21:00 -0500 |
Hi,
I committed this patch. It adds a method to JTextComponent.
Tom
2005-03-31 Thomas Fitzsimmons <address@hidden>
* javax/swing/text/JTextComponent.java (viewToModel): New method.
Index: javax/swing/text/JTextComponent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/text/JTextComponent.java,v
retrieving revision 1.12
diff -u -r1.12 JTextComponent.java
--- javax/swing/text/JTextComponent.java 17 Feb 2005 07:48:53 -0000
1.12
+++ javax/swing/text/JTextComponent.java 31 Mar 2005 15:28:16 -0000
@@ -1467,6 +1467,11 @@
dragEnabled = enabled;
}
+ public int viewToModel(Point pt)
+ {
+ return getUI().viewToModel(this, pt);
+ }
+
public void copy()
{
doTransferAction("copy", TransferHandler.getCopyAction());
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [patch] add missing JTextComponent method,
Thomas Fitzsimmons <=