And yet, regrettably, the whole construct fails for a record set that is not divisible by the page size.
Has anyone found a solution such as this with an uneven record set?
I think the solution is to convert the pdf file to an html page and then the jEditorPane will treat it like a URL.
i.e wasPDF.htm => yourEditorPane.setPage(asPDF.htm);
I just did something like this at work for the help dialog of our current release. I modified a tutorial I found at...
Maybe this is too simple (I think pete is correct to look at your events) but consider changing this
-----------------code-------------------------------
if (textArea.getText().length() == 0)
{
label.setText("No text in textArea");
}...
Maybe you can use an archiving program to open your dmc.jar and look at the manifest. It should tell you what the creator of the jar called the classpath to run it. Then you will know for sure how to proceed. Good luck.
For clarification, what is the parent container? I'm thinking the lag may be from the first JFrame mentioned. Can you make use of a JInternalFrame or a JDesktopPane instead? My experience says that only the parent container should be a JFrame, but I don't know your full context.
Hey there,
I'm sorry but this application has about 20 classes, and this panel in particular has over 20 methods. Code snippets will NOT be helpful in this case (it would simply take too much room-seems "spammy" to me, sorry).
I think that the issue is with the way the...
My new project entails fixing a bug in currently updated (Java 1 to Java 2) code that tries to simulate a drag & drop procedure. The correction I need to fix is that WYSInotWYG. i.e. the cursor "comes loose" from the object. when you try to reconnect it "jumps" out of the...
That's what I was thinking, here are the 35 lines::
//35 lines that take almost 40% of load time
lTimeValue111112 = new java.util.Date().getTime();
Newfc = new javax.swing.JFileChooser();
Openfc = new javax.swing.JFileChooser();
Savefc = new javax.swing.JFileChooser();
Copyfc = new...
Hey there,
I'm working on an application built in SunOne4 rebuilt from Symantec Cafe. on SuSe7-linux (Intel 1.7Ghz with 512DDR) it loads in 2 seconds on average; the 900Mhz/128SDRAM w/XP runs average 5 seconds; the 367Mhz/128 w/98SE runs 10 seconds, and my boss's laptop (XP & PIII i think)...
I need to write a simple client prog to request info from a known server. I do not know where to begin. Please give any guide, hints or spoilers. Would be much appreciated.
I have Borland 5.02 from Builder 4.0.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.