This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Email preferences Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Email preferences" Watch "Email preferences" New topic
Author

Email preferences

Joseph Russell
Ranch Hand

Joined: Jan 08, 2001
Posts: 290
I've recieved a few comments from the nitpickers about my indenting being goofy. I don't use an editor...so I'm sure my spacing is correct. The only thing I can think of is my email preferences are goofed up. They used to be at 55 for width (it's a Yahoo! account) but Marylin suggested I change it to 80. I did but it's still messed up apperently. Does anyone else have a Yahoo account and what are your settings?
Thanks
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Is the button below the compose text area set to send "plain text" or "html tags allowed"?

Are you using the tab key to indent your code?

These are the two most common problems related to indenting.

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Richard Boren
Ranch Hand

Joined: Mar 01, 2001
Posts: 233
Joseph, I use Notepade with word wrap off and Yahoo with a width of 80 also (Marilyn had to explain it to me also). I have learned never to use the tab, that one took a while.
You might try sending your email to yourself to see the results, if you haven't tried that already.
Joseph Russell
Ranch Hand

Joined: Jan 08, 2001
Posts: 290
Nope I don't use the tab button. I always tap on the space key four times.
I think it's set to plain text. Is that what it should be?
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Do you use Outlook to control your Yahoo account Joseph ?. I once did it with a hotmail account.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Something is putting tabs into your email. When I get it, it has tabs in it. Do you type it directly into Yahoo? Or do you cut and paste. You said you don't use an editor. What do you use to create your source.java file?

yes, you should be using plain text in Yahoo (or any other email client).

[This message has been edited by Marilyn deQueiroz (edited May 19, 2001).]
Joseph Russell
Ranch Hand

Joined: Jan 08, 2001
Posts: 290
I cut and paste...could that be it? I just use notepad..with the word wrap turned off.

[This message has been edited by Joseph Russell (edited May 19, 2001).]
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Joseph I suggest you start using an IDE. There was a very good discussion on IDE's but I can find it right now. I personally use TextPad TextPad and am very happy with it. What I like about it that it still lets me do all the work.
But what works for me might not work for you I suggest you do a search here on the Ranch there were quite a few discussions on IDE's.
Good Luck
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
Recently read this discussion which IDE to learn Java with? over at the "IDEs and other tools" forum, lots of info about IDEs.
Pauline

[This message has been edited by Pauline McNamara (edited May 20, 2001).]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
I agree with Paul and with most senior Java engineers that learning Java with a text editor is much superior to using an IDE.

Regarding Notepad... Sometimes Notepad tries to "help" you by changing some of your spaces to tabs (if you have 8 or more spaces for instance) without your knowledge, so using a different text editor would probably solve your problem, Joseph.
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
TextPad is actually not much more than an improved notepad. You still have to code every single line yourself.

[This message has been edited by Johannes de Jong (edited May 20, 2001).]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
But it's color-coded and it doesn't change your spaces to tabs unless you ask it to.
Joseph Russell
Ranch Hand

Joined: Jan 08, 2001
Posts: 290
I've read a lot on IDE's and have used Borlands IDE. The only thing I didn't like about Borland was I felt it was attempting to do too much for me, and I want to learn what's really going on.
Wasn't aware that textpad would add spaces. Pretty evil if you ask me. So, I guess I'll try TextPad.
Thanks for your input.
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Joseph I found the thread I found so helpfull.
Good Editor
By the way in it JC mentions a document he wrote with helpfull tips for textpad. Its worth asking him for it.
Joseph Russell
Ranch Hand

Joined: Jan 08, 2001
Posts: 290
Has anyone heard of an editor called BlueJ?
http://bluej.monash.edu/
Check it out and let me know what you think.
I have downloaded textpad. Definitely better than notepad. Thanks
 
Consider Paul's rocket mass heater.
 
subject: Email preferences
 
Similar Threads
JavaMail sent to multiple recipients
email trouble?
Yahoo sells out...
Submitting assignments
LWJGL/Slick TextureLoader issue