Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20367
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Text in JEditorPane with links to actions |
| Date | 2012-12-15 14:06 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <kais9h$df1$1@dont-email.me> (permalink) |
| References | <b1fb47964e54624ed7794ad833a1d882$1@homeunix.nl> |
On 12/15/2012 11:02 AM, HawkLane wrote: > > My boss wants us to have like a help document in a Swing application. > This means that if the user clicks on a special term (underlined), the > "help text" (explanation of the term) is shown, whether in a pop-up > window or something else. Is the best way to do this using a > HyperlinkListener or something else? > I see JavaFx links are being added to the Java tutorial, by Oracle. I think you'd be remiss to not think about JavaFX. Here's the link from the tutorial: <http://docs.oracle.com/javafx/2/ui_controls/editor.htm> However my personal experience is "I dunno." In general you do use HyperlinkListener to implement links with a JEditorPane. Whether that's a good idea for "help text" is beyond my ken. You should probably also have a look at JavaHelp if you stick to Swing. However I've seen some people claim it's too complicated for what it does. Rolling your own help in Java seems a popular option. <http://javahelp.java.net/>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Text in JEditorPane with links to actions H.L@softhome.net (HawkLane) - 2012-12-15 19:02 +0000
Re: Text in JEditorPane with links to actions markspace <-@.> - 2012-12-15 14:06 -0800
Re: Text in JEditorPane with links to actions Roedy Green <see_website@mindprod.com.invalid> - 2012-12-15 16:40 -0800
Re: Text in JEditorPane with links to actions H.L@softhome.net (HawkLane) - 2012-12-24 12:01 +0000
csiph-web