zandiago commented: muhahahaha...cheer up m8! +3
jasimp 427 Senior Poster Featured Poster
majestic0110 commented: a very fair poster and good helper +2
Thanks.
[code=language] [/code] Those are code tags and when you put them around your code it looks like this.
import java.util.*;
public class PageOne
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
private int option = 0;
RegisterTest entry = new RegisterTest();
System.out.println("--Welcome To The Owned Application--");
System.out.println("1. Login");
System.out.println("2. Register");
System.out.println("");
System.out.print("Enter Your Choice : ");
option = sc.nextInt();
switch(option)
{
case 1:
case 2: entry.Test2();
break;
default: System.out.println("Invalid Option...Enter Again");
System.out.println("");
System.out.print("Enter Your Choice : ");
option = sc.nextInt();
break;
}
}
}
import java.util.*;
import java.io.*;
public class Register
{
private String userEmail;
private String name;
private String password;
private int option;
private String inviterEmail;
private int dollars;
public Register()
{
userEmail = "";
name = "";
password = "";
option = 0;
inviterEmail = "";
dollars = 200;
}
public void setUserEmail(String newUserEmail)
{
userEmail = newUserEmail;
}
public void setName(String newName)
{
name = newName;
}
public void setPassword(String newPassword)
{
password = newPassword;
}
public void setOption(int newOption)
{
option = newOption;
}
public void setInviterEmail(String newInviterEmail)
{
inviterEmail = newInviterEmail;
}
public void Test1()
{
try {
FileOutputStream fOutputStream = new FileOutputStream("C:\\Documents and Settings\\mayank.a.2007\\Desktop\\SMU - 2nd Semester\\Object Oriented Application Development\\Project Facelift\\Code\\Database.txt");
Scanner sc = new Scanner(System.in);
fOutputStream.write(userEmail);
fOutputStream.write(name);
fOutputStream.write(password);
fOutputStream.write(option);
fOutputStream.write(inviterEmail);
fOutputStream.write("");
fOutputStream.close();
}
catch(FileNotFoundException e) {
System.out.println("Error Opening The Input File!" + e.getMessage());
System.exit(0);
}
catch (IOException e) {
System.out.println("IO Error!" + e.getMessage());
e.printStackTrace();
System.exit(0);
}
}
}
import java.util.*;
public class RegisterTest
{
public void …
Here are three images that go in order from top to bottom.
They are the same threads I have been subscribed to for awhile now. The problem does not occur on any of my other control panel pages. It also happens without any threads showing, my reputation comments are slightly blocked.
No. I hate that show.
Do you have a Myspace or Facebook username?
Wrong diagnosis's can lead to death.
4412
I am experiencing the same kind of problem except in my control panel. The advertisements appear to be to far to the left. I am using Firefox and WinXp. Problem does not occur in IE7. This has been a problem for about three days now.
Please tell us what you need help on exactly.
No one will give you a program no matter how desperate you are. You actually need to do the work, not us. Read the rules.
It appears my in the most insulting so far.
"jasimp is a toilet seat that communicates via Instant Messenger! It asks trivia questions and helps around the home."
It took me one minute to find code for it on Google, "multiplication table in java". This is what I found, please try and do a little research before asking.
Herbs make all sorts of meat taste better.
I'm pretty sure they said that it was also ok to use it for other reasons, like yours. Ask one of the mods.
And why did you start a new thread with the same subject mtbutt?
The same reason a child will ask their other parent when the first one says no.
Welcome!
Night comes after day.
On the plane the young man went.
4394
Yes
Do you like to cook and bake?
lids
Right on time.
4392
No.
Do you like to read novels?
solid
That is not a yes or no question.
Material possessions are the only thing some people care about.
4390
Welcome! I am a huge Stephen King addict. I own and have read almost every single book he has written. I too love that saying from Dreamcatcher.
Play to win or don't play at all.
4388
Welcome! Good luck with your program.
This thread is over three years old and you want someone who has not visited this site in three years to help you cheat. Do not bring back these old threads.
I think Dani has said that they are not going to be deleted but the archive forum is a good idea.
I like reading, skiing, Rubik Cubes.
opps, wrong button, please disregard this post (can someone delete this ?)
Hit the flag bad post button.
Yes.
Do you like cold climates more than warm climates?
White always goes first in chess.
solder
4384