![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 136
Rep Power: 0
![]() |
Basic Text Editor
This is a basic text editor I developed using Java. It's nothing major but I hope I can get you guys opinion on it and my style of coding in Java so far. This took me about 2 hours to do with testing and all that.
I've been on Java for 4 months and this is probably biggest thing right now I can do. I attached it as a text file but you can just change the extension to .java, compile, and then run it. I know there are millions of text editors available but this was a test to see if I could really do it without any references or help. I used SciTe to develop it. |
|
|
|
|
|
#2 |
|
Expert Programmer
|
Compiles fine, doesn't run for me though. I get:
Exception in thread "main" java.lang.NoSuchMethodError: main Press any key to continue... Didn't bother trying to fix it, as it might be just me. Looks good though, needs some commenting ![]() |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 136
Rep Power: 0
![]() |
lol, yes. I have a habit of commenting very little. Sorry about that.
|
|
|
|
|
|
#4 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
![]() Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 136
Rep Power: 0
![]() |
I had the main method in a seperate class. Sorry about that. Here's an uploaded version of my text editor anyways.
|
|
|
|
|
|
#6 |
|
Expert Programmer
|
Works now. Nice job, looks good.
![]() |
|
|
|
|
|
#7 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 136
Rep Power: 0
![]() |
Thanks for the compliment, Boooze.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|