Forum: Java Oct 22nd, 2009 |
| Replies: 2 Views: 318 1st Part
public void posneg (String str1)
{
Convert the string to int
Divide it by 2,
if there is a remainder, its odd
if not even
} |
Forum: Java Nov 28th, 2006 |
| Replies: 7 Views: 5,817 Hi everyone,
see the below threads
http://forum.java.sun.com/thread.jspa?threadID=762802&tstart=0
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=592585
... |
Forum: Java Nov 27th, 2006 |
| Replies: 7 Views: 5,817 Hi everyone,
Try looking at the java's InetAddress api, there maybe something useful there for you
http://java.sun.com/j2se/1.5.0/docs/api/java/net/InetAddress.html
... |
Forum: Java May 15th, 2006 |
| Replies: 3 Views: 5,495 Hi everyone,
When you run javac.exe, you will need the Process class. In that class see the error stream, input stream
Richard West |
Forum: Java Aug 1st, 2005 |
| Replies: 13 Views: 3,833 Hi everyone,
Dude i don't mean to ride you up but server_crash is right why are you hijacking someone else's thread. If you want help post a thread so people can help you
... |
Forum: Java Aug 1st, 2005 |
| Replies: 11 Views: 51,829 Hi everyone,
The starting prompt needs to be the location of java.exe
Richard West |
Forum: Java Jul 31st, 2005 |
| Replies: 11 Views: 51,829 Hi everyone,
Do this
java -jar -cp .;C:\Documents and Settings\Josh\My Documents\JAVA Programs myjar.jar
I haven't run java programs from the command line for quite some time but i... |
Forum: Java Jul 31st, 2005 |
| Replies: 11 Views: 51,829 Hi everyone,
Do this list what is in your manifest file here. Also list exactly what you are typing on the command line with all the full path and class path so we can see... |
Forum: Computer Science Jul 31st, 2005 |
| Replies: 6 Views: 11,792 Hi everyone,
Could not have said it better myself.
Richard West |
Forum: Java Jan 3rd, 2005 |
| Replies: 4 Views: 4,966 Hi everyone,
You are resetting your UndoManager class every time so there is always nothing to undo. Basically remove the createUndoManager() function and create that class... |
Forum: Java Jan 3rd, 2005 |
| Replies: 2 Views: 3,646 Hi everyone,
Try this
doc.insertString(TextPane.getCaretPosition(), s, null);
This seems to always work for me
Richard West |