5,031 Posted Topics

Member Avatar for nsyncpilu

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 …

Member Avatar for peter_budo
0
272
Member Avatar for deucalion0

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

Member Avatar for peter_budo
0
113
Member Avatar for daneuchar

Why don't you ask on phonegap or Callback community, that is how it is called after joining Apache Projects in Incubator?

Member Avatar for peter_budo
0
62
Member Avatar for friendskhaled

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

Member Avatar for masijade
0
270
Member Avatar for Jessurider

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

Member Avatar for peter_budo
0
88
Member Avatar for rahulrulez

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

Member Avatar for peter_budo
0
212
Member Avatar for gahhon

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

Member Avatar for gahhon
0
202
Member Avatar for vaironl
Member Avatar for moonL!ght

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 …

Member Avatar for hiddepolen
0
209
Member Avatar for Archenemie

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

Member Avatar for stanleyben
0
136
Member Avatar for soham.m17

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.

Member Avatar for soham.m17
0
222
Member Avatar for peck3277
Member Avatar for Jessurider

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]

Member Avatar for Jessurider
0
242
Member Avatar for I<LateNupurGuha

Answer is [URL="http://www.daniweb.com/forums/announcement8-2.html"]here[/URL]

Member Avatar for peter_budo
-1
63
Member Avatar for teddy_kul

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

Member Avatar for peter_budo
0
147
Member Avatar for vinay.bharadhwa
Member Avatar for ali143810

For start some code of what you tried/have would be nice to see (I do not fancy to start this from scratch)

Member Avatar for peter_budo
0
70
Member Avatar for warlord902

[URL="http://apache.org/foundation/getinvolved.html"]The Apache Software Foundation[/URL] Project Hosting on [URL="http://code.google.com/hosting/"]Google Code[/URL]

Member Avatar for peter_budo
0
344
Member Avatar for yup790

[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

Member Avatar for JamesCherrill
0
245
Member Avatar for heybunny

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 …

Member Avatar for ilovejava
0
2K
Member Avatar for Jessurider

You need to search for Steganography, example [URL="http://www.stratos.me/2008/04/steganography-and-bitmap-files-for-hardcores-or-masochists/"]here[/URL]

Member Avatar for Ezzaral
0
115
Member Avatar for noXi
Member Avatar for Zababa

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

Member Avatar for Zababa
0
119
Member Avatar for Slyvr

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]

Member Avatar for Slyvr
0
1K
Member Avatar for rafinrai

Did you see this post on [URL="http://stackoverflow.com/questions/518685/graph-drawing-algorithms-im-trying-to-render-finite-state-automata"]stackoverflow[/URL]?

Member Avatar for peter_budo
0
31
Member Avatar for WDrago

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]

Member Avatar for WDrago
0
3K
Member Avatar for IIM

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

Member Avatar for peter_budo
0
94
Member Avatar for Peter Hon 123

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

Member Avatar for peter_budo
0
150
Member Avatar for 2k9-it

I had same problem previously, check this post for [URL="http://www.daniweb.com/software-development/java/threads/179741/1390686#post1390686"]possible solution[/URL]

Member Avatar for stultuske
0
79
Member Avatar for moonknightt

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 …

Member Avatar for peter_budo
0
283
Member Avatar for Onlineshade

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)

Member Avatar for Onlineshade
0
187
Member Avatar for murgesan

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

Member Avatar for peter_budo
0
300
Member Avatar for Dexxta27

If you tell me where in your PreGUI you call DrawClass and I will tell you why it is not drawing.

Member Avatar for JamesCherrill
0
136
Member Avatar for ceyezumma

[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

Member Avatar for peter_budo
0
167
Member Avatar for Donieob

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

Member Avatar for peter_budo
0
174
Member Avatar for peter_budo

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.

Member Avatar for Netcode
1
300
Member Avatar for Onlineshade

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

Member Avatar for Onlineshade
0
291
Member Avatar for Priyank19

1) Over-kill with Java 2) Use [URL="http://seleniumhq.org/projects/ide/"]Selenium IDE[/URL], simple and programming pain-free

Member Avatar for peter_budo
0
209
Member Avatar for deepakarora01

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

Member Avatar for peter_budo
0
44
Member Avatar for akhil1989

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 …

Member Avatar for peter_budo
0
100
Member Avatar for hendrik92

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

Member Avatar for hendrik92
0
197
Member Avatar for vishalonne

JSP is not able to find NameHandler class. Can you post your project structure and how you compiled this project?

Member Avatar for peter_budo
0
286
Member Avatar for Priyank19

Double posted. Closing thread please follow discussion [URL="http://www.daniweb.com/software-development/java/threads/386993/1666955"]here[/URL]

Member Avatar for peter_budo
0
133
Member Avatar for ynwa

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 …

Member Avatar for ynwa
0
229
Member Avatar for ynwa

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]

Member Avatar for peter_budo
0
896
Member Avatar for us0343

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

Member Avatar for peter_budo
0
183
Member Avatar for maverick420

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

Member Avatar for Prateek nandan
0
259
Member Avatar for nw240x

@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

Member Avatar for nw240x
0
425
Member Avatar for jinglylime

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

Member Avatar for peter_budo
0
63
Member Avatar for vbengcolita

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

Member Avatar for peter_budo
0
175

The End.