I would like to copy one of my *.java program file to "a new posting" in Java Ranch, but I don't know how to do it. Shall I first transfer the file to a WORD *.txt file and then transfer it to the posting section of Java Ranch, but on Microsoft Internet Explorer there is no "copy and paste" on the top menu bar (it is greyed out). Thank you for your answer. Charles Keller.
Do you just mean to include code in a posting like this one? Be sure to put the code tags around the code - use the code button below the edit window once to see what the tags look like, then you can type them about as quickly in the future. I copy & paste all the time with keyboard shortcuts Ctrl-C and Ctrl-V in Windows. The Edit-Paste menu selection on Internet Explorer seems to work fine, too. If you're having trouble with all that, post some more precise keystrokes or whatever is giving you trouble.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Jan 31, 2004
Hi Stan, Thank you for your reply. Yes, that is what I meant: Copy and paste a small java source program in the posting section of Java Ranch. So If I understand it correctly, in windows I should do the following: - Block text of code in source (IDE) or (WORD) - press CTRL-C - go to target (Ranch posting frame, which is already started) - press CTRL-V And then, I should press "code" at the beginning of the program and "code" again at the end: that's it? May I send you a small java source program to try it out? Thank you for your help. Charles.
Are you in Windows? If so, just highlight your code, right-click and go to Copy, and then after clicking on New Post you should right-click in the white textbox and choose Paste. You're done. Unless you want it formatted a bit more nicely. Then, type after it to enclose it. If you choose to click the CODE button down below when adding a post, then it will just stick those CODE tags in there automatically, and you'll need to paste your code in between them.
Joined: Jan 31, 2004
Mr. Huey, Thank you for your answer. I will try what you have suggested re. copying code program into a posting in Java-Ranch. Keep well: Charles .
Joined: Jan 29, 2003
Sounds like you are on track. The Code button inserts two tags for start and end code that I probably can't type here cause they'll be interpreted by the server. You put your code between them. Once you've seen them, you'll understand how to type them if it seems faster than hitting the button.
subject: How to copy a *.java file to Ranch Posting