4,084 Posted Topics

Member Avatar for kennski23
Member Avatar for flyingcurry
Member Avatar for NormR1
0
208
Member Avatar for Bhargavi V

looks like you have nothing selected when the code on line 235 runs you can verify whether or not this is the problem, by putting that line in comment, and undo the comment on the line below, and retry the program

Member Avatar for Bhargavi V
0
939
Member Avatar for patilsunil47
Member Avatar for stultuske
0
73
Member Avatar for blknmld69

and this surprises you? you do realize, you're never actually reading the data that is stored in the valid_accounts.txt file, do you?

Member Avatar for stultuske
0
215
Member Avatar for gudads

step 1: read in the first number step 2: set the biggest and smallest number equal to the first number step 3: repeat next steps{ A: read in numberN if numberN is bigger than biggest number, overwrite the value current in biggest number if numberN is smaller than smallest number, …

Member Avatar for peter_budo
0
1K
Member Avatar for esy928

this might be an option [code] public static void pauze(){ while(!isContinue()){ //keep the duration small, so the game will be resumed shortly after // the user presses resume sleep(500); } } public static boolean isContinue(){ boolean returnVal = false; // this method checks in the rest of your code, whether …

Member Avatar for NormR1
0
2K
Member Avatar for knasha

quite a useless post, wouldn't you agree? is this your idea of advice, question, sollution, ... ? if it's a possible sollution, check the dates of the previous posts here. if, what I believe to be the case, this is just you asking us for code: 1. don't restart dead …

Member Avatar for stultuske
0
134
Member Avatar for fr0styh3rb

you might also want to describe and post the errors you get and the result you're expecting to get

Member Avatar for tong1
0
151
Member Avatar for prem2
Member Avatar for pruthvikumar

what do you need help with? just write the software you think should do the trick, if it doesn't work, show it here, tell us what exception-, errormessages, ... you get and where you 're stuck. do not expect us to write a class or method that will instantly do …

Member Avatar for madhumvl
0
300
Member Avatar for man in a can

1. check for the number of decimal points in the input. if this is not 1 => false 2. check that everything before the decimal point is a decimal. if not => false 3. check that everything after the decimal point is a decimal if not so=> false 4. check …

Member Avatar for eerol
0
2K
Member Avatar for omg0000

there are several install-creators on the market, some (if I'm not mistaken) free for non-commercial use. have you tried any of those yet?

Member Avatar for stultuske
0
84
Member Avatar for Ghost

you could try to write one yourself. a bit like: if ( mousePressed() ){ while(mousePressed() ){} System.out.println("mouse is pressed"); } logic also, for a next time, there's no need to revive threads that have been inactive for over 4 years, you are allowed to create your own.

Member Avatar for volvo14
0
1K
Member Avatar for shahin_198

[QUOTE=am_venkat;760399]Hi Friend, Am offering ready made project in java...it cost of 10000 payment and am having more project like this if yr friends interested u can make them call to me... If u needed contact me.... [/QUOTE] if you're knowledge of the Java syntax is as "perfect" as your knowledge …

Member Avatar for peter_budo
0
139
Member Avatar for jk_bscomp

NetBeans ([url]http://www.netbeans.org[/url]) is supposed to run on several OS, have you tried that?

Member Avatar for stephen84s
0
266
Member Avatar for bondito

if it asks for authentification, just register, smart-ass. don't bring up a thread that's been dead for three years

Member Avatar for Nick Evan
0
214
Member Avatar for idblack

either that, or create a loop with a second (temporary) array that is as big as the first one. array2[0] = array1[n]; array2[1] = array1[n-1]; ... and later on, switch the two, especially if you're having troubles with the correct increase/decrease values, this could be a sollution

Member Avatar for Taywin
0
169
Member Avatar for rajec3

prash_study: the last post was over 3 years ago. kind off doubt he didn't find anything yet

Member Avatar for stultuske
0
173
Member Avatar for j!sh@

[QUOTE=j!sh@;1148701]hai...... plz... tell me some miniproject topics in java.we are planning to do it in 30 days.[/QUOTE] you have no idea what you are going to do, but you already know how long it'll take you to finish the job??? how about a random 'miniproject topic generator'?

Member Avatar for jyoti amage
-1
60
Member Avatar for student.09

[QUOTE=student.09;1184541] array 1:employee last name, array 2: time started array 3: time finished [/QUOTE] considering your assignment: you need 1 array, containing your employee objects. last name, time started and time finished, should be stored within that object

Member Avatar for student.09
0
280
Member Avatar for joverlyanne

don't see a question in there, either. is this your homework and are you not sure how to start?

Member Avatar for NormR1
0
89
Member Avatar for rojo821

[QUOTE=rojo821;1246557]what code are you referring to[/QUOTE] your Java code looks to me like you might've forgotten to put [Code=Java] this.show(); [/Code] in your code

Member Avatar for stultuske
0
186
Member Avatar for gordonrehling

anyone mentioned 'google' yet? boyz, what did you try yet? there are more 'use an access db in java' tutorials out there, then there are rumours about aliens abducting people. sure, you can just copy-paste the sollution, but your (future)employer will want you to be able to figure it out …

Member Avatar for gordonrehling
-1
225
Member Avatar for SHARKASI
Member Avatar for stultuske
0
174
Member Avatar for Abdel_eid

best way is, not at all... as Masijade pointed out, if you want a click-and-run program, you're better of with a jar-executable. this way, you get what you want, without forcing the users of your program to use Windows as operating system. but ... I once had to create an …

Member Avatar for DeadSoul
0
316
Member Avatar for lich
Member Avatar for JamesCherrill
0
163
Member Avatar for dhruv.mani

tried something yourself yet? this forum is to give us the opportunity to help you, and to give you the opportunity to get help in code you've written, and thus learning. it's not ment for you to go shopping for code-on-demand

Member Avatar for stultuske
-1
45
Member Avatar for sajithdil

have you tried anything yourself? we are willing to help, but won't just write code on demand

Member Avatar for sajithdil
0
184
Member Avatar for pankajagar2002

putting a - in front of a 0 is kind of redundant, in your second test, you have two different values

Member Avatar for pankajagar2002
0
95
Member Avatar for fabunmi adeniyi

well... you could store them in a Vector just use the contains(Object test) method to check whether or not it's allready in your list, if so, do nothing, if not, add and when your list is complete, write it

Member Avatar for jwenting
0
101
Member Avatar for ManojRay

how are you tracking the parameter names? my guess would be by using get-methods if you know how to use get-methods, you know how to use the set-methods, and that's what you need. you get your parameters, and in your constructor you call the necessary set-methods with the parameters as …

Member Avatar for stultuske
0
254
Member Avatar for ceyesuma

well .. for one, studentBean is an instance of StudentBean, newStudent is an instance of Student and if I may ask, what is this: StudentBean studentBean=(StudentBean) supposed to do? you'll need to finish the line by placing a ';' and even with that, doesn't really look very ... looking for …

Member Avatar for stultuske
0
184
Member Avatar for charlieruns

no, it's because you don't change the value for in and file. if it's there, it will keep finding it

Member Avatar for charlieruns
0
98
Member Avatar for tanha

[QUOTE=jasimp;750497]I'm sure that in the six months it has been since they created this thread, they have gotten over any negative comments.[/QUOTE] you never know ... maybe he 's the kind of person that keeps a grudge :/

Member Avatar for peter_budo
0
224
Member Avatar for bufospro

what do you want us to do? write the code and paste it here? the point of this forum is to give you the chance to write it yourself, and ask questions about where you're stuck. so, how far are you with your coding?

Member Avatar for jwenting
0
137
Member Avatar for tapas.chand

you can't store a null value into a primitive type. you can do this with an Integer, but not with an int

Member Avatar for javaAddict
0
1K
Member Avatar for mtbutt

a neat trick would be to start learning java, use it, make some effort and produce at least the objects you think you will be needing. if it's a task for work/school you're working on, you might also consider taking another direction with your life. you can't cruise by your …

Member Avatar for jwenting
0
299
Member Avatar for vmirz

[QUOTE=vmirz;1205250] Also what is the difference between a static and non-static method?[/QUOTE] as to this question: a non-static method can only be called through an instance of a class, for instance: [Code=Java] public class StaticNonStatic{ // first a non-static method public void runNonStatic(String output){ System.out.println(output); } // second, a static …

Member Avatar for stultuske
0
370
Member Avatar for bustersox

the error message describes what is to be said: you're calling the method isMember() without parameters, but this method does not exist. replace the isMember() in your print by isMember(numbers) next, I doubt you'll method 'll do what you ultimately want it to do, but I think that'll be quite …

Member Avatar for stultuske
0
2K
Member Avatar for mgern26

you use a loop to go through all the elements. for every element: if ( element < nextElement) swapPlace(element, nextElement) note that you have to use 2 nested loops here, or you'll only sort a part of the array

Member Avatar for javaAddict
0
100
Member Avatar for vipingoel

if you don't know how to search data in a DB, I would recommend you prepare yourself for a negative result on your Java exam

Member Avatar for jwenting
-2
92
Member Avatar for bondgirl21

what 's it doing so far? are you getting wrong output, is there a problem writing the file, are you getting error messages?

Member Avatar for bondgirl21
0
185
Member Avatar for mckrm

you can transform your .jar into an exe (which I don't recommend, since you'll loose the ability to run your application on several platforms) if a .jar file is not enough, well... maybe you can get some voice recognition software that 'll open it the moment you say "run my …

Member Avatar for mckrm
0
80
Member Avatar for NinjaLink
Member Avatar for budstar

[QUOTE=budstar;1198417] [Code=Java] int intGroupValue = input.nextInt();[/Code][/QUOTE] drop this line and replace it by [Code=Java] GroupValue = input.nextInt(); [/Code] 2 recommandations, though. in Java, there is a naming convention, which makes it easier to determine whether something is a class or a variable. you might want to follow this, by renaming …

Member Avatar for stultuske
0
80
Member Avatar for motinade

[QUOTE=motinade;1197521]Please help, as I do not know what I have done wrong. Error: illegal start of expression, and ; expected. [code] public EmployeeType { CONTRACTOR; PERMANENT; } [/code][/QUOTE] not only do you write all your methods within the main, which you shouldn't, you're trying to write a constructor for EmployeeType …

Member Avatar for stultuske
0
1K
Member Avatar for k2k

[QUOTE=moutanna;1197930]Try this and let me now: [CODE] ... if (pass == realPass) { found =true; break; } ... [/CODE][/QUOTE] hmmm... why this answer? not only did k2k found (and posted) the right answer himself, but your answer is wrong. if you use Java on a regulary basis, you should know …

Member Avatar for stultuske
0
150
Member Avatar for jiraiya

that might be the best, you'll have to do that anyway, since you say there are three String objects in every element in the ArrayList

Member Avatar for jiraiya
0
94
Member Avatar for BobbieJean

[QUOTE=BobbieJean;1192600]Hi, [I]"You need to add a new private instance field "birthDate" to the Employee class. Add get and set methods to Employee class for this new birthDate field. The birthdate is to be displayed using a customized toDateString method in the Date class. The birthDate field must be determined from …

Member Avatar for kvass
0
2K

The End.