[JAVA2D] Problem in printing on specfic printer on network

2009-02-26 Thread java2d
Hi Everyone I am working one swing application which need to print on some specific printer on network. Method which I am using is given below. In this method i am passing the printer name as parameter and string which is to be printed is present in the class member [b]printString[/b].

[JAVA2D] bad return value from GraphicsDevice.getAvailableAcceleratedMemory()?

2009-02-26 Thread java2d
Windows XP, SP3 java -version 1.6.0_11-b03 nvidia 8400GS with 512mb of Vram In earlier builds calling GraphicsDevice.getAvailableAcceleratedMemory() seemed to return a proper vram value. I've noticed that in more recent versions it is returning inaccurate values. On this particular machine

Re: [JAVA2D] Problem in printing on specfic printer on network

2009-02-26 Thread java2d
Hi Jennifer Sorry I wrongly wrote it is not printString it is printContent, so now I edited it. I am trying your suggestion but I think so the problem that my doc favor is not recognized by printer. When I debugged my program execution goes to the printDataTransferCompleted() and then

Re: [JAVA2D] bad return value from GraphicsDevice.getAvailableAcceleratedMemory()?

2009-02-26 Thread Dmitri Trembovetski
Unfortunately, this is just the way Direct3D 9 reports the amount of available video memory. It makes even less sense on windows Vista because video memory is virtualized there and is basically limited by your swap size. Earlier releases used DirectX 7 where the amount of vram reported

[JAVA2D] How to fill the area between two parallel arcs

2009-02-26 Thread java2d
I am new to Java AWT. Can any one help in how to fill the area between two parallel arcs ? Thanks [Message sent by forum member 'raghavareddy' (raghavareddy)] http://forums.java.net/jive/thread.jspa?messageID=334137 === To