- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 5
- Posts with Downvotes
- 5
- Downvoting Members
- 2
Network Consultant
- Interests
- Music, and everything :D
Re: I don't know the exact solution. I may try once I go home. Just few suggestions: 1. Since Java 1.5 a new class ProcessBuilder has been introduced to replace exec(). So might be a good idea to try with ProcessBuilder and see if it works. 2. A work around can … | |
Re: Make sure your Java classpath is set properly in windows environment variables. | |
Re: It is not encouraged to post such straight forward solution here. This forum definitely discourage the "copy-paste" manner. | |
Re: if you write the problem using code bbcode, it looks better... you want something like [code] 123456 12345 1234 123 12 1 [/code] There are different ways to solve this problem. I would used a for loop to count how many empty spaces (" ") I need to print before … | |
Re: Why do you think we put curtain or frames in our windows? Why do we need privacy? If you write your class making e'thing public, any one in the world with basic Java knowledge will be able to hack your system. I will suggest you to know the differences first. | |
Re: I will suggest you the same as Phaelax again, try to enclose your code within code tags. Your code is not readable. As you are saying you can't think of how to continue using the above code, is it the code provided by your prof (i will assume some skeleton … | |
Re: Sure, from now on attend the lectures, listen to your prof carefully and do some practice. For now, start with a for dummies type book to figure out what to do. Once you figure out, start coding, and if you have trouble, look into the books, do some research. If … | |
Re: an easy solution is: [code] startX, endX; for(i=startX; i<=endX; i++) { for(j=2; j<i; j++) { p=i%j; if(p!=0) { // you know it is not prime... break the loop } //now get the prime number when p==0 after checking all the values for j. } // once u got the i … | |
Re: yah... linked list wud be better if u have enough knowledge on dat..... otherwise, try with the other one..... it wud be li'l clumsy.... but using good thinking u can decrease the length of the code..... be careful abt the things u r using more than once..... thus u won't … | |
Re: [QUOTE=Phaelax;21462]Nobody knows? Haven't found a forum yet that can answer this.[/QUOTE] Hi Phaelax, I don't think forums can directly help you in this problem. Because you specified you want to add observer and observable to your classes, but you did not even implemented the observer interface correctly. I will recommend … | |
Hi All, I am trying to design a website, through which i can feed a live streaming (real player/ w. media player)..... but i don't have any idea how to do it.... can any one help me out where to start..... . do i need any software for broadcasting using … | |
Re: I will assume Alrevolver and rana84 are the same person. I will just ask did you understand what s.o.s. just have told? :-| Read his post again and again and try to make sense. Your answer is already given. | |
| |
| |
Re: [QUOTE=Achupa;722300] So my question is, is this how to create my own exceptions and passing them to the controlling module (here method with scenarios)? and, After an exception occurs does the code stop execution of current scenario and go to another one. or what else should I include. [/QUOTE] You … | |
Re: This is happening because of you are initializing puntje inside the while loop. So every time it loops, it creates new object called puntje; which necessarily doesn't remember the old values. Your comments are not clear to me, as I can't read them. Why are you putting "." in puntje? … | |
Re: Tell us more. Are you reading the data? What are getting as your data? This can be taken care in Database [Depending on how you are using it] or you can get the data and convert into arabic. Show us how you are doing it if you really want any … | |
Re: Easiest way to use jsp and make sure the server supports jsp. Then in form tag, <form action="mail.jsp" method= post> Check [url]http://www.jsptut.com/Forms.jsp[/url] for details. | |
Re: Or join to any of the online programming website ACM is hosting. You won't find the solution for most of the problems, but there are a lot of hints and helps available. Plus, they have a huge collection of problems. You will find them here: [url]http://en.wikipedia.org/wiki/Online_judge[/url] | |
Re: [QUOTE=stultuske;719671]well... you 're asking us to help you figure out some possible errors in your code. how would you suggest us to help you unless we get to see that code?[/QUOTE] I think he is scared to show the code. Poor guy! | |
Re: If you want to start, I will recommend you to start with your linux box then move to your windows (as you already have a linux machine). Life will be a lot easier. There is an easyeclipse available for Perl and other scripting languages. You can find it here: [url]http://www.easyeclipse.org/site/distributions/lamp.html[/url] | |
Re: [QUOTE=ndumbo;718388]HI Thank you two for your reply. if what you are saying is true, then "Does it mean that there cannot be a java application that reads any kind of file and count the frequency of any given word in it." 1) i mean we can not use java for … | |
Re: [QUOTE=IMtheBESTatJAVA;718767]Well all I need to do is make a double like 23.5 to be 23.50 and longer ones like 23.556 to be 23.55 or 23.56. Would I do this as doublevalue = Math.round(2);? I seriously just started programming with java so sending me to those elongated complicated reference sheets won't … | |
| Re: sakura@ Can you tell us what you are actually trying to do in your code? I mean you did not mention if you are getting any exception or wrong output or whatsoever. If you can tell us the problem you are facing precisely, we will be able to help you. … |
Re: three frames mean 3 different page. What you can do is, divide the image into three different files. and set them as background for your three different background. You can use css extensively to make it look like one single background. | |
Re: If you are still looking for any help, I will suggest you to read following tutorial or simply google to get better tutorials: [url]http://java.sun.com/docs/books/tutorial/essential/io/index.html[/url] I don't use editplus so I can't tell you how exactly you can run it in editplus. But I suppose it should have a Run command. … | |
Re: It should be database specific problem. | |
Re: java.net would be first place to begin with. Start spending time with Java for Networking type of stuffs. It shouldn't be too difficult. | |
Re: Plarsen, if you don't know what you are doing here, then I think you won't be able to solve it very easily. You may go to this [URL="www.silverscripting.com/mootabs/"]mootabs [/URL]site, and use their easy to use tab thing. It will make your life easier. |