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
I have workt along time on this problem and would be wary GLAD if someone have the time to help me.
posted 14 years ago
Here is how it works
The Solaris machine is running a server program that makes it possible for all computers on the company with a surtain client program (Windows - Exceed) to connect to the Solaris machine.
When connected to the Solaris machine this client (Exceed) is displaying a graphic interface of Solaris on the PC.
My Program is a plug-in to one of the available programs on the Solaris machine; this program gives my program the input data (the chosen documents).
With other words: my program is located on the Solaris machine/server.
I could make a server program on the Solaris machine that opens up a version of my program on the client (in Windows) and shows the information. But I really think that the company wants that everything should be displayed in this Solaris/Windows client(Exceed) . Even if it�s okay I don�t know how I could build a application like this?, and how all the company computers could get my software installed automatically. But it would help a lot, the printing problem in Solaris would work fine in Windows.
About the JDK version, I know that they are not running the newest version of the JDK on the Solaris machine, but I think its 1.4 or something so it should work?
And they will not update the JDK version be course there is many programs that they believe will fail to work.
I am as you know, using Swing right now, but maybe SWT should work better? If I choose my way with SWT, how complex is it to use? I only have 1 week to get this program to work in Solaris, and am not use to work with java and Solaris(as you probably have notice).
Again I am thankful for a detailed information about how I could make this work, I have tried a lot of ways and have no id�e left how I could get it to work.