Hey!
I have develop a program in Windows and it works fine there! now i have to move it over to Solaris, there have been
alot of problems doing this!
The program is supose to show defferences between two docs(own format) this docs can contain Tabels, text, digrams and alot more.
The problem have been the to display the document with the differences markt in colors.
firs i tryued to use graphics.drawtext and .drawLine and so on. This workt fine one the windows computer but in solaris it hade big preformance problems. I notice that the .drawstring took alot of preformance so i desided to display the text by creating a styled document and then add this to a JTextPane, but i also hade to over ride Paintcomponent to be abled to paint the tables, diagrams and so on. this version is showing good preformance in solaris and windows.
But there is still alot of problems.
when changing size on the text and reloading the page it is not changing the siplay size in solaris(works in Windows)
The text is not marked all the way out on the right side, and if i select the text with the mouse the text that is not makrt is becoming white as the background.
Is there anything i am missing here? why is this not working in solaris when it works so well in Windows? Maby there is another way to display my text, diagrams and so on in Solaris with out this problems?
The Docs could look like this
HEAD
info
info
START OF PAGE
texttexttexttexttext Drawings to the text
text Drawings to the text
texttexttext table to the text
text table to the text
textvtexttexttext table to the text
texttexttext table to the text
END
I have workt along time on this problem and would be wary GLAD if someone have the time to help me.
//SnowJim