5,031 Posted Topics
Re: What you need to use is [URL="http://download.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/javax/microedition/lcdui/ChoiceGroup.html#setSelectedIndex(int, boolean)"]setSelectedIndex(int elementNum,boolean selected)[/URL] where you provide element number/index and boolean as TRUE.Do not forget to make your ChoiceGroup as Choice.EXCLUSIVE | |
Re: [QUOTE=ljdellar;1585197]Thanks for all the clarifications, guys. In future I'll be more careful. Anything else like this I'll just post the link. All the best LJ[/QUOTE] To just post link it is not good idea, to give it some sort of description in your own words is always helpful and ensure … | |
Re: You can't. However moderator for the section or admin can do it for you if they find it helpful. Please post URL to the post so we can make some judgement. | |
Re: Great idea to re-open old thread. Closing down! | |
Re: Like [URL="http://tinyurl.com/65djh5t"]this[/URL]. Follow the tutorial and try out | |
Re: Edit [code=text] PATH=C:\Program Files\Java\jdk1.6.0_12\bin;%PATH%;C:\Program Files\Java\jdk1.6.0 _12\bin;C:\Program Files\Java\jdk1.6.0_12\bin;%PATH%[/code] to [code=text] PATH=C:\Program Files\Java\jdk1.6.0_12\bin;[/code] Any good reason you want to create CLASSPATH? | |
Re: It doesn't work, you better put it in trash | |
Re: @pro_learner did you actually bother to check what was recommended to read on the forum. Answer is no. If you wish to participate in discussion you better to do best and read and check other members suggestions. | |
Re: 1) Google is your friend IBM - [URL="http://www.ibm.com/developerworks/library/j-jsf3/"]JSF for nonbelievers: JSF conversion and validation[/URL] 2) A proper book to read, something like [URL="http://books.google.com/books?id=x8YYid3lAI4C&lpg=PP1&dq=jsp%2C%20jsf&pg=PP1#v=onepage&q&f=false"]Beginning JSP, JSF and Tomcat web development: from novice to professional[/URL] or [URL="http://books.google.com/books?id=A3FuJXgx0RAC&lpg=PA185&dq=jsp%2C%20jsf&pg=PP1#v=onepage&q=jsp,%20jsf&f=false"]Pro JSP 2[/URL](it does also explain JSF) | |
Re: Merge them together, keep as separated packages, decide which to launch be default, strip other two from midlet declaration and provide a menu to launch them If this is not clear just ask, I will try to explain | |
Re: As debasisdas already mentioned that is application feature that you either have implement by your self or depending on used language you can use libraries like Hibernate for Java that will help you to handle this stuff | |
Re: There is no "best book" to learn something as we all have our own ways of learning. However for suggestions where to start you can have look at post on top of this forum called [URL="http://www.daniweb.com/software-development/java/threads/99132"]Starting "Java" [Java tutorials / resources / faq][/URL] | |
Re: grii_19 do not use this approach, this is considered bad practice to save anything into Java instalation folder. Please follow the link to the tutorial which I gave it to you in another post | |
Re: 1) Till other mobile device does not grant you access you will not be able establish connection 2) With this general request nobody can provide any valuable info | |
Re: Answer 1 : CMS Answer 2 : learn how to plug your chosen CMS with Solr | |
Re: @PBoucher Also consider moving stuff in some reasonable methods that puts close related stuff together. [list] [*]Try to use meaningful names, stuff like "m_bS2Bypass" that is presumably IDE generated variable name is just rubbish. [*]Simplify if/else statements as this is disaster and can easily lead logical flows [code]if(!m_bBypassIso && ((m_bS1Power … | |
Re: @ajst doing little of your own "homework" would have already got you there [code=Java] SocketAddress addr = new InetSocketAddress("192.168.0.23", 10123); Socket socket10123 = new Socket(addr);[/code] just need to be written as [code=Java] Socket socket10123 = new Socket(InetAddress.getByName("192.168.0.23"), 10123); [/code] | |
Re: [QUOTE=lsvife;1575654]i created a list of name using j2me. its like looking for a contact number in our phone that has a textfield to search. i want that when i type the beginning of the name i want to highlight the name that corresponds the search name..[/QUOTE] You cannot do it … | |
Re: [QUOTE=mith_cool;1580603]Does anybody bother reading???? guys i need help!!!!![/QUOTE] You think that you only one on the forum who need help? I just wonder why on earth you trying to save FileInputStream into database if you can better save there a [URL="http://www.java2s.com/Code/Java/Database-SQL-JDBC/Saveimagetoderbydatabase.htm"]Blob[/URL] object or [URL="http://www.java2s.com/Code/Java/Database-SQL-JDBC/BlobJDBCdealswithBinaryData.htm"]array[/URL] | |
Re: To know exact exception would be most desired. Nevertheless I expect you failed to include db driver in classpath once you called your application from command line | |
Re: @NormR1 he doesn't just asked him few minutes ago why did he forwarded to me automated message about his post edited and asked him to read FAQ & rules and of course he send me back my message. BTW error message is [code=text]Exception in thread "main" java.lang.NullPointerException at Client.creatAccounts(QuickCoding.java:102) at … | |
Re: Also a hint goes from your teacher you may want to use only one array like [code] Month[] months = {new Month(31, "January") , new Month(28, "February") , new Month(31, "March") , new Month(30, "April") , new Month(31, "May") , new Month(30, "June") , new Month(31, "July") , new Month(31, … | |
Re: Advice, quickly learn JSP. Your sort of Java web developing is very old. | |
Re: 1) Your urgency means nothing to us 2) Your request is so generic that I can only say [URL="http://download.oracle.com/javaee/6/tutorial/doc/"]The Java EE 6 Tutorial[/URL] | |
Re: [QUOTE=ilovec++;1574133]Then how can I check my current infraction points(if I have any)?[/QUOTE] 1) Quick check, does your user info on any of the posts sports something like this "Infractions: 1/1 (5)" ? (not at the moment) 2) Detailed check, top of the page right side "Control Panel" or by clicking … | |
Re: Did you installed [URL="http://m2eclipse.sonatype.org/installing-m2eclipse.html"]m2eclipse plugin[/URL]? Otherwise you need to be specific on where you are having problems to follow video | |
Re: And what has to do with Java? Besides we do not like to see discussions on illegal activities even if you are trying to tell us that it is your equipment. | |
Re: @deecoup you pick up wrong forum to post your question. What we do is help people with their coding problems/issues and we do not provide support for end user applications. For that you want to use product support page. | |
Re: It is sad how people can be lazy or ignorant (any popular service that is accessible to public programatically is likely have some Java API available). This could have been sorted by simple Google search. You would have found immediately [URL="http://code.google.com/p/facebook-java-api/"]facebook-java-api[/URL] and [URL="http://code.google.com/p/facebook-java-api/wiki/Examples"]facebook-java-api examples[/URL] | |
Re: This usually happens when you delete something. Accessing deleted element with ID that is in some way stored in your application. You should use [URL="http://download.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/javax/microedition/rms/RecordStore.html#enumerateRecords(javax.microedition.rms.RecordFilter, javax.microedition.rms.RecordComparator, boolean)"]enumerateRecords(RecordFilter filter, RecordComparator comparator, boolean keepUpdated) [/URL] to solve this issue | |
Re: You should have posted exact error message. You cannot expect people to try and debug your code without knowing exact DB structure... | |
Re: Forget if use for loop. Put all characters you want to check upon in a List, then with help of for loop go through word and check if List [URL="http://download.oracle.com/javase/6/docs/api/java/util/List.html#contains(java.lang.Object)"]contains()[/URL] that character. | |
Re: Given that you are able to take current mouse coordinates on mouse click, you already knows location of the city ([x1,y1][x2,y2]) on mouse click get mouse coordinates and work out if [list=1] [*] mouse over any of the cities [*] which city [*] provide it with the link [/list] | |
Re: @Bal I just not what send you off. Your first post was fine intending to provide info. Then came jholland1964, provide more info and suggested that original poster follow a link on our forum that will guide the person in how to provide more info in order to help out … | |
Re: [URL="http://lmgtfy.com/?q=Is+java+pure+object+oriented&l=1"]Answer[/URL] | |
Re: Expecting that user record is in some way associated with database name only thing you need to do is build connection string that can be done simply as [code]public String buildConnectionString(String dbName){ return new StringBuilder("jdbc:mysql://localhost:3306/").append(dbName).toString(); }[/code] | |
Re: Dean in would be helpful if you provided little more details, because at this moment any XML library fit your question profile. To get you started you may want to have look at [URL="http://xstream.codehaus.org/"]Xstream[/URL] that simple library to serialize XML to Java and vice versa | |
Re: [QUOTE=bumsfeld;1571913]This might help: [url]http://download.oracle.com/javase/tutorial/uiswing/TOC.html[/url][/QUOTE] Please read original post before posting to avoid embarrassed entries like this. Question was about Jython not about Java GUI components and designs | |
Re: 1) Not really a question asked there, but yes you can have it stored into single log file. Nevertheless it is better to have specifically log for ERROR type and then another one that will cover anything from INFO, WARNING etc 2) Single jar file of [URL="http://logging.apache.org/log4j/1.2/download.html"]log4j[/URL] is sufficient 3) … | |
Re: I do not have much experiences with threads unfortunately for me, but what you describing doesn't sound right. The WaitScreen should take on responsibility of executing all tasks and till it is done it should show an animation. To help you with thread management you should check this sample of … | |
Re: Only way I can see for this to work is Ajax with asynchronous call that will enable your button only once upload is done. PS: We are not 24/7 service for you to drop a question and give you immediate answer | |
Re: @Usmaan that would be down to the fact that most questions in this section are answered only by me. However recently I do not have so much time, plus JME is not so "cool" and popular as it use to be. My guess here would be failure to check if … | |
Re: None of us homework! Besides do you have idea how many "Xen projects" are out there? No? So googleit. | |
Re: You better to read this post [URL="http://www.daniweb.com/web-development/jsp/threads/141776"]JSP database connectivity according to Model View Controller (MVC) Model 2[/URL] | |
Re: Just short search on BlackBerry support and you will get [URL="http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255"]Streaming media - Start to finish[/URL] | |
Re: You need to create war file and upload it to jetty webapps directory. (If you do not know how to configure Jetty just rename war to root.war and start Jetty) For additional info consult [URL="http://docs.codehaus.org/display/JETTY/Jetty+Documentation"]Jetty documentation[/URL] | |
Re: Never did anything with portlets, but try to have look at this [URL="http://java.sun.com/developer/technicalArticles/tools/nb_portlets/index.html"]tutorial[/URL] it has some instructions in regards of handling RSS feeds and also JSON | |
Re: You need to ask specific question as we are not here coding service on demand. ![]() | |
Re: @samueal post moved to new thread @rminator Do not hijack old threads by posting a new question as a reply to an old one | |
Re: Thread closed as there is already double in JavaScript section. Please follow discussion [URL="http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/365440"]here[/URL] @ardav it is better to just mark thread for mods attention instead of advising to post it in other section. Those we avoid double posts. Thank you |
The End.