JEditorPane

hi

I want to display the result of some calculations in a JEditorPane with some Formats for eg. I want to display the following

label1:

value1(decimal degrees)

value1(hrs min sec)

label2:

value2(decimal degrees)

value2(deg min sec)

in a JEditorPane.How can i display it?may be inside a table? or just bold the headings and use a different font for others or how or anyother suggestions to give a appealing output?Please help me with some sample codes.

[506 byte] By [Gcona] at [2007-10-2 10:21:41]
# 1
Why use a JEditorPane. Just use JLabel and the appropriate Layout Manager. Read the tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]How to Use Layout Managers[/url].
camickra at 2007-7-13 1:53:06 > top of Java-index,Desktop,Core GUI APIs...