• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What's a JTextController?

 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're young, my friend :-)
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Yup. I still feel 25!

 
Darryl Burke
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
reply
    Bookmark Topic Watch Topic
  • New Topic