5,031 Posted Topics
Re: Sorry I do not know anyone of this forum with sufficient knowledge to answer your question. You better try to post on some Android forum... | |
Re: Here is extensive tutorial how to use [URL="http://developers.sun.com/mobility/apis/articles/pim/index.html"]Personal Information Manager[/URL] (PIM) | |
Re: 1. If teach yourself java in 21 days telling you to save things in installation of Java throw in the bin. If it was your idea smack your self on hand. Do not mess with installation. 2. Check if you have Java Path set in your environment variables otherwise you … | |
Re: [URL="http://www.daniweb.com/forums/announcement9-2.html"]We only give homework help to those who show effort[/URL], besides your tutor gave you sufficient knowledge/background on this task. How do I know that? I had to write such program too... So start working on it, otherwise nobody will help you with it here | |
![]() | Re: BlueJ is just a tool and doesn't provide different/unusual/strange/special Java code, so no point mentioning it. As for HashSet you can read this [URL="http://java.sun.com/docs/books/tutorial/collections/interfaces/set.html"]tutorial[/URL] ![]() |
Re: Google is your friend, example from [URL="http://forums.sun.com/thread.jspa?threadID=5389076"]Sun forum[/URL] and [URL="http://www.google.co.uk/#hl=en&q=java+JFileChooser+showSaveDialog+get+extension&meta=&aq=&aqi=&aql=&oq=java+JFileChooser+showSaveDialog+get+extension&gs_rfai=&fp=579125fd6573fbeb"]other places[/URL] | |
Re: Ever heard of "for" loop? [code] for(int = 0; i < findNames.length; i++){ if (line.indexOf(findName[i]) !=-1) { System.out.println("Name found in:"+ indexOf(findName)); } }[/code] | |
Re: Read/write with mobile application is same thing as with traditional Java GUI/command line based application, only difference is that you have limited number of Stream classes. Number of [URL="http://www.google.co.uk/#hl=en&source=hp&q=midlet+read+write+file+example&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=23e9d7872b349109"]examples[/URL] can be found with help of Google. Main issue in I/O operations is locating file from which to read or give … | |
Re: Does array length rings a bell? [icode]args.length[/icode] | |
Re: You can contact servlet and request data, read [URL="http://http://books.google.com/books?id=chepSC2iAB8C&lpg=PP1&dq=beginning%20j2me%20from%20novice%20to%20professional&pg=PA143#v=onepage&q=&f=false"]here[/URL]. Just forget to use threads or your connection to servlet will time-out | |
Re: Most of the standard phones let you run JME applications with no problems (only limitation is libraries available to device) There are some Windows CE based that do not support JME and iPhone with Android are NO-NO for midlets. You need to just check specifications of the mobile device to … | |
Re: Once you retrieve data you can execute as many queries as you wish... | |
Re: With such weak description we cannot help you with your problem. | |
Re: 1. You just replied 3 years old thread and expect people to come back and be still interested? 2. Presenting your company with yahoo account, sure everyone will trust your company 3. Thread closed | |
Re: Answer is [URL="http://poi.apache.org/"]Apache POI[/URL] - the Java API for Microsoft Documents | |
Re: [URL="http://http://www.daniweb.com/forums/announcement24-66.html"]We only give homework help to those who show effort[/URL] | |
Re: If you post updated code I will have look at it (presuming that yo already found and solved login problem with password ;) ) | |
Re: [QUOTE=sneaker;1167537]An array of chars is not a string. Here you can read more about arrays: [url]http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html[/url] Good luck :)[/QUOTE] You should look at code before replying [icode]s.charAt(index)[/icode] @honohanf good start but you got little lost in looping, also few things can be simplified [code] public class Main { public static … | |
Re: Without rest of the code we have no chance of determinate if you did it right or wrong. PS: Saying you are not good with Java will not win you any sympathy... | |
Re: Top of the forum [LIST] [*][URL="http://www.daniweb.com/forums/thread249070.html"]Java Web Development - Starting [tutorials / resources / faq][/URL] plenty of general info from basic installations, to recommended books and valuable online resources [*][URL="http://www.daniweb.com/forums/thread141776.html"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL], intermediate tutorial of recommended use of JSP and servlets in … | |
Re: There must be reason why that error is thrown. Please post relevant code and do not forget include stack trace of error | |
Re: There is no need for setting classpath for Java since 1.4. As long you set PATH to Java properly you will be fine. For Java set up check this post in JSP section [url]http://www.daniweb.com/forums/thread249070.html[/url] | |
Re: This thread from JSP section should be helpful [url]http://www.daniweb.com/forums/thread249070.html[/url] | |
Re: Remove this installation and replace it with new one, check your path etc. And remember in the future to not mess it with it, even if it suggest you should place library there (often example of old database connector tips) | |
Re: Google is your friend! There are many examples over the internet, for example this site [url]http://www.java2s.com/Tutorial/Java/0340__Database/Catalog0340__Database.htm[/url] | |
Re: [QUOTE=Eman1;1158446]To accept 3 number and find max among three number(using && for checking multiple experssion) [COLOR="Red"]Please help me, I am a beginner in this discipline, and I hope I explain the problem[/COLOR][/QUOTE] Good starting point would be provide what you did so far and take it from there... | |
Re: [URL="http://java.sun.com/docs/books/tutorial/2d/"]The Java Tutorials - 2D Graphics[/URL] from basic to advanced stuff | |
Re: Not sure what you mean by "wireless cards" in mobile phones? There is plenty of examples for messaging done through Bluetooth or InfraRed, just google for it | |
Re: [URL="http://http://books.google.com/books?id=LjJcCnNf92kC&printsec=frontcover&dq=head+first+design+patterns&cd=1#v=onepage&q=&f=false"]Head First Design Patterns[/URL] book is very good (linked is Observer chapter, but some pages are omitted as it is only limited preview) | |
Re: Threads merged, please read[URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"] forum rules[/URL] in regards of posting | |
Re: Closing thread as it is getting attention of spammers (All removed with due "respect"). | |
Re: You may want to use [code=text]java -classpath PATH_TO_CONNECTOR_INCLUDING_NAME YOUR_PROGRAM_NAME[/code] for example JAR file on same level as your application [code=text]java -classpath mysql-connector-java-3.1.12-bin.jar MyDatabaseProgram[/code] | |
Re: You are missing closing bracket on case 2 (just as you close catch block). After that you should be able to continue solve the rest. [code] case 2: int ret1 = 0; do { accnum = JOptionPane.showInputDialog("Delete Account\n\nEnter Account Number to be Deleted: "); AccountNumber = Integer.parseInt(accnum); try { conn … | |
Re: @vij123 1. Slap on hand for doing database connectivity directly from JSP 2. I do not think you want to learn new technology like JSF or Apache Velocity, the only option I can offer for dynamic data without previously mentioned technologies is to use asynchronous AJAX or jQuery calls to … | |
Re: @Sunny89 not sure where you got offended as in reality what ever is urgent to you is related to you and irrelevant to us. It would be different story if we are in same team which has to finish a certain task... Beside if you solved your problem it is … | |
Re: 1st page form where you check/select checkbox or radio button and submit to server. On server side, servlet, you increment vote count for selected person, retrieve all data, put it in session and forward it to second page. On second page you retrieve session and populate view. All in all … | |
Re: [QUOTE=clutchkiller;1157114]Do people who use these API's even know how to program?[/QUOTE] Am I not good programmer because I use APIs on daily bases? How can you be sure of such thing? I would like to see you keeping in the head even the differences between JSEE and JME String class … | |
Re: If this is supposed to be implemented in C why is it posted in Java? Do you want this post moved to appropriate section? | |
Re: [QUOTE=sahu.hemant;1160353]you have to use java script..... and call function on onfocus event... function will consist of text and it will draw whenever onfocus event occur...[/QUOTE] Little to late for your answer, which is not exactly specific and supported by some examples or links to online resources... | |
Re: In many cases good internet providers give some webspace. I'm using f2s.com(UK) which give me 200MB, only problem is name of your site, but that can be simple changed you just buy domain name and transfer to your existing account. | |
Re: Only one class can extend MIDlet, other classes can receive it only as parameter. What you did above is as if you create two classes with main method and try pass parameters from each other (which possible, but requires other things). Besides, only one MIDlet can be running at any … | |
Re: Try to look into Flex Java API, but honestly I have no idea... | |
I wonder why there are different posts counts between stats showed on each post [attach]13993[/attach] and these seen on profile [attach]13994[/attach] | |
Re: Yes you should have table where you list all registered members and keep true/false depending if their voted or not. Question is do you want to keep track of single pool at any time, multiple, do you want to keep history etc? Everything is possible with proper planning... | |
Re: Are you asking how you will call these two panels to be displayed in the frame or about passing values down to these panels? Sorry, but your problem explanation is very unclear. | |
Re: [QUOTE=ranajit mukhoty;1157667]How to know login name of a remote pc[/QUOTE] [LIST=1] [*]Either yo know it as it is your other pc or the owner will share it with you [*]We do not like when people hijack threads it is part of this forum rules. You should have created your own … | |
Re: 1. Smack on hand for using JSP for such task 2. We do not live here 24/7 to answer questions 3. You may want to look on Java and Cron jobs like [URL="http://gaejexperiments.wordpress.com/tag/cron/"]this[/URL] | |
Re: Upload your midlet (JAR file of it) on mobile phone either memory card or device memory trough USB cable or bluetooth, from mobile phone browse and search for the file (most of the phones have menu option like "Files", "Media"). Once you find it click install it, simple like that... |
The End.