Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5066
| Path | csiph.com!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Syntax highlighting |
| Date | Thu, 01 Mar 2012 19:23:53 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 36 |
| Message-ID | <jip3tq$8oo$1@dont-email.me> (permalink) |
| References | <4f4e2a69$0$22515$426a74cc@news.free.fr> <jilg4s$ntf$1@dont-email.me> <4f4e9526$0$32558$426a34cc@news.free.fr> <jimaov$4jm$1@dont-email.me> <4f4fe72d$0$658$426a74cc@news.free.fr> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 2 Mar 2012 00:23:23 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="BSKXKq4dV+7jFlM4JDctyw"; logging-data="8984"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nTfS72Rkwe4q6++Z+IxJHYB+uqiMXbic=" |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120207 Icedove/3.0.11 |
| In-Reply-To | <4f4fe72d$0$658$426a74cc@news.free.fr> |
| Cancel-Lock | sha1:Xfd+4vg3s42BtstRnFUYyXvXeso= |
| Xref | csiph.com comp.lang.java.gui:5066 |
Show key headers only | View raw
On 03/01/2012 04:16 PM, ricoh51 wrote: > On Wed, 29 Feb 2012 18:02:15 -0500, Jeff Higgins wrote: > >> Customizing a Text Editor >> <http://java.sun.com/products/jfc/tsc/articles/text/editor_kit/> > >> If you decide to build the project in the article you will need to: >> replace all references to packages com.sun.java with javax, ignore the >> file GapContent.java -don't build it, it is now included in the JDK, >> include in your build path tools.jar from the lib directory of your JDK >> >> I just built and ran this using Java 7. > > Thank you for the tips, now I am able to compile this project! I will try > to adapt this project to my need. > I wish you good luck. The other article I mentioned is equally important. Especially when you get to the "editing" part of your project you will want to thoroughly understand the "Document API". I believe that getting your document model right is the most important part of designing an editor. So I will point to that section of that article again: <http://java.sun.com/products/jfc/tsc/articles/text/overview/index.html#model>. I have always wished for a comprehensive tutorial on designing Swing text document models but haven't found the one I imagine. I've always been a big fan of Dick Baldwin's tutorials: <http://www.dickbaldwin.com/toc.htm>. And of course the Swing trails in the Java Tutorials: <http://docs.oracle.com/javase/tutorial/index.html>.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Syntax highlighting ricoh51 <ricoh51@free.fr> - 2012-02-29 13:38 +0000
Re: Syntax highlighting Jeff Higgins <jeff@invalid.invalid> - 2012-02-29 10:27 -0500
Re: Syntax highlighting ricoh51 <ricoh51@free.fr> - 2012-02-29 21:14 +0000
Re: Syntax highlighting Jeff Higgins <jeff@invalid.invalid> - 2012-02-29 18:02 -0500
Re: Syntax highlighting Lew <noone@lewscanon.com> - 2012-03-01 09:49 -0800
Re: Syntax highlighting ricoh51 <ricoh51@free.fr> - 2012-03-01 22:24 +0000
Re: Syntax highlighting ricoh51 <ricoh51@free.fr> - 2012-03-01 21:16 +0000
Re: Syntax highlighting Jeff Higgins <jeff@invalid.invalid> - 2012-03-01 19:23 -0500
Re: Syntax highlighting Jeff Higgins <jeff@invalid.invalid> - 2012-03-02 11:21 -0500
Re: Syntax highlighting Roedy Green <see_website@mindprod.com.invalid> - 2012-03-02 04:39 -0800
Re: Syntax highlighting ricoh51 <ricoh51@free.fr> - 2012-03-03 13:29 +0000
Re: Syntax highlighting Jeff Higgins <jeff@invalid.invalid> - 2012-03-03 21:09 -0500
Re: Syntax highlighting Éric Marchand <eric.marchand51@gmail.com> - 2012-03-05 01:32 -0800
Re: Syntax highlighting Jeff Higgins <jeff@invalid.invalid> - 2012-03-05 05:35 -0500
Re: Syntax highlighting Éric Marchand <eric.marchand51@gmail.com> - 2012-03-05 04:59 -0800
csiph-web