4,084 Posted Topics

Member Avatar for Michele T Roo

not to mention that "I have a reward-may be ;)" sounds very .... well, let's face it. naughty. if you're planning to go through school that way, .... well, wait do you think would happen if you actually found a job programming?

Member Avatar for stultuske
0
177
Member Avatar for Nnadozie

for those who down-voted JamesCherrill... do you realise he's the only one here so far actually trying to help the OP? plagiarism might get her expelled, depending on who she copies of, might even get her in jail. it sure as hell won't learn him/her to program. the OP has …

Member Avatar for iamthwee
0
150
Member Avatar for SintherPal

203428: you seem to be missing the concept of a forum like this. the point is, that if he has questions, he can post them here, so he can recieve help from thousands of developers. at this point our problem is that we will not aid the OP into cheating …

Member Avatar for SintherPal
0
283
Member Avatar for diggdirectory

James_28: "interesting things to do on social media" ... sounds a bit like a contradictio in terminis to me.

Member Avatar for sumansingh
0
313
Member Avatar for AbhishekTecnics

also: never allow your main method to throw Exceptions. you should understand why not long before you try to run more "advanced" applications like calling external applications.

Member Avatar for AbhishekTecnics
0
2K
Member Avatar for masonketcham

the first error means you have two methods with the exact same name and parameter list, which is not possible. if you want to overload methods, you must change the signature. so: remove or re-name one of these. //method to get InventoryValue public double getInventoryValue() { return InventoryValue; } public …

Member Avatar for Doogledude123
0
330
Member Avatar for Shreyas_1

auto increment is something you configure in your database, not in your servlet code. anyway, if you want to 'convert it to jsp/servlet', you should re-write your code. saying "not working for me" doesn't help us. what exactly doesn't work? it doesn't compile? it doesn't run? does it throw an …

Member Avatar for stultuske
0
2K
Member Avatar for spopivich

for the product, your variable actually is named 'products' with an s. but besides that, do you see why this part of your code: product[0] = p1; product[0] = p2; product[0] = p3; product[0] = p4; product[0] = p5; is pointless? you'll have only the details of p5 at the …

Member Avatar for stultuske
0
429
Member Avatar for awsa.qwase
Member Avatar for souravmukherjee
Re: jobs

that depends on what you are interested in. do realize, if you choose a job, you'll be doing it full time for (normally) over more than a year. choose something because it pays better over something you want to do, and it's a burn out in the making.

Member Avatar for jwenting
-1
96
Member Avatar for pradiplamsal

paulbeswick: the point of an open forum is to help in the thread, so anybody can benefit from the answers.

Member Avatar for sakib777
0
504
Member Avatar for shaquib65

"the whole console output". what you can do, is print the text you write there yourself. at the very same place you call `System.out.xx(x);` just append the value of x to a textfile.

Member Avatar for shaquib65
0
220
Member Avatar for diggdirectory

James singizi: if you truly believe that, you don't know very much about the internet and how people think. Facebook's popularity is already falling. trying to stay 'cool', innovating and popular is one of the main reasons they choose to buy up a lot of other applications, rather than competing …

Member Avatar for stultuske
0
331
Member Avatar for Shoes Mosh

just try to compile it, and see for yourself. it's one line that 'll block. if you know just the least bit of your course, you'll easily spot it. if you don't, you haven't read your coursenotes.

Member Avatar for Shoes Mosh
0
143
Member Avatar for staffmbm

why double asking? [StackOverflow post](http://stackoverflow.com/questions/23359840/jsf-error-the-class-does-not-have-the-property)

Member Avatar for stultuske
0
2K
Member Avatar for allan f

allan f: then why don't you hire a consultant? this is an open forum, meaning the 'contact me at ...' is out of place here.

Member Avatar for pritaeas
-1
115
Member Avatar for android_gl

> note: ellipse doesnt work right. define "doesnt work right". is there an error. is the output not what you expect? what do you expect, and what do you get?

Member Avatar for android_gl
0
647
Member Avatar for zach.hardaway.94
Member Avatar for stultuske
0
64
Member Avatar for V3N0M

generateRandom();//Calling generate number int answer = input.nextInt(); if ( answer == generateRandom() ) well, if you call it twice, it'll be executed twice. replace the above by either: int answer = input.nextInt(); if ( answer == generateRandom() ) or by int generated = generateRandom();//Calling generate number int answer = input.nextInt(); …

Member Avatar for V3N0M
0
204
Member Avatar for sasikrishnasamy
Member Avatar for MatthewYeend

if you don't know how to instantiate objects, don't go writing your own classes. learn the basics first. asJamesCherril pointed out with the 'inline code' tag: use the new keyword.

Member Avatar for JamesCherrill
0
279
Member Avatar for flywidus

owwwwww ... key? and how is this connected to "Social Media and Communities"?

Member Avatar for stultuske
-1
62
Member Avatar for santi.ayasamy

yah ... this 'll need some major refactoring before becoming (almost) readable

Member Avatar for JamesCherrill
-1
525
Member Avatar for deepakusers

by writing code. or, a more conventional way: create an account on a "Create your blog here" site, and start typing.

Member Avatar for stultuske
0
71
Member Avatar for brittney_2

it's nice that you tell us what output you get, but if we don't know what input there was, it's useless. you do understand, that since family and titles don't have the same length, this: `System.out.printf("\n%S's TITLES\n%s\n", family[a], titles[a]);` is bound to cause problems?

Member Avatar for Steve_O
0
245
Member Avatar for anand01

no, it is not inheritance. there are two things you can check: 1. multiple inheritance is not supported by Java, and you can implement multiple interfaces for each class 2. there is nothing in an interface you can actually inherit

Member Avatar for jwenting
0
184
Member Avatar for ADETUNJI_1
Member Avatar for jwenting
0
886
Member Avatar for Durai_1
Member Avatar for romdan94

> I just need to write this program for an extra credit assignment and frankly I don't know a thing about arrays and don't have time to learn this kind of says it all. either learn about arrays, which would take you about ten/twenty minutes, or fail the task. does …

Member Avatar for JamesCherrill
0
256
Member Avatar for gxs100

don't really know what you mean by 'dots and boxes' but it seems you have a pretty explanatory pseudo code there. what is it you are having difficulties with?

Member Avatar for gxs100
0
241
Member Avatar for ScottShip
Re: Help

congratulations ScottShip: you managed to copy paste your assignment. I hope you don't expect us to be to impressed by that show of skill.

Member Avatar for stultuske
0
159
Member Avatar for nhrnjic6
Member Avatar for Manu_5

first of all: a "netbean frame work"? I assume you mean "a project built using Netbeans"? secondly: it's exe file? if you wanted an exe file, you shouldn't have chosen for Java. creating an exe file for a Java application is nonsense. what problem do you have creating the manifest …

Member Avatar for jwenting
0
846
Member Avatar for cosweet

cosweet: this is not a "gimme code" forum. work on it yourself. don't want to? tons of places online you can find such code, but it'll cost you: you'll need gateways, pay for services, ... anyway, it won't be "for free".

Member Avatar for jwenting
0
69
Member Avatar for nutandevjoshi

no, php is not cursed. do you want to switch to Java? then start learning Java. but do understand: if you want to learn Java in detail, be prepared for a one year full-time course. after that, you'll have completely mastered the basics. don't underestimate it. sure, you have a …

Member Avatar for jwenting
0
244
Member Avatar for syasya

> But what you want to do is to compare the value of this memory rather, the value assigned to the variable.

Member Avatar for jwenting
-1
604
Member Avatar for SagarSe7en

honestly, I stopped going over your code when I saw two major flaws in it. first one: I saw this catch (SQLException se) { //handle catch } at least two times. if you don't understand why that is bad, don't write 'complex' applications before you understand the reason why. secondly: …

Member Avatar for stultuske
0
3K
Member Avatar for michelle.trinsky

by instantiating last before you try to call a method on it. if ( last == null ){ last = new Link(); } last.next(); is a possible way, but why calling next if there are no elements in the list yet?

Member Avatar for stultuske
0
1K
Member Avatar for syasya

not to break your spirits, but to quote you from another one of your threads: > because i haven't study about switch-case and break. So i think i cant use those in my assignment :( don't go worrying about GUI's or event driven, make sure you have a good grasp …

Member Avatar for JamesCherrill
0
114
Member Avatar for vincecamha

might work, but since we don't see all your code, we can only speculate. just to add a little insight here: if you can add customers, it sounds like you can also remove them (or might be required to do so later on). that way, just adding it as a …

Member Avatar for vincecamha
0
454
Member Avatar for syasya
Member Avatar for vergil1983

that would be the most logical way. it's not really an error, rather a suggestion: `if ( x.equals(" ")) ` NetBeans detects the possibility to this code being run without x being initialized. that would lead to a NullPointerException. `if ( " ".equals(x))` here you are calling the equals method …

Member Avatar for vergil1983
0
171
Member Avatar for Gerock7

Gerock: first learn the basics of Java, then try to work with classes. the code you posted will never compile. public static void main(String[]args) { public getInformation() { (and so on) you are creating your methods within the main method. that can't compile, and it shows you don't yet understand …

Member Avatar for stultuske
0
277
Member Avatar for ocw91

as the error says: you are working with an invalid (or corrupted) JAR file. check the comments [here](http://midpath4dingoo.googlecode.com/svn/tags/v0.1/components/core/src/com/sun/midp/installer/InvalidJadException.java) if you are working on J2ME, stop right now, and start using Java ME. There's no need to dwell in the past.

Member Avatar for ocw91
0
457
Member Avatar for Ballistixz

you are calling methods that don't exist. there is no 'print' method in System.out that takes a String and an int as parameters, neither is there a 'println' method for these parameters. you are trying to use the SIZE variable in your getSales method, but you've declared it as a …

Member Avatar for vergil1983
0
244
Member Avatar for Pyler

"it doesn't work well/as it's supposed to" what does it do, and how is it supposed to work according to you?

Member Avatar for iamthwee
0
219
Member Avatar for Aman_5

is that JMF code? does look so like me. if it is, dump it. JMF is very outdated and hasn't been maintained for over years. there are better and more efficiĆ«nt ways to play mp3 files these days. also: never allow your main method to throw Exceptions. nothing good can …

Member Avatar for JamesCherrill
0
358
Member Avatar for romdan94

correctly. as variables you'll use, create two arrays: one of 26 chars `{'a','b', ..., 'z'}` and one of 26 ints (by default 0 values) you'll need an instance of Scanner. read using next, use a call to split to get the information up until the first '.' do remember: only …

Member Avatar for JamesCherrill
0
277
Member Avatar for staffmbm

if I'm not mistaken, you're not supposed to use the 'get' when you call the getter. try to do it the way it is suggested [here](http://stackoverflow.com/questions/9444758/servletexception-property-now-found-whats-wrong-here)

Member Avatar for stultuske
0
1K
Member Avatar for syasya

if you can't answer these question, first go over your course notes again. what is a FootballClub? what 'properties' does it have? what 'actions' can it perform, or can be performed on it?

Member Avatar for syasya
0
137

The End.