Author Topic: JavaTyper - a text editor in Java  (Read 9103 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
JavaTyper - a text editor in Java
« on: December 21, 2010, 05:49:02 pm »
Yes, there are better text editors.

Yes, this one is good but when compared to most of the existing ones, it sucks.

Yes, it is good because I made it.

Yes, you should try it.

Yes, most of the code is mine, but I found a few things on the web.

No, it is not open-source.

Yes, it is good-looking.

Yes, it has Save/Open capabilities.

Yes, I will be uploading it.

Yes, you have lost the game.

Yes, it allows indentation with the TAB key.

Yes, it is an executable .jar file.

Yes, I am uploading it.

Yes, for the time being it is not a very good program.

Yes, it will be one day, hopefully.

Yes, the file is not large and the program is fast, but not super-fast.
« Last Edit: December 23, 2010, 02:24:00 pm by ScoutDavid »

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #1 on: December 21, 2010, 06:38:43 pm »
I looked at the source. Java is pretty easily de-compilable.

Anyway, It looks pretty good.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: JavaTyper - a text editor in Java
« Reply #2 on: December 21, 2010, 06:55:00 pm »
Nice. The only suggestion I would have though is to make the text larger, or maybe add an option menu to increase the size.

What text format does it support? Does it also support unicode?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #3 on: December 21, 2010, 07:44:01 pm »
Nice. The only suggestion I would have though is to make the text larger, or maybe add an option menu to increase the size.

What text format does it support? Does it also support unicode?

It supporst most ASCII symbols like the STO arrow :) UNICODE I don't really know what that is :S

I am including a colour/text format option in a near future :)

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #4 on: December 21, 2010, 07:57:33 pm »
Nice. The only suggestion I would have though is to make the text larger, or maybe add an option menu to increase the size.

What text format does it support? Does it also support unicode?

It supporst most ASCII symbols like the STO arrow :) UNICODE I don't really know what that is :S

I am including a colour/text format option in a near future :)

It supports Unicode. Java supports Unicode and i'm assuming you're using a JTextArea, so the text editor does support unicode.


Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #5 on: December 21, 2010, 08:00:00 pm »
Nice. The only suggestion I would have though is to make the text larger, or maybe add an option menu to increase the size.

What text format does it support? Does it also support unicode?

It supporst most ASCII symbols like the STO arrow :) UNICODE I don't really know what that is :S

I am including a colour/text format option in a near future :)

It supports Unicode. Java supports Unicode and i'm assuming you're using a JTextArea, so the text editor does support unicode.

I am using TextArea so it does support unicode :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: JavaTyper - a text editor in Java
« Reply #6 on: December 21, 2010, 08:01:12 pm »
Nice. The only suggestion I would have though is to make the text larger, or maybe add an option menu to increase the size.

What text format does it support? Does it also support unicode?

It supporst most ASCII symbols like the STO arrow :) UNICODE I don't really know what that is :S

I am including a colour/text format option in a near future :)
Ah ok I was more wondering about formats like RTF, DOC, etc. But I was also curious about ASCII/UNICODE. Would it open Illusiat 81 readme fine, for example?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #7 on: December 21, 2010, 08:04:52 pm »
Nice. The only suggestion I would have though is to make the text larger, or maybe add an option menu to increase the size.

What text format does it support? Does it also support unicode?

It supporst most ASCII symbols like the STO arrow :) UNICODE I don't really know what that is :S

I am including a colour/text format option in a near future :)
Ah ok I was more wondering about formats like RTF, DOC, etc. But I was also curious about ASCII/UNICODE. Would it open Illusiat 81 readme fine, for example?

i think it would only support .txt files. it's like notepad, you can open whatever file you want but it won't always be human-readable. you could open a GIF but it wouldn't display an image, for example. it would give you the unicode representation of the gif data.


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: JavaTyper - a text editor in Java
« Reply #8 on: December 22, 2010, 02:13:58 am »
Ah ok, I see. :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #9 on: December 22, 2010, 06:02:07 am »
Yes, it opens .exe's too, but it displays the crazy code :) .txt's work perfectly, though :)

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #10 on: December 22, 2010, 11:28:58 am »
very nice!  I just tried it, and it looks great.  :D

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #11 on: December 22, 2010, 11:30:01 am »
* ScoutDavid glances at 14 downloads :P

very nice!  I just tried it, and it looks great.  :D

Thanks :)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #12 on: December 22, 2010, 03:18:07 pm »
It looks great :D Great job ^^ are there any other features you are planning on implementing?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #13 on: December 22, 2010, 03:48:19 pm »
It looks great :D Great job ^^ are there any other features you are planning on implementing?

I will when I have time :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: JavaTyper - a text editor in Java
« Reply #14 on: December 23, 2010, 02:24:28 pm »
Sorry for double post, but this is an update.

Added an 'Are you Sure' function for Open and Exit.
New now opens a new frame.
The X button now closes the frame instead of the program.
Added Select All, Cut, Copy, Paste and Clear functions.

I really need to add Undo/Redo so that this has some value, but I can't do it, anybody knows how to?

:) Attached the file! Tell em what you think.
« Last Edit: December 23, 2010, 03:41:08 pm by ScoutDavid »