4,084 Posted Topics

Member Avatar for stephen.hare.7503

you need our help to modify the source code ... who wrote the original source code ?

Member Avatar for stultuske
0
130
Member Avatar for SimonIoa

since websites have been promoted long before social media existed, of course it is possible. But to provide with decent information on the "what and how", it would require more information on the site you are trying to advertise. just a few examples: if you go to metalfestivals, you'll immediately …

Member Avatar for advent_geek
0
367
Member Avatar for rayan22

and what is your actual question? even if you want to find out the hard way, all you need to do is copy paste the code, compile it and run it.

Member Avatar for Priyanka_9
0
233
Member Avatar for moaz.amin.37

a few other remarks: 1. applications using servlets are not desktop applications, and should NOT be run using the java <NameOfClass> command. 2. Java 2 SE became out of date in 2006, you may want to update your study material. 3. if BinarySearchProgram is not a webapp, then running it …

Member Avatar for JamesCherrill
0
233
Member Avatar for roxie148

hard to say what "a good laptop" would be, because this description is way too vague. good for what ? a laptop that would be good for my father, for instance, would not be a good laptop for me. my father likes to do the average stuff: read his facebook …

Member Avatar for stultuske
0
255
Member Avatar for shoysmTP
Member Avatar for stultuske
0
138
Member Avatar for nitin1
Member Avatar for Slavi
0
132
Member Avatar for jeram.burbon

don't use ints for a date, use an instance of Date. also: this `public boolean ckOldestBirthDate(Profile p, Profile oldestStu)` is bad coding. either make the method static, and call it through the class, or make it only take one parameter. remember, since you already call it on an instance, you …

Member Avatar for stultuske
0
534
Member Avatar for vivekH

as Taywin says, you'll need an entire structure to do this. you can't do such on a String itself, since a String is immutable

Member Avatar for janissantony
0
139
Member Avatar for polar2323

by a vidual learner, I assume you mean 'visual learner', as in looking at code, without actually checking what it is it does in the background? especially if you are "pretty new to Java", don't just look at code. you'll learn nothing, except how to copy-paste code.

Member Avatar for Taywin
0
199
Member Avatar for redtribal23
Member Avatar for Taywin
0
194
Member Avatar for Renuka_1

if you are hosting the Olympic games, no doubt, your budget will allow you to hire some decent developers. if that is what you are looking for, [this forum ](https://www.daniweb.com/business-exchange/jobs-and-resumes/52)might be what you need. if not, what's stopping you from writing the code ?

Member Avatar for stultuske
-1
163
Member Avatar for shailesh.bhokare

please give an actual question. what do you want to compare Strings to ? references ? use the '==' comparator. value ? use the equals method. value, except for case equality ? use the equalsIgnoreCase method. substrings ? use indexOf, or contains. chars ? use an iteration and '==', then, …

Member Avatar for stultuske
0
56
Member Avatar for N S K

1. for Virus scanning purposes (as said earlier) Java is not the best suited language 2. this is not a gimme code forum

Member Avatar for janissantony
0
115
Member Avatar for NagaSwarupa
Member Avatar for MasterChat

[this one](http://forjenssake.files.wordpress.com/2012/03/abe-lincoln-meme.jpg) explains it pretty well.

Member Avatar for MasterChat
1
409
Member Avatar for COKEDUDE

JCheckBox is for in any Panel or JFrame, JCheckBoxMenuItem is specifically for when you want a JCheckBox in a menu.

Member Avatar for mKorbel
0
357
Member Avatar for EarhawkPH

to "go back", just put it all in a while loop, which checks whether or not the input you gave, is the input to terminate the application

Member Avatar for stultuske
0
364
Member Avatar for Zorrro

well ... that's the story of life, and not just online. basically, the same applies to laws of a country. they are set, altered, changed, ... by a small group of people, that supposedly "represent" the citizens, but, basically, when these bills and laws are voted, we can only hope …

Member Avatar for deceptikon
0
293
Member Avatar for N S K

you should not attempt to write a virus scanner using Java. the language is not appropriate for the task.

Member Avatar for stultuske
0
209
Member Avatar for blankspace

if this is not your code, don't try to "understand" it. if you want to understand this: learn Java until you've reached the level that you can understand it. don't just copy-paste code you found on the web, ask someone to explain it, and think you learn something that way. …

Member Avatar for stultuske
0
188
Member Avatar for N S K

NSK: are you deliberately ignoring replies? why do you start a different thread, while are your threads are about the same topic? I'll say it once again: JAVA IS NOT A LANGUAGE SUITED TO CREATE AN ANTI_VIRUS APPLICATION

Member Avatar for N S K
0
126
Member Avatar for cyaeger

you have a few errors here: the error you talk about now - once you've declared a variable, you can refer to it using the reference alone. replace int[] result = locateLargest(double[][] a); by int[] result = locateLargest(a); the way you have it is invalid syntax. next, you'll get an …

Member Avatar for cyaeger
0
884
Member Avatar for jeram.burbon

most likely, somewhere you're missing a bracket, or something like that. it's easier to spot if you show the concrete error message, which states on which line the error occurs.

Member Avatar for stultuske
0
1K
Member Avatar for Atlanta15Braves

amo0lz: this is about the most ridiculous post ever. 1. this thread is years old, don't revive it 2. is your post a question, or a reply ? 3. make your post clear, what is it we are supposed to see in it ?

Member Avatar for stultuske
0
3K
Member Avatar for blankspace

yes, you can ask help here. the way it goes is: you post a specific question you post the relevant code

Member Avatar for blankspace
0
199
Member Avatar for Tycellent

Tycellent: as soon as there is 'For Dummies' in the title, ignore it.

Member Avatar for Tycellent
0
181
Member Avatar for Ali_42

Ali_42 : don't go for tricks. the tricks in the end bite you in the a**. yes, it is possible to 'buy' packs of likes, shares, and, most likely, members. but if people find out you have 50.000 members, and there's not a single active member on your page, well …

Member Avatar for stultuske
0
86
Member Avatar for henryz_box

so ... what you want is that two users can simultaneously use the application, but if one user does something, that immediately changes the application's behaviour on the other machine as well ? what 's the point of that? for showing information, I can understand, but to set whether or …

Member Avatar for henryz_box
0
667
Member Avatar for James_40

did you create/import another Math class ? what Math class are you using ?

Member Avatar for stultuske
0
125
Member Avatar for abelLazm

granted: and while you were sunbathing in the park, someone started mowing the lawn. I wish it was weekend already.

Member Avatar for James_40
8
9K
Member Avatar for bmwwbb54

Taywin: yes, but even with indexOf, as suggested by the teacher himself, there is either some looping involved, or it won't work.

Member Avatar for Taywin
0
2K
Member Avatar for AdanPuente

Ali_42: is this what you revive a dead thread for ? the thread is five years old. if the OP hasn't found it by now, chances are, he's not looking anymore.

Member Avatar for stultuske
0
254
Member Avatar for gajen007

before you start filling combobox2, erase the values that are in there at that moment. looks to me like you're not doing that. but it would be better if you started separating the business and UI code.

Member Avatar for stultuske
0
988
Member Avatar for Pinkkat

ok .. so you posted your entire assignment (no, I didn't read all of it, way to much) and all the code you have (no, I didn't read all of that neither, since I have no idea what it is you want us to look at). Could you please add …

Member Avatar for stultuske
0
5K
Member Avatar for N S K
Member Avatar for stultuske

I just was operated on the left knee (second time in little over a month). anyone got a left knee they're not using anymore to spare ? :-P

Member Avatar for Warrens80
0
170
Member Avatar for The Mad Hatter

> this is not a troll. I know there are a lot of Windows fans here saying that there are a lot of Windows fans here, probably is the biggest troll of all. > unlike the most of you, I've read Microsoft's FINANCIAL reports, and understand accounting. I know how …

Member Avatar for ZZucker
-2
311
Member Avatar for UK-1991

in order to avoid the ArrayIndexOutOfBoundsException, replace this: `for(int i=0; i<=4; i++)` by `for(int i=0; i<4; i++)` but, your logic is wrong: you should only print whether the name is found after all checks have run: try this: - set a flag 'found' to false for(int i=0; i<4; i++) { …

Member Avatar for JamesCherrill
0
107
Member Avatar for shungkiu.lee

to add to James' point: if you have 'zero knowledge of Java', you should first 'gain knowledge of Java' instead of thinking it's a good idea to start with I/O tasks in Java. just look at it this way: if you hire a contracter to build you a house, would …

Member Avatar for JamesCherrill
0
186
Member Avatar for divinity02

you make an analysis, you write the code based on this analysis, you compile the code, if needed, you fix any compilation errors, run the code, if needed, fix any run time errors you encounter, have your application tested by someone else (test phase) fix any bugs they encounter repeat …

Member Avatar for JamesCherrill
0
298
Member Avatar for rhydham1

since we don't know the code of ConvertDate, we can't be sure. for all we know, this are static methods in a class calling ConvertDate which has it's own instance of Scanner

Member Avatar for stultuske
0
92
Member Avatar for nataraja833

what you could do, is write some sort of factory-like method. for instance: public class Person{ private String name; private int age; public Person(String name, int age){ this.name = name; this.age = age; } // just assume the setters and getters are here. } at this point, there is no …

Member Avatar for nataraja833
0
228
Member Avatar for divinity02

the only thing that is "wrong" with it, is that you haven't finished yet. if you want us to be more specific, explain how you notice that it's wrong. do you get an error message ? does it compile ?

Member Avatar for Taywin
0
182
Member Avatar for chubbyy.putto
Member Avatar for Taywin
0
120
Member Avatar for JamesCherrill
Member Avatar for Slavi
0
197
Member Avatar for marvin.lerias

he might have the same problem as one I tried to help with earlier: declared the textArea as an instance variable, but only added a local variable of type JTextArea with the same name to the actual JFrame. it would be easier to see more of the code, to decide …

Member Avatar for marvin.lerias
0
284
Member Avatar for woooee

I was downvoted (a number of times) once because the person had the next reasoning in mind: "You have the nerve to point out that my replies are dead wrong, the code I provide is not what is asked for, nor should be provided, and my advice can only confuse …

Member Avatar for almostbob
0
273
Member Avatar for Nikki_77

hey Jeff, welcome to the forum. do understand that the posts are over two years old. I doubt that the OP is still looking.

Member Avatar for stultuske
0
22K
Member Avatar for Decode098

so .. basically, you need to know how to call a method ? `int[][] data2 = new int[row2][column2];` make sure to add this line after you've initialized both values.

Member Avatar for stultuske
0
272

The End.