Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any good sources of docs for really understanding JTextPane and the View, Element and Document workings?



I highly recommend Kim Topley's _Core Swing Advanced Programming_:

http://www.amazon.com/exec/obidos/ASIN/0130832928/102-4863430-4651352

(You can browse the table of contents and an excerpt on creating customized
input fields at the URL above).

It's well-written and uses an "explain-by-example" approach to the Swing
text API that helped me immensely in writing my own custom editor. Don't let
the occasional bad review fool you: they appear to originate from folks who
missed the "Advanced" in the book's title (in fact, one of the one-star
reviews is "Should be titled: how to write an editor using swing").

Hope this helps,
-Eric

----- Original Message -----
From: "Kenneth McDonald" <email@hidden>
To: <email@hidden>
Sent: Wednesday, August 14, 2002 11:24 PM
Subject: Any good sources of docs for really understanding JTextPane and the
View, Element and Document workings?


| I'd like to use the facilities provided by JTextPane and its associated
| classes to
| build a "structured editor". However, none of the docs I've looked at
| (including
| quite a few Swing books) give a very coherent exposition of the
| internals of
| JTextPane, i.e. the various View, Element, and Document classes. The
| O'Reilly
| book, for example, goes rather laboriously over such things as
| properties for
| various of the classes, but utterly fails to give any example of how
| they are
| used, or how one might extend the classes for custom functionality.
| Can anyone suggest a source for better documentation?
|
| Thanks,
| Ken -- email@hidden
|
| P.S. please email as well as replying to the list, I recently
| unsubscribed from
| the project builder list, and since that I haven't received any java-dev
| postings
| either. I just reentered my data, but we'll see if it works...
| _______________________________________________
| java-dev mailing list | email@hidden
| Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/java-dev
| Be sure to read the FAQ http://developer.apple.com/java/faq/ before
posting
| Do not post admin requests to the list. They will be ignored.
|
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Any good sources of docs for really understanding JTextPane and the View, Element and Document workings? (From: Kenneth McDonald <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.