Hi, I am have been programming for about 2 days. Well I created a code that displays, "i love allie" whenever anything is typed. Yes its very simple but I have been working on this since monday night. I am in my first programming class now. Well, I was wondering if anyone knew of a tutorial to import the code into a program such as notepad so i can put it on my girlfriends computer. Like i said i'm new so i don't know if this will be alot of work, but i don't give up easy. I have searched but i couldn't find anything.
Thanks
Importing code into notepad
Started by Shortay, Jan 22 2008 09:46 PM
7 replies to this topic
#1
Posted 22 January 2008 - 09:46 PM
|
|
|
#2
Posted 24 January 2008 - 12:53 PM
I don't know Java but in most languages you need to compile your code to make it work. You need to copy the compiled code (I think this is a .JAR file) to your GFs comp in order for her to use it. Burn it to a CD or send it via email and then download it on your comp.
#3
Posted 24 January 2008 - 07:49 PM
Since Java code is interpreted by the JRE, without the JRE installed on your girlfriends computer, it wont run. However, you could create it in an applet and execute it through a browser.
#4
Posted 25 January 2008 - 11:45 AM
thanks guys. I will continue working on it. I guess i am trying to get ahead of myself considering how new i am and how powerful the program is.
#5
Posted 25 January 2008 - 12:57 PM
I always like to try and walk before I crawl. It's a little more painful, but in the end, I think its more beneficial.
#6
Posted 26 January 2008 - 04:11 AM
Are you trying to get the source code or the actual program on your girlfriends computer?
Remember that the infrastructure around Java is essentially free and that you could install all the sections you need on her computer if need be. If you only want the non compiled code then you need only copy and past the appropriate .java files.
Remember that the infrastructure around Java is essentially free and that you could install all the sections you need on her computer if need be. If you only want the non compiled code then you need only copy and past the appropriate .java files.
#7
Posted 27 January 2008 - 08:21 PM
well i thought it would be an interesting way to tell her i loved her. But at first i thought it would be as easy as typing some code into notepad to alter the program, but i found out its not.
I didn't want it permanently on there, just where i can say, "hey lets see how fast you can type then boom and delete the code after she saw it.
I didn't want it permanently on there, just where i can say, "hey lets see how fast you can type then boom and delete the code after she saw it.
#8
Posted 28 January 2008 - 01:32 PM


Sign In
Create Account

Back to top









