4,084 Posted Topics

Member Avatar for abhishek.reddy

[QUOTE=abhishek.reddy;774360]I am positively freaking out in excitement.[/QUOTE] well ... I'll try not to get too enthousiastic. so, what's your problem here, or don't you have any questions?

Member Avatar for verruckt24
-1
89
Member Avatar for JamieC90

[QUOTE=JamieC90;773561] I have tried using if (x[0][0] == x[0][1]...etc.), but this throws errors back at me [/QUOTE] what kind of errors? and what type of data did you store in that array? String, int, char, ...?

Member Avatar for JamieC90
0
183
Member Avatar for seeker_89
Re: help

[QUOTE=javaAddict;772907]First of all don't put a 'throws' at the main. Second of all the error is very easy to figure out. Check your notes on how to write and run a simple program.[/QUOTE] agree with javaAddict: just another remark: either make the getWord() method static, or call it from an …

Member Avatar for stultuske
0
101
Member Avatar for linggs

[QUOTE=linggs;772341]I just need a very basic currency converter. Which allows me to set how much money i want to convert. From what currency to what currency. Finally, display the coversion rates. Yup, we did ask teacher questions, but the teacher couldn't answer us. She said that we have to find …

Member Avatar for stultuske
0
220
Member Avatar for lonely girl

[QUOTE=lonely girl;755654]hi friend i wanna show u my code but i dont know where i should put it[/QUOTE] in your post, surrounded by Code tags

Member Avatar for Ezzaral
0
3K
Member Avatar for Alishaikh

for starters: what are you testing for here: [Code=Java] if (objects[min].compareTo(objects[scan])) [/Code] also, you're shifting the value of 'min' quite some times. didn't really fully read the code, but are you sure that doesn't cause any problems?

Member Avatar for verruckt24
0
168
Member Avatar for nymph

well... if you have the name of the file in a String, for instance [Code=Java] String fileName = "input.txt"; [/Code] take a look at the api's of the [URL="http://java.sun.com/javase/6/docs/api/java/io/File.html"]File[/URL]-class. especially take a good look at the constructors. for deleting that directory, you'll have to use recursivety to first delete all …

Member Avatar for stultuske
0
90
Member Avatar for Superstar288

we don't know how you store the data in that ArrayList, so how can we tell? let's say that you store your data in there as a object of a type 'Person' which has (among others) a String variable name and a String variable lastName. [Code=Java] int location = // …

Member Avatar for Superstar288
0
149
Member Avatar for Eggplant

[QUOTE=quuba;764637]Use a suitable tool for creating software. Use free IDE NetBeans.[URL="http://www.netbeans.org/downloads/"]http://www.netbeans.org/downloads/[/URL][/QUOTE] ignore this post if you intend to actually learn something. start off with Notepad. it's not the most "flashy" tool, but it's as good as any idea (for a beginner that is, and it's even better) look up the …

Member Avatar for Eggplant
0
390
Member Avatar for confusedGirl

[QUOTE=confusedGirl;764006]Hi all I have a [COLOR="Red"]miniproject [/COLOR]I need to submit tomorrow ,but I didn't finish it.. Please if any member have a time to check it for me,,tell me so I can send my whole work... I really will appreciate your help Please help me ....Iam so sad its 50% …

Member Avatar for BestJewSinceJC
0
202
Member Avatar for Gabriel Arun.R

[QUOTE=jaqes;764281]Hiii Dear, That is not a tuff work just you join any computer institute for your practice. after you found great result.[/QUOTE] either your post makes no sense at all, or you should really learn English. both grammar and vocabulary

Member Avatar for verruckt24
0
291
Member Avatar for bahr_alhalak
Member Avatar for k2k

you must make sure to close your writer object and create a new reader object, after you save your new file

Member Avatar for puneetkay
0
316
Member Avatar for awo

haven't heard of a standard api that does that, but there's no-one to hold you back and write it. let your client retreive the ip-address, send it to the server. to let the client disconnect when "time expires", you could : a. let the client run a thread which continously …

Member Avatar for ~s.o.s~
0
364
Member Avatar for raija09

propably the wrong part is that you do not have a class A, so you're trying to instantiate and use an object type that doesn't exist. create the class and try it again

Member Avatar for stephen84s
0
156
Member Avatar for begueradj
Member Avatar for newbie086161
Member Avatar for stultuske
0
38
Member Avatar for dominic23jones

by making sure the image is always in the same folder with your application and using relative paths

Member Avatar for PoovenM
0
158
Member Avatar for soniagupta98

wasn't it obvious in the other threads? we can, but we won't. not only do you refuse to do any work yourself, but you ignore answers given to you. stop copy-pasting your homework instructions here, try yourself and then (if necessary) show us what you tried and ask us where …

Member Avatar for masijade
0
95
Member Avatar for oobokensilence

[QUOTE=oobokensilence;757348] This is the error i am recieving: project12.java:53: non-static variable inFile cannot be referenced from a static context inFile.close(); ^ 1 error [/QUOTE] re-write your code so that you are not calling it from a static context if need be, create an object to do all that work for …

Member Avatar for stephen84s
0
135
Member Avatar for IMtheBESTatJAVA

[QUOTE=IMtheBESTatJAVA;749395] Update: Now I get an error of ".class expected" for: [CODE]if(int input = 0);[/CODE][/QUOTE] that's to be expected, remove the ;

Member Avatar for verruckt24
0
298
Member Avatar for clueless101

just read those errors. they provide you with more information than you need to solve them

Member Avatar for stephen84s
0
186
Member Avatar for das_das
Member Avatar for tsr_tvsk

[QUOTE=tsr_tvsk;755603] i want to validate that hashtable with javascript in next jsp . how [/QUOTE] do you mean Java or do you actually mean JavaScript? if so, a JavaScript forum might give you more help

Member Avatar for stultuske
0
47
Member Avatar for zikojam
Member Avatar for stultuske
0
68
Member Avatar for Aamit

[QUOTE=stephen84s;754803]Honestly I have no clue what you trying to say, can you please be divulge more details and especially the relevant code / SQL query you are dealing with.[/QUOTE] I kind of think he's trying to make us write those.

Member Avatar for masijade
-1
307
Member Avatar for Joncamp

[QUOTE=jagannath_patil;755162]heyya bench....thanks for the link...i was looking for the same....[COLOR="Red"][/COLOR][/QUOTE] and congratulations for reviving a thread that hasn't been open in about two years.. how do you feel about yourself now?

Member Avatar for stultuske
0
102
Member Avatar for SmokyMo

why would you import Object? your class can use that no matter what, since it's the base-class of everything in Java. org.apache.commons.validator Class UrlValidator java.lang.Object extended by org.apache.commons.validator.UrlValidator All Implemented Interfaces: java.io.Serializable you need to import the package in which UrlValidator is found, so you can use it. it's the …

Member Avatar for stultuske
0
150
Member Avatar for musham

[QUOTE=PhiberOptik;753924]Sorry this post made no sense I completely misunderstood the point of the post.[/QUOTE] you misunderstood the point of your own post?? the point of musham's post was: "I'm lazy, give me what I need so I can pass my course and become a lazy-over-paid software developer"

Member Avatar for stultuske
-1
105
Member Avatar for Grub

well... since there are certain OS' that do not "remember" the creation date of a file, I doubht Java has a standard sollution for this. At least not one I've come accross to

Member Avatar for Grub
0
368
Member Avatar for star100

same remark here... and.. yet another (two) why don't you use the (already existing) Date class? (java.util.Date) if you do want to write your own, wouldn't it be better to give it another name, to avoid confusion? something like 'MyDate.java'

Member Avatar for VernonDozier
0
194
Member Avatar for leox99

[QUOTE=verruckt24;750828]@leox99 : (In reference to my above post) I hope that you are able to make a design and the related coding for that from the write-up you have given above, and if you have any specific coding related queries I and the entire army of the forum members won't …

Member Avatar for stultuske
0
93
Member Avatar for TAboy24

[QUOTE=Ezzaral;753050]First thing: try taking "public void moveTriangle" method out of the toString() method.[/QUOTE] it's not really formatted well, but it isn't inside the toString() method

Member Avatar for Ezzaral
0
211
Member Avatar for babusek

[URL="http://java.sun.com/javase/6/docs/api/"]This[/URL] might prove to be a good place to start your search. Another good idea would be to stop copy-pasting your assignments or your vision of them on this forum. put some effort in it, show us what you've done so far and I do hope that's more than just …

Member Avatar for babusek
0
156
Member Avatar for babusek

I would call him 'Roger'. or 'Danny' sounds nice too. I take it you have something in a GUI presented that displays time and date. unless you believe us to be clairvoyants, you might want to explain a bit more of what it is you're talking about. if this is …

Member Avatar for masijade
0
154
Member Avatar for pavanwanam
Member Avatar for verruckt24
0
118
Member Avatar for vlpkiranmayi

maybe you should read the answers before disregarding them ... we're not a project-idea shop, firstly, because we don't have the time to be, secondly, because we would be doing your work, which means you would be cheating. if you want to earn your degree, put some effort in it …

Member Avatar for stultuske
0
352
Member Avatar for jbennet
Member Avatar for ~s.o.s~
0
143
Member Avatar for nyalex

[QUOTE=stephen84s;744979]What is it that you want exactly, your question is just too generic, I do not know what to make of it.[/QUOTE] he wants to have all the words in the array to be set as the text, but instead of adding all the words, he just sets the last …

Member Avatar for nyalex
0
296
Member Avatar for Blackeagle

use the setSize() methods, but guessing as to what you've done so far is not the best way for us to help you out, so you might want to post your code as well.

Member Avatar for Ezzaral
0
158
Member Avatar for PhiberOptik

[Code=Java] if(num=='8') pluralName="Eighty"; if(num=='9') pluralName="Ninety"; else pluralName="Error /w Plural Method"; [/Code] this will always return "Error /w Plural Method", unless the value for num == '9' what you want to do (and not only for the '8' check) is using nested if's [Code=Java] if(num=='8'){ pluralName="Eighty"; } else{ if(num=='9'){ pluralName="Ninety"; } …

Member Avatar for PhiberOptik
0
132
Member Avatar for stuuuu

write a validation method, which checks all your input as soon as you want to input the data in the array. what you also can do is use regex to check whether numbers occur in your String [code=java] while(input != validName(input)){ input = readString(); } [/code]

Member Avatar for stultuske
0
122
Member Avatar for Zelores

[QUOTE=Zelores;752600] ClockShop.java:9: unreported exception java.io.FileNotFoundException; must be [B]caught[/B] or declared to be thrown private String[] clocks = new String[index()];[/QUOTE] have you tried to catch it yet? as in: [Code=Java] private String[] clocks; try{ clocks = new String[index()]; } catch(FileNotFoundException e){ // handleTheException } [/Code]

Member Avatar for stephen84s
0
83
Member Avatar for MxDev

by making sure that method does not return null. or, by catching the exception using a try-catch statement

Member Avatar for stephen84s
0
171
Member Avatar for MxDev
Member Avatar for stephen84s
0
48
Member Avatar for krhillery

[QUOTE=umairsario;750679] these Programs are TESTED and 100% Working Without Errors [/QUOTE] I think his problem is by putting them all together in one class, and determining the value to add each time.

Member Avatar for stultuske
0
127
Member Avatar for umairsario

[QUOTE=umairsario;750757]can you please explain in your words[/QUOTE] your assignment is to explain them in YOUR words, not ours

Member Avatar for masijade
0
114
Member Avatar for ITlang007

[QUOTE=verruckt24;749982]There's no better way to explore and understand the Java language then to go through the [URL="http://java.sun.com/j2se/1.5.0/docs/api/"]javadocs[/URL],[/QUOTE] there is off course the coding-the-damn-thing and the trying-the-crap-out approach, which, in combination with reading the api's, does a lot more than just reading it :)

Member Avatar for ITlang007
0
145
Member Avatar for anez247

[QUOTE=anez247;748354]yea right ez...i will do that[/QUOTE] so... why don't you? still looks a lot like IM-speech to me

Member Avatar for Ezzaral
0
103
Member Avatar for krhillery

if he says he can't find Symbol class hand, mostly that means he can't find it. my guess would be you forgot to code it, forgot to compile it, or are using a constructor you haven't defined in your Hand class

Member Avatar for krhillery
0
167

The End.