Click to See Complete Forum and Search --> : My little java text editor
hot_ice
March 21st, 2002, 12:52 PM
Well, I didn't really know where to chuck this, so I guess Tutorial, even though I'm not really going to comment on the code. But, if you have any questions at all, feel free to post and I'll reply.
Basically, about a year ago I did this little text editor in java to make sure I memorise some of the java syntax for the exam. :) Well, I just opened it up again, played around a bit, reminded myself of some stuff and thought that it would be good to post up so that people who are new to java could have a look at the program and also the code.You can play around with the code, see what changes what and how it all works.
The zip file attached contains the three class files (which are created when you compile the java source file). A batch file, which basically runs the program - keep in mind, you need the JDK or SDK installed to run this (if not, download from http://java.sun.com/products/ ). The java file is the actual source code for the program, you can open in up in any text editor (even mine!!) and view it. You can make changes, save, then compile and do whatever.
Greg
souleman
March 21st, 2002, 01:29 PM
So wait, we can open the source code in your text editor, make changes, compile, and then open your text editor? Ahhhh, talk about an endless loop ;)
Not much of a tutorial, but still pretty cool. Best way to learn is to look at code.
btw, nice batch file. But I run linux and cant get it to work. The batch file that is. Oh well, I guess I am just out of luck.
{8+}>-|--< <---Goofy little unseen smiley type guy
VanEck
March 21st, 2002, 01:39 PM
thanks for the post man. i decided to start dipping into java yesterday and downloaded the sdk and netbeans so this is good timing for me.
JRoc
March 23rd, 2002, 02:15 PM
Does any have a C text editor while we're on the case?
hot_ice
March 24th, 2002, 02:49 AM
Does any have a C text editor while we're on the case?
Try Dev-C++, you can get it here: http://www.bloodshed.net/devcpp.html
Greg
ac1dsp3ctrum
March 24th, 2002, 02:57 AM
hot_ice, this is a nifty little program... Im gonna call it notepad.exe and integrate it into my Win2k :)
hot_ice
March 24th, 2002, 03:01 AM
Im gonna call it notepad.exe and integrate it into my Win2k
HEHE...funny stuff. You might as well just delete notepad, I mean what do you need it for, this one does it all mate!! :D
In fact, I'm gonna send it to MS and tell em to just integrate it with all their OS's from now on, replacing notepad.
Greg
ac1dsp3ctrum
March 24th, 2002, 03:09 AM
LOL, BillG will market it... Make tons of cash off of it.... And deny that you ever existed ;)
hot_ice
March 24th, 2002, 03:15 AM
LOL, BillG will market it... Make tons of cash off of it.... And deny that you ever existed
HAH!! That's a very good point...hmmm...maybe I'll give it to Apple. What you think? They'll make it look so nice and pretty with their wonderful GUI. :)
Greg
RiOtEr
March 24th, 2002, 03:21 AM
http://www.antionline.com/showthread.php?threadid=222731
jroc in that thread u claim to know c and c++ now why would u want someone to write u one if you already know it???
RiOtEr
cwk9
March 24th, 2002, 04:16 AM
I'm with RiOter on this one if JRoc has even a basic understanding of c++ he wouldn’t need the source code. Guess he’s not the programming guru he claimed to be in some other threads.
JRoc
March 24th, 2002, 02:03 PM
Thanks for the C Editor. Works Like a charm! :)
pakdhe
March 24th, 2002, 02:56 PM
does c editor works at notepad? and i think notepad.exe was a new OS
Tedob1
March 24th, 2002, 05:59 PM
for c editing in win, just open the run cammand and type edit. although it dosn't highlight syntax. if you want highlighted syntax and keywords use rhide for win32, you can download it at http://www.delorie.com/ as part of gcc for windows, just choose it in the zip selector. rhide alse works well with borland.
Thak you for sharing your code hot_ice. your are a true Netizen.
JRoc
March 24th, 2002, 10:32 PM
I needed a editor. Like I know that stuff like I know html buh I also use frontpage. Its n html editor. I jus wondered if someone had a C++ editor. Thats all
Shangrila
March 24th, 2002, 10:49 PM
You can use editplus for windows. I use it all the time. You can edit c/c++, java, perl, etc.
fr0z3n
April 24th, 2002, 10:10 PM
interesting contraption..
props! =) I like it.
owen76
April 25th, 2002, 02:07 PM
hotice, microsoft will steal it off of mac (I believe MS owns a piece of the company), and then rewrite it in j++ so it will only work on windows. Then they will instruct their browser to deny this thread.