Hi guys,
currently I'm encountering a strange behavior while using the PrinterJob class.
I've got a little program printing some pages. Most of the time the printer does its job as it should. But sometimes it takes minutes printing a page which was printed before in seconds.
It's absolutely random and not reproducible.
Following, the gist of the used code.
Where the Printable is a simple...
User Profile
Collapse
-
very slow printing with java.awt.print.PrinterJob
-
Actually I got it finally running by using these binaries : https://j3d-webstart.dev.java.net/ and signing the created .jar
So i would say thanks anyway ;) -
Problem running Java3D jar with WebStart
Hi guys,
I'm not sure if theres anybody here with experience on this topic but ill give it a shot.
Im lately facing some problems running several .jar files as Java WebStart jnlp.
For this reason I tried to run a very basic .jar on my webspace which does well.
But as soon as i try to usw .jar using the Java3D API, or just more complex it doesnt work with different errors.
So before I go a bit deeper... -
-
hi,
your tip gave me the right direction, thanks very much for that!
in case your interested I post my working code. I'm not sure if its coded very nice but as im relatively new to java I'm glad its working at all :D.
...Code:public void deleteAllConnections() throws AddressBookException{ AddressBookEntry en; for(Iterator<Connection> it = this.getConnections().listIterator();Leave a comment:
-
so thats not allowed?
do you know a way to avoid it?
maybe use a usual for or a while loop?Leave a comment:
-
"connection s"...Code:public void deleteConnection(Connection c) throws AddressBookException{ AddressBookEntry en; if( c.o2 == this){ en = (AddressBookEntry) c.o1; } else{ en = (AddressBookEntry) c.o2; } connections.remove(c); en.connections.remove(c); }Leave a comment:
-
-
Trouble iteration over a list and removing items
Hi guys,
ive written the following method.
its supposed to delete objects in a LinkedList.
These objects implicit Connections to other objects.
if one object is deleted all the connections in the other objects should be deleted as well.
all in all this code should do what I want. the only problem is that i get an ConcurrentModif icationExceptio n running it.
in the API it says ... -
hi,
the var $bildende is defined as the length of the table in the db.
so its always supposed to run the while loop till the end of the tableLeave a comment:
-
Problem with str_replace or strpos
Hi,
ive written the following php code. its a part of an admin form to add a text.
when adding the text %bild[xx] the script is supposed to swap that with the link to the picture already stored in the mysql db.
it works perfectly fine until the $id variable reaches "100".
I dont understand why it works for every number from 1 till 99 but not for a bigger one than 100.
I mean $id is not fixed... -
hi,
just as I was about to try it, i got another idea which works perfectly now.
I just did it with css and lists, completely without js. I recon its way better because theres less code and its more flexibel.
but thanks for your answer anyway :)Leave a comment:
-
-
Problem with Javascript & Firefox
Hi,
ive got the following functions included in my page. with IE they are perfectly working. with firefox it seems like they are not there at all ...
...Code:function img_toggle(img) { var img = document.getElementById("img" + img); img.background = "bg/t2.gif"; img.style.cursor = "hand"; } function img_toggleback(img) { var img
No activity results to display
Show More
Leave a comment: