Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20367
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <-@.> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Text in JEditorPane with links to actions |
| Date | Sat, 15 Dec 2012 14:06:38 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 27 |
| Message-ID | <kais9h$df1$1@dont-email.me> (permalink) |
| References | <b1fb47964e54624ed7794ad833a1d882$1@homeunix.nl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-15; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sat, 15 Dec 2012 22:06:41 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="13793"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vAmUy5Xc3GT10dfVwghTEY/Qiqo/GMqY=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
| In-Reply-To | <b1fb47964e54624ed7794ad833a1d882$1@homeunix.nl> |
| Cancel-Lock | sha1:PY3nx24bs5jnRBer65We6c6wHoo= |
| Xref | csiph.com comp.lang.java.programmer:20367 |
Show key headers only | View raw
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