5,031 Posted Topics

Member Avatar for lsvife

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

Member Avatar for peter_budo
0
97
Member Avatar for ljdellar

[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 …

Member Avatar for ljdellar
1
467
Member Avatar for ljdellar

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.

Member Avatar for jingda
0
199
Member Avatar for Imtiyaz
Member Avatar for pro_learner
Member Avatar for pro_learner
0
112
Member Avatar for himgar

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?

Member Avatar for rajatarora612
0
197
Member Avatar for masterjohji
Member Avatar for Riteman

@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.

Member Avatar for Riteman
0
177
Member Avatar for smoothe19

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)

Member Avatar for peter_budo
0
254
Member Avatar for jrosh

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

Member Avatar for peter_budo
0
97
Member Avatar for divyakprabh

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

Member Avatar for peter_budo
0
140
Member Avatar for jason830

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]

Member Avatar for bhartman21
0
228
Member Avatar for JavaBean

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

Member Avatar for stultuske
0
513
Member Avatar for hardik.rajani

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

Member Avatar for dopoka
0
134
Member Avatar for zahrahLand
Member Avatar for peter_budo
0
84
Member Avatar for PBoucher

@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 …

Member Avatar for PBoucher
0
364
Member Avatar for ajst

@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]

Member Avatar for maninaction
0
211
Member Avatar for lsvife

[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 …

Member Avatar for maninaction
0
110
Member Avatar for mith_cool

[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]

Member Avatar for mith_cool
0
219
Member Avatar for Tellalca

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

Member Avatar for peter_budo
0
195
Member Avatar for Nirmeen Ased

@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 …

Member Avatar for Nirmeen Ased
0
305
Member Avatar for wolfrain62

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, …

Member Avatar for wolfrain62
0
109
Member Avatar for yatin.baraiya

Advice, quickly learn JSP. Your sort of Java web developing is very old.

Member Avatar for Sadun89
0
131
Member Avatar for pvsairam

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]

Member Avatar for Sadun89
0
110
Member Avatar for Abel123

[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 …

Member Avatar for jingda
0
709
Member Avatar for shamusk

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

Member Avatar for peter_budo
0
276
Member Avatar for PHIPH

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.

Member Avatar for stultuske
-5
93
Member Avatar for deecoup

@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.

Member Avatar for peter_budo
0
174
Member Avatar for Sadun89

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]

Member Avatar for Sadun89
0
282
Member Avatar for jrosh

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

Member Avatar for jrosh
0
47
Member Avatar for mindbend

You should have posted exact error message. You cannot expect people to try and debug your code without knowing exact DB structure...

Member Avatar for mindbend
0
459
Member Avatar for arvindikchari

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.

Member Avatar for AhmedGhazey
0
173
Member Avatar for tultul

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]

Member Avatar for peter_budo
0
134
Member Avatar for Ash Abe Add

@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 …

Member Avatar for BBAD
0
286
Member Avatar for AnkitKumar
Member Avatar for Ezzaral
0
73
Member Avatar for aksahoo17

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]

Member Avatar for aksahoo17
0
120
Member Avatar for Dean_Grobler

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

Member Avatar for Ezzaral
0
155
Member Avatar for vegaseat

[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

Member Avatar for bumsfeld
2
494
Member Avatar for arvindikchari

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) …

Member Avatar for arvindikchari
0
196
Member Avatar for Hakoo

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 …

Member Avatar for Hakoo
0
151
Member Avatar for rbhavana

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

Member Avatar for peter_budo
0
92
Member Avatar for Hakoo

@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 …

Member Avatar for Hakoo
0
172
Member Avatar for Sadun89

None of us homework! Besides do you have idea how many "Xen projects" are out there? No? So googleit.

Member Avatar for peter_budo
-1
102
Member Avatar for anand01

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]

Member Avatar for anand01
0
141
Member Avatar for sam023

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]

Member Avatar for peter_budo
0
134
Member Avatar for winecoding

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]

Member Avatar for peter_budo
0
107
Member Avatar for Dean_Grobler

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

Member Avatar for peter_budo
0
115
Member Avatar for ScubaSam

You need to ask specific question as we are not here coding service on demand.

Member Avatar for iamthwee
-2
151
Member Avatar for rminator

@samueal post moved to new thread @rminator Do not hijack old threads by posting a new question as a reply to an old one

Member Avatar for peter_budo
0
106
Member Avatar for manu555

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

Member Avatar for peter_budo
0
131

The End.