I frequently need to create 'booklets' using 2 pages a sheet and need to print them on both sides of the paper.
The simplest example is a 4 page booklet. The sequence to print is 2,3,4,1. Please don't suggest that I create pages in the document in that sequence since while it is OK, albeit...
I have some Java code that is essentially, as follows:
AffineTransform _1 = AffineTransform(getScaledInstance(1.2, 1.1);
Font f1 = (new Font("Dialog", Font.BOLD, 12)).deriveFont(_1);
...
if (...)
f1 = f1.deriveFont(AffineTransform.getRotateInstance(Math.toRadian(90));
...
setFont(f1)...
I have a need to make input operations using a FileReader object but must apply a custom transformation when translating from the input bytes to Java Unicode char.
I have been unsuccessful in determining how to proceed, any guidance would be greatly appreciated.
Not really a reply but a request for some related assistance.
I have an application that uses a JFrame as the main GUI component. The user must *not* have the ability to exit the application so I have setup to DO_NOTHING_ON_CLOSE, which is fine except that users complain "the close button...
I have an application of which the main GUI is a JFrame and I require that the 'close' (X) button be disabled. I have used the setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE)which serves the purpose but is a little confusing to users who complain that "the close button doesn't...
Jwenting,
Thanks for the prompt reply. I guess we are going to have to agree to disagree regarding what is 'natural'.
However the requirement to structure the source files as a mirror of the Java packages was a Borland Jbuilder decision not Sun. I use the Sun Java SDK with other Java IDE'e and...
I noted an earlier post that descried the *need* to organize the src sub-directories in a manner that mirrors the Java packages.
I find such a requirement a major inconvenience, in fact bordering on the absurd and am hoping that there is some way around it. If anyone has a way of working around...
A similar approach to Pete's but perhaps a shade simpler:
static String [] keywords =
{"boolean", "byte", "char", "double", float",
"int", "long", "short"}; // MUST be ordered alphabetically
int i; // Index
i =...
I have a requirement to draw text in a vertical fashion on a Canvas (or JComponent). I thought that it would be easy and a
common requirement but apparently not so.
The Font class includes a deriveFont() method that has as a parameter of an AffineTransform instance. I used a 90degree rotate...
Steve,
I think that you answered your own question: How can i do it or cant i as both pc's are clients?????"
You do need a VPN server at one end. If your 'XP Desktop's are Home Editions you will have a problem since they do not include the VPN Server s/w. If one is a Pro Edition you will...
Have you tried setting the background color of the map to anything with an 'alpha' factor (poacity ?) of zero.
image.setBackground(new Color(0, 0, 0, 0));
You could try it but I don't think that it will work.
I did speak with a network guru who is far more knowledgeable than I and he told me that "when a client connects to a VPN server it is quite normal, and even desirable for the LAN of which the client is always a member (local LAN) to be...
You have a more complex setup here than I had imagined, with two PPP adapters, SNET and CFS.I will have to take a close look at the routing tables of the client machins.
I do see a situation from the ipconfig/all printout which may be the cause of the problem.
Ethernet adapter Local Area...
Using 'ipconfig' I would expect to see two (2) IP addresses. One for your LAN connection and one for the VPN connection. What is the network address and subnet mask of the VPN server.
If the address 192.168.0.101 is that assigned by the VPN server. However since you say that your LAN printer...
Stephen,
You do not mention what 'flavour' of VPN you are using, i.e. PPTP, LPSEC, etc. I would however recommend that at the server side that you set up a DHCP server and you configure the client VPN (win2kprof) connection to use a DHCP assigned address. If all works well after the connection...
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.