Forum: Java Nov 21st, 2008 |
| Replies: 5 Views: 2,293 read documentation on System.out.println() |
Forum: Java Oct 29th, 2008 |
| Replies: 4 Views: 2,127 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... |
Forum: Java Oct 27th, 2008 |
| Replies: 3 Views: 401 You also can use try catch to use your exceptions. See following example:
public int SomMethod() {
try {
//Your codes
}
catch (MyException e) {
//do whatever you wanted to do.
}
} |
Forum: Java Oct 26th, 2008 |
| Replies: 30 Views: 1,918 This topic and the person who started it are retarded! Any moderator, attention please! |
Forum: Java Oct 24th, 2008 |
| Replies: 10 Views: 846 You DON'T suck at all! You are doing pretty good comparing to a lot of other new bies. I also didn't know about replace function for String that it replaces all characters, another work around would... |
Forum: Java Oct 24th, 2008 |
| Replies: 10 Views: 846 So the characters are not getting replaced. Read the API specification for String and StringBuffer. You will get it. I did not compile the code I have given you; idea was to show you how to do it,... |
Forum: Java Oct 23rd, 2008 |
| Replies: 10 Views: 846 You got two variables "puntje[type: String]" and "puntjes[type:StringBuffer]".
Here in your last code I don't see any where you used "puntje". There are few other silly stuffs. Like you are already... |
Forum: Java Oct 23rd, 2008 |
| Replies: 10 Views: 846 Hey! You got me wrong. I didn't delete anything. I just moved the following line:
String puntje = ".";
You also have to use replace function instead of append. It should be like this:
String... |
Forum: Java Oct 23rd, 2008 |
| Replies: 4 Views: 539 On the first post you said you have already stored your data in database, now you are saying you want to store your data in UTF (which means you didn't store anything anywhere). It appears to me you... |
Forum: Java Oct 23rd, 2008 |
| Replies: 10 Views: 846 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... |
Forum: Java Oct 23rd, 2008 |
| Replies: 8 Views: 2,106 Easiest way to use jsp and make sure the server supports jsp. Then in form tag, <form action="mail.jsp" method= post>
Check http://www.jsptut.com/Forms.jsp for details. |
Forum: Java Oct 23rd, 2008 |
| Replies: 2 Views: 1,321 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... |
Forum: Java Oct 23rd, 2008 |
| Replies: 4 Views: 542 I think he is scared to show the code. Poor guy! |
Forum: Java Oct 22nd, 2008 |
| Replies: 5 Views: 1,013 There can be a java application that reads any kind of file and count the frequency of any given word in it. BUT, when the application is given that "any" kind of file, that application has to... |
Forum: Java Oct 22nd, 2008 |
| Replies: 7 Views: 3,418 Your nick is IMtheBESTatJAVA and you are telling us you are just beginner? Good sarcasm. References are complicated sometimes, but most of the cases it appears to be complicated because of lack of... |
Forum: Java Oct 22nd, 2008 |
| Replies: 4 Views: 539 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... |
Forum: Java Oct 22nd, 2008 |
| Replies: 16 Views: 4,761 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... |
Forum: Java Oct 22nd, 2008 |
| Replies: 30 Views: 1,918 Btw, do you know how to run a java program? |
Forum: Java Mar 22nd, 2008 |
| Replies: 3 Views: 698 It should be database specific problem. |
Forum: Java Mar 22nd, 2008 |
| Replies: 6 Views: 702 Make sure your Java classpath is set properly in windows environment variables. |
Forum: Java Mar 22nd, 2008 |
| Replies: 1 Views: 527 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. |
Forum: Java Mar 20th, 2008 |
| Replies: 4 Views: 532 Why? Don't you go to class? |
Forum: Java Mar 8th, 2008 |
| Replies: 5 Views: 602 It is not very difficult. Just start reading some tutorial. One thing, if you want to use JAVA for plotting and graphing only, I don't think it will be a good idea. MATLAB or Maple or similar... |
Forum: Java Mar 8th, 2008 |
| Replies: 5 Views: 602 Are you familiar with any of AWT or Swing? |
Forum: Java Mar 7th, 2008 |
| Replies: 7 Views: 1,489 If I am not wrong, I think you are trying to get the value for a specific object. In that case, static method is not your solution. You should not use static methods at any case but some particular... |
Forum: Java Mar 7th, 2008 |
| Replies: 7 Views: 1,489 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 return thing.class.getNumber(); //... |
Forum: Java Mar 6th, 2008 |
| Replies: 5 Views: 645 So you mean you are using MS SQL Server. I am not very familiar with MS SQL Server, but it should have some kind of user management tool, through which you can set the privileges of your users. You... |
Forum: Java Mar 6th, 2008 |
| Replies: 8 Views: 11,339 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... |
Forum: Java Mar 5th, 2008 |
| Replies: 6 Views: 1,921 I got few pms regarding this topic. As I feel better in group discussion I am ignoring those messages.
Those who wanted to know how the hacker can know the write class or package name, to them, if... |
Forum: Java Mar 5th, 2008 |
| Replies: 7 Views: 1,512 Then why don't you just write a batch or shell script? |
Forum: Java Mar 5th, 2008 |
| Replies: 1 Views: 460 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... |
Forum: Java Mar 5th, 2008 |
| Replies: 8 Views: 653 won't it be like following:
private String update(Student aStudent)
What is you object type in the input Student or aStudent? |
Forum: Java Mar 4th, 2008 |
| Replies: 3 Views: 3,023 It is not encouraged to post such straight forward solution here. This forum definitely discourage the "copy-paste" manner. |
Forum: Java Mar 4th, 2008 |
| Replies: 4 Views: 820 The question of algorithm comes after you figure out the problem. Appears to me you don't know what the problem is. |
Forum: Java Mar 4th, 2008 |
| Replies: 3 Views: 1,255 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... |
Forum: Java Mar 4th, 2008 |
| Replies: 8 Views: 3,086 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... |
Forum: Java Mar 4th, 2008 |
| Replies: 8 Views: 653 Which one is your line 46? |
Forum: Java Mar 4th, 2008 |
| Replies: 5 Views: 645 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... |
Forum: Java Mar 4th, 2008 |
| Replies: 6 Views: 1,921 I think you need to learn about inheritance to understand how these private, public, and protected works clearly. I will try to give some examples of the security you can get from making something... |
Forum: Java Mar 4th, 2008 |
| Replies: 2 Views: 1,716 It days the problem is solved. I think wrong flag. |