|
Hi all,
I am about to develop a desktop application, based
on SWING (jdk 1.4). The basic structure of the application is like a CHM file
(MS help files), meaning a navigation tree on the left and content on the right.
Some content is pure text and some is input objects (checkboxes, text fields
etc.)
I have a few design questions for the
group:
1) I want to use javax.swing.JTextPane in
order to have better looking texts. What is the overhead of loading HTML
content from HTML files every time the application loads? Will it matter
if I "hardcode" the content in a StringBuffer? (This saves file
accessing).
2) I want to be able to have some links within the
HTML content that will take the user to other pages in the application. How can
I add a link that when the user clicks, it will emulate a click on a
tree node (the navigation tree on the left), I ask since it is an HTML link
(rendered in a java GUI object) that is supposed to invoke a java event.
Should I write my own HTML parser for that?
Thanks in advance,
David Treves.
http://www.sys-con.com/java/list.cfm |
- [jdjlist] Re: Using SWING's JTextPane David Treves
- [jdjlist] Re: Using SWING's JTextPane David Treves
