5,031 Posted Topics
Re: You have few options: [LIST=1] [*]Change configuration on database from accept localhost connection only to accept all connections, but this may be risky as if you do not secure it properly someone may hack it [*]Provide a web service, where your application send request to web service which is sort … | |
Re: You better get your facts straight... [QUOTE=deucalion0;1675979]I am not even sure how to start with the titlescreen as i am completely new to J2ME.[/QUOTE] [QUOTE=deucalion0;1675979]basically I have just started learning J2ME, using Netbeans. i have went through few tutorials from Hello World to Pong and completed them working fully. [/QUOTE] … | |
Re: Why don't you ask on phonegap or Callback community, that is how it is called after joining Apache Projects in Incubator? | |
Re: @friendskhaled so one warning for posting school assignment is not enough for you to start thinking about what you are supposed to do???? You come back and repost it again! | |
Re: [URL="http://lmgtfy.com/?q=java+edit+movie"]Java edit movie[/URL] One more question like this from you without any research or work and you can expect forum rules hitting you... | |
Re: [QUOTE=rahulrulez;1674821] I've worked with MySQL, Access etc database along with Java. But is there any STRONG OFFLINE Database? How is Java DB? I need a simple GUI with only 2 forms and processing between them.[/QUOTE] Your reasoning is weak, any of above can be used as "Offline database" if you … | |
Re: [QUOTE=adarshcu;1674842] @above. I feel it is an assignment for them to create a course class.[/QUOTE] Unlikely. With these sort of assignments you are expected to create certain object type and show how you can use it with collections. So better get that array out of Course class, and create Course … | |
| |
Re: What do we know about array? Array of 30 length does start from element position 0 (zero) and ends with element at position 29. Looking at your for loop condition which is [icode]i<=colors.length[/icode] meaning loop while "i" is smaller then or EQUAL to. Tell me what happens when i=30 and … | |
Re: Sorry I do not have time to check your code, but you can get working copy from my [URL="https://github.com/peter-budo/pro-androidbook-code"]github[/URL] here and compare way of connectivity. Application is working copy of application from Pro Android 3 book, chapter 3 | |
Re: Whole snipped is confusing, OP absolutely abuses coding standards, plus we have no idea what are these objects "or_data, counts" or what is "isHit(x, y)" doing or if it is doing it job correctly. | |
Re: Use WebDriver/Selenium to do this. | |
Re: There is only one method available [URL="http://download.oracle.com/javase/7/docs/api/java/nio/file/Files.html#setAttribute(java.nio.file.Path, java.lang.String, java.lang.Object, java.nio.file.LinkOption...)"]setAttribute(Path path, String attribute, Object value, LinkOption... options)[/URL] | |
Re: Answer is [URL="http://www.daniweb.com/forums/announcement8-2.html"]here[/URL] | |
Re: Read [URL="http://www.daniweb.com/web-development/jsp/threads/141776"]this post[/URL] on how to do database queering better way. Also next time post exact error what you getting | |
Re: 1) Java != JavaScript 2) Moved to JavaScript section | |
Re: For start some code of what you tried/have would be nice to see (I do not fancy to start this from scratch) | |
Re: [URL="http://apache.org/foundation/getinvolved.html"]The Apache Software Foundation[/URL] Project Hosting on [URL="http://code.google.com/hosting/"]Google Code[/URL] | |
Re: [QUOTE=yup790;1671729] NOTE - this is not a school project. I am teaching myself java.[/QUOTE] So why dont you try to google it, I know at least 5 open source projects that have Fibonacci as part of them | |
Re: Off topic: @hiddepolen discussion on use of professional IDEs like IntelliJ, Eclipse or NetBeans for early stages of learning process would be too long and most likely full of flame war. Simple example - you advocating use of Eclipse from early stages (that is what I seen from number of … | |
Re: You need to search for Steganography, example [URL="http://www.stratos.me/2008/04/steganography-and-bitmap-files-for-hardcores-or-masochists/"]here[/URL] | |
Re: Try [code=Java] Display display = ((WindowManager) context.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); int width = display.getWidth(); int height = display.getHeight();[/code] PS: Better to move something like Eclipse or IntelliJ that have better Android support | |
Re: You should be using the first connection string as 1521 is port on which Oracle database let you communicate by default. Port 8080 is HTTP alternate commonly used by Tomcat or other Java containers(servers). Secondly you are trying to setup Java database connection so use [URL="http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html"]JDBC driver[/URL] | |
Re: Did you see this post on [URL="http://stackoverflow.com/questions/518685/graph-drawing-algorithms-im-trying-to-render-finite-state-automata"]stackoverflow[/URL]? | |
Re: LibraOffice hasn't got any database, but does provide front-end suite, Base, that let you connect to different databases. You better check the features [URL="http://www.libreoffice.org/features/"]here[/URL] | |
Re: Checkstyle, PMD, Finbug, Surfire and many other useful stuff for Java code checking can be added through your IDE, building tools (Ant, Maven {[URL="http://maven.apache.org/plugins/index.html"]plugins[/URL]}, [URL="http://gradle.org/"]Gradle[/URL]) or as plugin on number of CI(Continuous integration) solutions such as [URL="http://jenkins-ci.org/"]Jenkins[/URL], [URL="http://www.jetbrains.com/teamcity/"]TeamCity[/URL], [URL="http://www.sonarsource.org/"]Sonar[/URL] So the question is, what is your next step? :P | |
Re: I maybe wrong here, but I believe it is coming from Spring framework that is referenced in previous lines (I had only brief encounter with Spring so not entirely sure..) | |
Re: I had same problem previously, check this post for [URL="http://www.daniweb.com/software-development/java/threads/179741/1390686#post1390686"]possible solution[/URL] | |
Re: As per rules [quote]Do provide evidence of having done some work yourself if posting questions from school or work assignments[/quote] you are expected to show some effort and not just copy&paste assignment. Thread closed If you still wish to get some help you are more then welcome to repost, but … | |
Re: Try to follow this [URL="http://www.cs.auckland.ac.nz/courses/compsci101s1c/resources/Notepad/Notepad++.pdf"]instructions[/URL] PS: Any specific reason not to use IDE like NetBeans, Eclipse, IntelliJ? PS: [URL="http://www.jcreator.com/"]JCreator[/URL] is another very simple Java IDE (used it my self back at university days before moving on NetBeans and IntelliJ) | |
Re: This question is to ambiguous and there is no silver bullet to sort it out. Be specific on what you want to achieve and maybe then we can make more clearer image of what to use | |
Re: If you tell me where in your PreGUI you call DrawClass and I will tell you why it is not drawing. | |
Re: [URL="http://java.sun.com/developer/technicalArticles/java_warehouse/single_jar/"]Use NetBeans IDE 6.7 to Combine JAR Files Into a Single JAR File[/URL] and forget exe | |
Re: For start you can use String class method [URL="http://download.oracle.com/javase/1,5.0/docs/api/java/lang/String.html#indexOf(java.lang.String)"]indexOf(String str)[/URL]. It will help you find first occurrence and [URL="http://download.oracle.com/javase/1,5.0/docs/api/java/lang/String.html#indexOf(java.lang.String, int)"]indexOf(String str, int fromIndex)[/URL] helps with search from index position of currently found/highlighted till end of string if any more exists | |
Since we are already mentioned in [URL="https://github.com/search?q=daniweb&type=Everything&repo=&langOverride=&start_value=1"]few projects[/URL] ;) could we get official account where we may actually upload tutorials and link them in posts? That will also mean that someone will have to actively monitored or perhaps mods or selected members would be contributors. | |
Re: [QUOTE=Onlineshade;1667299]Thanks for your advice. I will try it also.[/QUOTE] If you shy of big IDEs you can always try simple environments like JCreator or Notepad++ | |
Re: 1) Over-kill with Java 2) Use [URL="http://seleniumhq.org/projects/ide/"]Selenium IDE[/URL], simple and programming pain-free | |
Re: I do not want to be rude but simple google search for "JSP internationalization example" would get you IBM article [URL="http://www.ibm.com/developerworks/java/library/j-jspapp/"]Create internationalized JSP applications[/URL] as first result | |
Re: Your question is ambiguous and lousily worded. Mobile development these days is about being able to provide application for either Android, iPhone, BlackBerry or any combination of these 3 mixed.Each of them has distinctive language. To develop application for all of them with single "code" base you would have to … | |
Re: @efxee no such thing as javax.microedition.lcdui.Form.show(), you better check [URL="http://download.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/index.html"]Java Microedition API[/URL] @hendrik92 I think the problem goes down to your for loop with that out of place while statement. Nice simple example of multiple gauges can be found in book Beginning J2ME: From Novice to Professional,[URL="http://books.google.com/books?id=chepSC2iAB8C&lpg=PP1&dq=beginning%20j2me%20from%20novice%20to%20professional&pg=PA84#v=onepage&q&f=false"] chapter 6[/URL] | |
Re: JSP is not able to find NameHandler class. Can you post your project structure and how you compiled this project? | |
Re: Double posted. Closing thread please follow discussion [URL="http://www.daniweb.com/software-development/java/threads/386993/1666955"]here[/URL] | |
Re: How did you get to this weird folder structure? Never seen [list] [*]PROJECT_FOLDER [list] [*]sources [list] [*]java files [/list] [*]classes [list] [*]class files [/list] [/list] [/list] Usual project structure would be [list] [*]PROJECT_FOLDER [list] [*]src [list] [*]main [list] [*]java [list]YOUR_PACKAGES[/list] [*]resources [/list] [/list] [*]target [list] [*]packaged JAR, WAR or any … | |
Re: Maybe this [URL="http://www.eclipse.org/forums/index.php/t/168717/"]Eclipse forum post[/URL] will help, otherwise you are for "fun" ride on Google results like [URL="http://www.google.co.uk/#sclient=psy-ab&hl=en&site=&source=hp&q=Exception+in+thread+%22main%22+java.lang.UnsatisfiedLinkError%3A+no+swt-cocoa-3557+or+swt-cocoa+in+swt.library.path&pbx=1&oq=Exception+in+thread+%22main%22+java.lang.UnsatisfiedLinkError:+no+swt-cocoa-3557+or+swt-cocoa+in+swt.library.path&aq=f&aqi=&aql=&gs_sm=e&gs_upl=863l863l0l1852l1l0l0l0l0l0l0l0ll0l0&bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&fp=222940e47befd69f&biw=1776&bih=875"]these[/URL] | |
Re: @Taywin that doesn't matter, it is only coding convenience @us0343 why don't you set proper path in your system variables instead of fiddling each time with set path, you can see example [URL="http://www.daniweb.com/web-development/jsp/threads/249070"]here[/URL] | |
Re: [QUOTE=Onlineshade;1665984]Try this.... [CODE]answer=1;//For initializing do{ answer=answer*opi; opi--; }while(opi>1); System.out.println(Answer);[/CODE] This seem to me much easy. If it does not work , then ask again. Thank you.[/QUOTE] Still your solution is incoherent. | |
Re: @pyguy62 instead of advising to add code tags and by this causing reposting it is better if you hit "Flag Bad Post" as you actually consequently did | |
Re: Use getText() inherited from TextComponent or toString() inherited from Component parse it to appropriate type and calculate. option 2 create new class NumerictextField that extends TextField, with some method called getValue that will return appropriate numeric value or throw exception of wrong input type | |
Re: [QUOTE=vbengcolita;1666165]So you are not good in math at all. But thank you for your time .. I know others can explain it thanks[/QUOTE] Well mr. hero explain to us "not good in math" |
The End.