my dog learned polymorphism
The moose likes Swing / AWT / SWT and the fly likes What's a JTextController? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "What Watch "What New topic
Author

What's a JTextController?

Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4163
    
    3

The API for javax.swing.text.TextAction says:
This is determined by being used in conjunction with a JTextController which arranges to share that information with a TextAction.


I've searched src.zip and rt.jar and can't locate JTextController. Does anyone know where this came from, or is it just a documentation bug?


luck, db
There are no new questions, but there may be new answers.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8430

Only reasonable reference I found was here http://www2.htw-dresden.de/~beck/JAVA11/SWING/api/com.sun.java.swing.text.DefaultTextController.html
Notice the JAVA11 in the URL. Could be 1.1 or 11. I doubt if its 1.1 because of the JTextController


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35221
    
    7
It could well be Java 1.1, since Swing used to work with Java 1.1 (although it was shipped separately). Possibly a class that was part of very early Swing versions, but was then removed and nobody ever bothered to update the javadocs.


Android appsImageJ pluginsJava web charts
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8430

Ulf Dittmer wrote:It could well be Java 1.1, since Swing used to work with Java 1.1 (although it was shipped separately). Possibly a class that was part of very early Swing versions, but was then removed and nobody ever bothered to update the javadocs.

I was not aware of this. I took it that Swing was since 1.2
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35221
    
    7
You're young, my friend :-)
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8430


Yup. I still feel 25!

Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4163
    
    3

Thanks, Maneesh and Ulf. I guess it might have been part of Swing before Swing was made a part of core.

I've filed a documentation bug report and have received this auto-response.

Dear Java Developer,

Thank you for reporting this issue.

We have determined that this report is a new bug and entered the bug into our internal bug tracking system under Bug Id: 7049405.

You can monitor this bug on the Java Bug Database at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7049405.

It may take a day or two before your bug shows up in this external database. If you are a member of the Sun Developer Network (SDN), there are two additional options once the bug is visible.

1. Voting for the bug
Click http://bugs.sun.com/bugdatabase/addVote.do?bug_id=7049405.

2. Adding the report to your Bug Watch list.
You will receive an email notification when this bug is updated.
Click http://bugs.sun.com/bugdatabase/addBugWatch.do?bug_id=7049405.

The Sun Developer Network (http://developers.sun.com) is a free service that Sun offers. To join, visit https://softwarereg.sun.com/registration/developer/en_US/new_user.

Regards,
Java Developer Support


Two of those links take you to a login page which hangs forever after submitting, and the third redirects to http://www.oracle.com/technetwork/index.html. The fourth just doesn't exist.

Goes to show just how much Oracle is committed to the Java community
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35221
    
    7
It may take a day or two before your bug shows up in this external database.

That's a hoot, given that it may take 5 years or more for acknowledged bugs to get fixed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What's a JTextController?
 
Similar Threads
Help! Problems with a method calling itself...
B&S Locking Strategy
[newbie] how to work with java.lang.String.contains(..)
Difference between Lucene IndexWriter.prepareCommit & IndexWriter.commit
Garbage Collection strikes again...