I suppose that a separate file would be best as it would mean that
programming skills (however minimal) wouldn't be required to add tips.
A quick google search says that there is a control called JEditorPane
which can display html.
frankie
On 09/17/11 16:38, Joe Emenaker wrote:
> I'm sure everybody here has seen those "Tip of the day" pop-ups that
> many apps have, where the user is shown some random bit of information
> about what they can do with the app. And then there are buttons for "See
> Next" and "Stop Showing These on Startup" actions.
>
> I think that JSL could benefit from something like this. I'm willing to
> write it, but I won't be able to get to it immediately. If someone else
> wants to do it, that's fine.
>
> But I wanted to discuss how we should manage the tips. It would be nice
> to be able to color/bolden/italicize/underline different sections of
> text for emphasis. My guess is that Java includes some kind of HTML
> viewer panel, but I'm not sure. If it does, then we could just store all
> of the tips as HTML. If we did that, would we want to store all of the
> tips as strings within the class file that handles displaying them? Or
> do we want to keep them in a separate file? Do we want to support
> images? External links to the wiki or web documentation?
>
> - Joe
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> http://p.sf.net/sfu/rim-devcon-copy2
> _______________________________________________
> Jsynthlib-devel mailing list
> Jsy...@li...
> https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel
|