5,031 Posted Topics
Re: Please post your code so we can have look. When posting please use code tags [ C O D E ] [/ C O D E] and insert your code between them. Code tags are hidden under hash sign "#" | |
Re: Why you using Tomcat 4? There is already version 6.0.14, if not sure about it you still can use last stable from version 5 which is 5.5.23 | |
Re: [QUOTE=w32.sysfile;427317]you really dont understand.. i am making a compiler.and not compiling any 1 can help me to run the class generated??[/QUOTE] No need to be harsh this way. Your first post sound as english is not your first language and you do not provide a proper explanation. Secondly only beginners … | |
Re: Ofcourse you will get this error. Your code compile without any problems and then you try to run it. It is only class with some methods but [B][COLOR="Red"]without "main" method[/COLOR][/B] and you will get this message everytime time you try to run it. So either implement "main" method into this … | |
Re: [I]replace()[/I] method is for switching characters or character seqeuances. However your example shows switching of strings/regular expresions so there is no point in using it. In this case you should use [I]replaceAll(String regex, String replacement) [/I].You have to be carefull with it, as it will be replace any matching expresion … | |
Re: This is error which I got from your code [code]Exception in thread "main" java.lang.NullPointerException at GameLogicClientHOPP.get(GameLogicClientHOPP.java:33) at LogicUI.run(LogicUI.java:18) at GuessingGame.main(GuessingGame.java:12)[/code] Your [I]get[/I] method has following return [INLINECODE]return in.readLine();[/INLINECODE]. readLine method of DataInputStream is deprecated and you should not use it, check [URL="http://java.sun.com/javase/6/docs/api/java/io/DataInputStream.html#readLine()"]here[/URL]. I have got no experience with Java and … | |
Re: [QUOTE=stultuske;423090]or we could submit links to tutorials in the Java-tutorial section.[/QUOTE] There is already made one post with many useful Java tutorials by thekashyap, [URL="http://www.daniweb.com/forums/thread82784.html"]here[/URL] | |
Re: Why this chat people have to always get of topic, they should be banned all... just joking ;) What I like is the mood of this forum and people. Variety of topics | |
Re: If you can be more specific about "couldn't make it out", that would help us. Also there is a post in this section with many Java tutorials by thekashyap, [URL="http://www.daniweb.com/forums/thread82784.html"]here[/URL] | |
Re: bryantpurdin, highjacking post is considered rude so please in future don't do that. Regarding your problem can you please post your code so we can have look at it? | |
Re: Read this arcticle "[URL="http://www.excelsior-usa.com/articles/java-to-exe.html"]Convert Java to EXE[/URL]" and you may find some answers | |
Re: CAn you be more specific and clear with your question? You trying to send data from one page to another, or retrive data from database and display them on following page? | |
Re: "Referrals" shows how many people stated in they registration that they joined this forum based on your recommendation "User Notes" , I do not see this information. Could be info from Area51? | |
Re: Lol just found this post, I'm from Slovakia but living in London, doing my final year at uni :eek: For happygeek, good on you with slivovica hope it wasn't home made that worster then tequila :twisted: There is VideoForum 2007 between 6-8 February, Earls Court if anybody interested, but any … | |
Re: [QUOTE=TylerSBreton;303266]I personally prefer an editor such as Textpad since it does not provide code completion so it really exposes to you to the language instead of writing the code for you (great for beginners).[/QUOTE] Just small note on this, you can always switch this option in any of them if … | |
Re: [code]String sql = "SELECT * FROM PIEDATA1[color=red];[/color]";[/code] take out that semi-column, their are automaticaly inserted by driver | |
Re: You can only design interface of web site not fuctionality. This will give you visual idea what your page will look like. It is always good practice to put each element on separate layer. | |
Re: did you ever tried google search? look what i got just by typing simple query, [URL="http://www.google.co.uk/search?hl=en&q=website+hit+counter+tutorial&btnG=Search&meta="]here[/URL] make your decision which language you want to use my friend | |
Re: [QUOTE=mayur_kulkarni;415263][B][I][/I][/B]i want to do project in mobile applicatios like voice commands or similar. can anybody help m?[/QUOTE] In the future can you please stick with original post instead of creating new that is only little different? As masijade said: Do you have a specific question? | |
Re: Here is tutorial how to set [URL="http://java.sun.com/docs/books/tutorial/essential/environment/paths.html"]PATH and CLASSPATH[/URL] for java | |
Re: If you tell more about your interests in programming like, prefer to work with databases, would like to do something with graphic or encryption, that would be helpful. Right now I can give you some answers and you may refuse it, as it is not something you wish to do. … | |
Re: This weird, I had maybe 4-5 reps from coffe house and it drop too much for me, from 4 bars to only one. Why so? Minimum 75% of my reputation was hard worked for in tech forums, reporting span, double posting etc. | |
Re: Sun Java Tutorial website always good place to start [URL="http://java.sun.com/docs/books/tutorial/essential/io/index.html"]Basic I/O[/URL]. As iamthwee said scanner is what you looking for start so Scanning is your tutorial, reading rest of it will not harm you either | |
Re: Your problem is line 128 and 167 where you declare and initialize these objects with null value. It will be relatively fine if you use these objects just inside your else if statements and provide proper values for them, but not in your case when you use them later on … | |
Re: [QUOTE=eDeloa;414610]Here's a hint for problem #2 ... The factorial of a number is the product of all integers leading up to, and including, that number. For example: The factorial of 5 is: 1x2x3x4x5. The factorial of 3 is: 1x2x3. Since the method you're writing takes in two unknown numbers, we … | |
Re: this is your problem [inlinecode]out = new FileOutputStream("inventory.dat");[/inlinecode]. Try this and see what happends [inlinecode]out = new FileOutputStream("C:" + File.separator + "inventory.dat");[/inlinecode] | |
Re: [QUOTE=lnarayanan;414121]Please reply with the [B][B]code[/B][/B] which would generate a Unicode file from a CSV ( Comma Seperated File) given as input.[/QUOTE] I don't thinks this will work out till [LIST=1] [*]you read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forum rules[/URL] and one very important [URL="http://www.daniweb.com/forums/announcement9-2.html"]announcement[/URL] [*] provide detailed description of problem [*] your idea of approach … | |
Re: Regular expression is answer to your problem. Ofcourse you can do it with substrings, but it is dirty work. Read up Sun tutorial on regular expressions [URL="http://java.sun.com/docs/books/tutorial/essential/regex/"]here[/URL] | |
Re: [QUOTE=vinutha1309;413629]Hi.. I am developing an internal messenger where i need to prepare documentation .so can anyone help me ASAP......... Thanks n Regards[/QUOTE] ASAP that sounds bad, are we kind of monkeys working for you? Search daniweb there are already posts about messengers. Check [URL="http://sourceforge.net/index.php"]sourceforge[/URL] for open source project to get … | |
Re: It will not work as rest of your components(buttons, text fields and text area) just lay around un-organized and then you just try to show in another component. I think people will argee with me when I say you need to group them. This is what I do normaly [code] … | |
Re: Here is nice tutorial from Sun how to setup [URL="http://java.sun.com/docs/books/tutorial/essential/environment/paths.html"]PATH and CLASSPATH[/URL] | |
Re: If you searched forum before you posted, you would find that just yeasterday I linked another post with same quastion to my post where I asked same thing few months ago with full elaboration of the problem. Here is link [url]http://www.daniweb.com/forums/thread73182.html[/url], enjoy reading and next time search before you post, … | |
Re: check [URL="http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/running_eclipse.htm"]this[/URL] out you should find answer | |
Re: What an old book/resources you using??? Didn't see anybody for long time to write JSP as you [inlinecode]page.print("<TABLE><TR>");[/inlinecode], also many methods and some Date constructors has been deprecated and are not used any more. I would recommend to use [URL="http://java.sun.com/javase/6/docs/api/java/util/Calendar.html"]Calendar[/URL] or even better [URL="http://java.sun.com/javase/6/docs/api/java/util/GregorianCalendar.html"]GregorianCalendar[/URL]. If you have instalation of tomcat … | |
Re: In command prompt type [code]java -version[/code] and return can be something like this [code]java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)[/code] | |
Re: Can you please provide remining classes for this application. So far I do no see any problems here so copaling whole thing would be better | |
Re: Mariam87 unfortunately in 2 years which I'm with this forum I did not see anybody discusing microjava. We do see sometimes some random question asking for imediate help andthese posts get unanswered, then once a while there is a simple question regarding some coding issue which can be solved by … | |
Re: I presume you looking for "SUDOKU" well [URL="http://www.google.co.uk/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=java+sudoku+code&spell=1"]google[/URL] is your friend | |
Re: [quote=http://www.javaworld.com/javaworld/jw-07-2003/jw-0725-morejsp.html?page=2] [B]Application scope[/B] Application scope is the broadest scope and should only be used when necessary. You can create objects bound at application level in JSPs that are not session-aware, so application scope is useful for storing information when using these types of JSPs. You can also use application-bound objects … | |
Re: Here you go this will sort your problem [url]http://veerle.duoh.com/blog/comments/creating_a_page_curl_in_photoshop/[/url] | |
Re: [code] JTextArea jta = new JTextArea(); jta.append("CD Description"); //Or you can do jta.setText("CD Description"); [/code] Preferences up to you just look up [URL="http://java.sun.com/javase/6/docs/api/javax/swing/JTextArea.html"]API[/URL] | |
Re: [URL="http://www.checkupdown.com/status/E403.html"]HTTP Error 403 - Forbidden[/URL] | |
Re: >its urgent It is not urgent to us, we have our own lifes too >please give me the code which performs the same Why sould we do so? For once you should read this [URL="http://www.daniweb.com/forums/announcement9-2.html"]important post[/URL]. Next to solution, no I will not write code for you I will give … | |
Re: I believe it would be wiser to ask all this yours JBoss questions on they forum. Forum here is more programming support oriented then application trouble shooting, which is your case for pass 2 months by looking at your posts | |
Re: Why people never learn or why they are so ignorant? In your other post [url="http://www.daniweb.com/forums/thread84622.html"] assing table values to an array[/url] I told you to read something which clearly state that [quote]We'll help you get started, exchange algorithm ideas, how-to's, etc. but [B]only if you show that you're willing to … | |
Re: Yes in deed you will need to get monitor replacement. Same think happends to me on my laptor after just one mont of use. I hope you have warranty on your machine as to pay from own pocket would be expensive | |
Re: [URL="http://jasperforge.org/sf/projects/ireport"]iReport Project Home[/URL] Download [URL="http://downloads.sourceforge.net/ireport/iReport-2.0.0.tar.gz?modtime=1182207336&big_mirror=0"]iReport-2.0.0.tar.gz[/URL] | |
... third one is the [URL="http://www.youtube.com/watch?v=t-AQGohc3zI"]winner[/URL] Had a good laugh on it ;) | |
Re: >how to using swing component jtree with jcheckbox in netbeans 5.5 Your IDE(netbeans) is only design to speed up and little help you with your coding. However is not there to think instead of you. The code examples on given link are clear about what they do and what you … | |
Re: Get a book from school library Java How to Program 6th edition from Deitel and read chapter 24. That will give you an idea where to start |
The End.