Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JackMH

    Writer, Printing arbritary page sequence

    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...
  2. JackMH

    Derived fonts

    Tim, Thanks for the research and advice. Since there is a Font getTransform() method your suggestion will likely work. I will give it a shot.
  3. JackMH

    Derived fonts

    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)...
  4. JackMH

    Creating a Custom Charset

    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.
  5. JackMH

    Commenting code

    Enclose the code that you wish to comment, as follows: if (false) { Block of code to 'comment' }
  6. JackMH

    Frame.class?

    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...
  7. JackMH

    JFrame - 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...
  8. JackMH

    src directory organisation

    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...
  9. JackMH

    src directory organisation

    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...
  10. JackMH

    Alternative approach for the following task

    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 =...
  11. JackMH

    Vertical Text Orientation

    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...
  12. JackMH

    VPN FROM XP DESKTOP TO ANOTHER XP DESKTOP OVER BROADBAND

    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...
  13. JackMH

    How to make an image transparent?

    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));
  14. JackMH

    Error message on black screen

    This is _not_ a good place for this post, however I would guess that it really is a keyboard failure, try changing it.
  15. JackMH

    I Can connect...but I can't see the network!

    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...
  16. JackMH

    I Can connect...but I can't see the network!

    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...
  17. JackMH

    I Can connect...but I can't see the network!

    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...
  18. JackMH

    IP Address setup for VPN

    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...

Part and Inventory Search

Back
Top