- 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
125 Posted Topics
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. | |
Re: A visual editor may add some extra benefit if you are a beginner. Frontpage, dreamweaver, visual web developer, eclipse.. there are plenty of them. | |
Re: In addition to what Ezzaral said, in any good IDE or editor you should be able to get a list of static methods as long as you just type in the class name. Your [code] return thing.class.getNumber(); // compile time error[/code] is not right. You have to call it by … | |
Re: Where you can start? Just google "web development tutorial" or go to library and get books like "web development for dummies" | |
Re: There is no such "a code" which can perform your work. Besides, you are just saying what you want, but not enough details like technical details or how do you want to implement this, what kind of database you are talking about. Seems to me you are talking about databse … | |
Re: Then why don't you just write a batch or shell script? | |
Re: Installing core eclipse for php is pain in the ass. Easyeclipse is a project to solve such problem. and it is open source, you can try this page: [url]http://www.easyeclipse.org/site/distributions/index.html[/url] I personally use their LAMP solution. If you work only on PHP, then you may try the other ones. One problem: … | |
Re: Is your client having this problem only with your software? Because the client may need to have the font installed or the Install Files for complex script ... thing enabled if it is windows. Check with that pc if it is configured properly to support that specific language. Otherwise if … | |
Re: I will say most of the users know how to install JRE. One solution can be instead of installing it twice, ask the user if has already installed JAVA, or do some kind of testing to see if JRE is installed. If it fails, do the java installation, may be … | |
Re: The question of algorithm comes after you figure out the problem. Appears to me you don't know what the problem is. | |
Re: google should not be a good resource for images (copyright reasons). When you use any image make sure you have the right permission. | |
Re: I think your are confusing between JSP and JavaScript. With JSP can you do tabs? Answer is NO! With JavaScript, yes you can. If you don't know about JSP, I will suggest you to learn them step by step. If you don't need it in future, you just need a … | |
Re: It days the problem is solved. I think wrong flag. | |
Re: umm.. are you looking for some resource on how to write such authentication script for php? how much is your php programming experience? Depending on that there are different examples online. You may google it with PHP authentication or something similar. | |
Re: Even though I got a two-word easy answer for you, I am not writing it here to show respect to the board regulation. I can say only two things to you: 1) If you think you are such a smart that you can make other people to do your homework, … | |
Re: There is no short cut. If you don't have time to learn, then give the job to some one else who has time. You can't do coding without knowing what you are doing. | |
Re: You are right. It is really simple thing to fix. Just change your code so that it does not stop at the first occurrence of the key, but it searches through out end of the key list. Good luck! | |
Re: You should talk to your prof about this instead. | |
Re: Don't say without knowing anything you took such project :-|If you know something, then tell us more how you are planning. No one should help you to design the whole thing. |
The End.