Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Is anyone here familiar with TextPad?

  1. May 10, 2006 #1
    Is anyone here familiar with TextPad? I'm trying to use it as an interface for editing and running Java but I'm having problems. I don't know how to set it up to work with the Java environment.

    Thanks

    Pete
     
  2. jcsd
  3. May 10, 2006 #2

    Astronuc

    User Avatar

    Staff: Mentor

    I use TextPad as a text (ASCII, txt, html) editor, except for Word documents.

    Try going into Configure - Preference - and find Document Classes. One of the default classes is Java.

    You might also have to set up Associated Files and File Name Filters.
     
  4. May 10, 2006 #3

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I have no idea what kind of problem you're experiencing. There's really no such thing as a "Java environment." TextPad is a text editor. You can configure some macros to run command-line programs to compile and run your code, but, apart from that, there is no Java environment. Perhaps you could be a little more specific with your question?

    - Warren
     
  5. May 11, 2006 #4
    I use TextPad as an editor too. I used it a few years ago when I was learning C++ and it was a great tool. But now I can't figure out what I'm doing wrong. E.g. I wrote this piece of code


    Then I selected "Tools->Compile Java" and it took a few seconds and then in another window that popped up behind the code window and read

    "Tool completed successfully"

    Then I selected "Tools->Compile Java Application" and a DOS window popped up and said
    Seems to me that there are some pathways that the computer can't find/doesn't know about. What do I do at this point? I'm not even sure that its compiling. :frown:

    Pete
     
  6. May 11, 2006 #5

    Astronuc

    User Avatar

    Staff: Mentor

    I am not versed in Java, so hopefully chroot can help. I don't know if the syntax of your code is correct or not, but I would wonder if Textpad is using the correct compilation or not, or if it is inserting stuff (equivalent of hidden or control codes?) that is unwanted.

    But I am familiar with some TextPad's idiosyncracies. One has to be sure a class of documents is defined and is used when saving a particular class. I am not sure if that is what is happening here. Maybe you found a new one.
     
  7. May 11, 2006 #6

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    I'd suggest looking at what the "Compile Java" and "Run Java" macros actually do, and edit them if necessary.

    - Warren
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Is anyone here familiar with TextPad?
  1. TextPad Editor (Replies: 3)

Loading...