4,084 Posted Topics

Member Avatar for cutekaranr

there are several JDateChooser classes. which one are you using? check the type of Object that is returned by your chooser, and see it's api's about how to extract more specific data from it.

Member Avatar for stultuske
0
152
Member Avatar for vjjohnson04

first of all, the code you have above wouldn't work. your "inheritance" example would only work if: either you create an instance of that class, or you declare the sample() method as static. since your point isn't correct to begin with (for all the non-static methods, you'll still need an …

Member Avatar for Taywin
0
311
Member Avatar for techgeek420

Pavidaminie: then write the code. this is not a "come and copy of us" site. neither is this a valid reason to re-open a dead thread.

Member Avatar for stultuske
0
188
Member Avatar for anonb

add a print in your while method that prints every value added, then add a print for your search value, and see if that value is indeed in the list.

Member Avatar for stultuske
0
347
Member Avatar for ct_hunny

you can alter the css class used, but most likely you'll get a better answer in one of the next two fora: [Web Design, HTML and CSS](http://www.daniweb.com/web-development/web-design-html-and-css/15) [JSP](http://www.daniweb.com/web-development/jsp/24)

Member Avatar for stultuske
0
189
Member Avatar for UNDER-18 FG

subramanya.vl: don't provide custom made code, give them the chance to work their issues out. also, don't provide false solutions. 2 is a primenumber, yet when your code runs, it would return false if one asked whether or not 2 is a prime.

Member Avatar for jalpesh_007
0
703
Member Avatar for jalpesh_007
Member Avatar for jalpesh_007
0
186
Member Avatar for pooran.c

Museful: nobody still followed this thread, it's ancient, dead and marked as 'Solved'. no reason to revive it.

Member Avatar for stultuske
0
372
Member Avatar for ahmedhesham

what have you got so far? this is just an assignment. we will help you correct your mistakes, but we're not going to write it for you.

Member Avatar for jalpesh_007
-1
143
Member Avatar for liz.willy
Member Avatar for jalpesh_007
0
72
Member Avatar for System Networks

no. in order to run it, you need to have the JRE installed. if you want to run the jar by clicking on it, set the environment settings of your os correctly.

Member Avatar for stultuske
0
122
Member Avatar for hwoarang69

arrays is the minimum of the minimum. there 's a lot more to data structures then that: check [this](http://www.theparticle.com/javadata2.html) for instance.

Member Avatar for jalpesh_007
0
188
Member Avatar for BLuv

I'm not sure what you are talking about, but my guess is that stuff like this Output.showMessage(menu); is where your code crashes. Unless you have a class Output with static methods (along which showMessage(..)) this will cause compile time errors.. my suggestion, for as far as I can see your …

Member Avatar for Taywin
0
185
Member Avatar for HankReardon
Member Avatar for tarareddy

you don't need to know Java Game Programming in order to understand what variables do. are you familiar with Java programming?

Member Avatar for tarareddy
-1
7K
Member Avatar for yen.ho.100

well, I'm not sure what it is you are having trouble with, can you be a bit more specific? anyway, look at the next two lines: can you see where you're going wrong there? String currentName = name; if (currentName.equals(name)){

Member Avatar for stultuske
0
92
Member Avatar for mark.cueva1

what code? please post it here. and if the question is: write it for me, the answer is "no"

Member Avatar for jalpesh_007
-1
172
Member Avatar for psy.blast

if you want to get to get a value from an Object, from one class to another, use getters.

Member Avatar for JamesCherrill
0
211
Member Avatar for kris.parekh.1

data=stdin.readLine(); you do use this variable, but you never declared it. add String data; in class scope.

Member Avatar for stultuske
0
202
Member Avatar for sapure
Member Avatar for RozenKristal

because you haven't called the constructor of your class, which means that your head list never gets instantiated either.

Member Avatar for jalpesh_007
0
226
Member Avatar for hwoarang69

well, how do you expect us to understand it? you want us to explain variables while we have no idea of what type they are... also: saying - the code is right - just to be followed by // this I understand but it's not right... either it's right, or …

Member Avatar for Taywin
0
249
Member Avatar for cnad
Member Avatar for Taywin
0
469
Member Avatar for rssk
Member Avatar for viv941

ehm ... all those links end up on 404 error here, so if you want to know how to create one of those ... just link to a non-existing page. can you be a bit more specific of what it is you are trying to do?

Member Avatar for JamesCherrill
0
179
Member Avatar for Omar89
Re: java

most likely, he has just been explained all these concepts, and his teacher wants to see whether or not he understood it, which is why the assignment is quite abstract.

Member Avatar for stultuske
0
133
Member Avatar for game4tress

unfortunately, no protection is 'unbreakable'. and even if, all someone has to do, is copy someone else's license nr. how are you to check (for each case) that it is copied and the user didn't just change pc's? anyway, you can use a combination of such things. check for IP, …

Member Avatar for stultuske
0
306
Member Avatar for rssk

rssk: in your other thread you made it clear you're unaware of the Object class. please, do yourself a huge favour and stop going over stuff you're not ready for yet. start with the basic concepts, and work your way to the more advanced topics, even in gradeschool, they start …

Member Avatar for stultuske
0
130
Member Avatar for MegaBigBigYo

Taywin: why do you need to do that? null is the default value of an object, so, if you create the array like this: Object[] nullArr = new Object[length]; the only object there that is not null is the array, all of it's elements are (by default) null.

Member Avatar for MegaBigBigYo
0
191
Member Avatar for somjit{}

which loop do you mean? also, if you're just in Java for a week: start with learning the concepts. first learn to walk, before you try to run.

Member Avatar for JamesCherrill
0
241
Member Avatar for aabbccbryanmark

well, it's not Java, I'll tell you that much. never just "copy code". in this case, you don't even know what language it is, so, how do you know it 'll work?

Member Avatar for gourav_rao
0
161
Member Avatar for Shanti C

also, you must understand: > Any sample code please ? just to read a simple file. and > ... without using any external jars ? these two are very hard in conflict. either you use libraries that are supposed to perform these tasks, or you try and write your own …

Member Avatar for stultuske
0
339
Member Avatar for engrjawad
Member Avatar for jalpesh_007
0
185
Member Avatar for lo0lo0999
Member Avatar for hacker260

you should try to stear into the direction that he can find it himself. if you do, however, want to show him something like that, why not just saying: if ( computerMove == playerMove ) return 0; if ( computerMove > playerMove ) return 1; return -1; less code with …

Member Avatar for stultuske
0
305
Member Avatar for hwoarang69

that is because you are mixing up awt and Swing components. for the old awt checkboxes, you should've used the checkboxgroup, but since you arte using the Swing version (JCheckBox) which you should, you'll need to adjust the grouping component as well.

Member Avatar for hwoarang69
0
242
Member Avatar for vicky.parikh.1

ehm .. what exactly has this got to do with Java? if it is for a gmail account, and you want it in a desktop application: what do you still need the browser for?

Member Avatar for stultuske
0
442
Member Avatar for ganges

http://www.coderanch.com/t/589027/OCEJPA/certification/jpa-certification-book-OCEJPAD

Member Avatar for stultuske
0
55
Member Avatar for nitin1

> Eliminating the horses is cheating. . . :D either that, or a brilliant scene from the Godfather.

Member Avatar for chris.stout
0
283
Member Avatar for Kathy0410

I assume you meant methods, java doesn't have functions (bit 'picky', but still) Kathy, what do you mean: create a new interface Payable? you already have one, now you have to use it. for instance: Employee (as a class) implements Payable, and is extended by Employee/Executive/.. that's closer to what …

Member Avatar for Kathy0410
0
136
Member Avatar for gassa94

can you show your code so far and explain what it is you're stuck with?

Member Avatar for Taywin
0
102
Member Avatar for BablooDabloo
Member Avatar for manraj kaur

yet I recommend starting with the link Lucaci Andrew provided, it is, after all, the official tutorial. @Neversleepin : your first post seems to be a dead link, and your second one isn't actually about Exception Handling in Java, but about Exception Handling in general.

Member Avatar for jalpesh_007
0
360
Member Avatar for sk8ergirl

I'm not going to check all those external links, and I imagine there are more of us thinking that way. could you please post the relevant code here in separate code blocks, so we know what the different classes are?

Member Avatar for Schol-R-LEA
0
95
Member Avatar for sk8ergirl

we're not going to look at all those links. I just checked your first link, the javadoc. why did you post that link three times? it points to 'exact the same' url. secondly, post your code here, don't just link to several external pages. also, be a bit more precise. …

Member Avatar for stultuske
0
373
Member Avatar for Chinmaya Dash

how about ... not? why would you want to do that? one of the major upsides of Java is that it's platform independent, if you create an exe, you'll limit it to the Windows platform. just create a .jar file, that is just as well an executable, which keeps the …

Member Avatar for stultuske
0
388
Member Avatar for anandschiru
Member Avatar for Ancient Dragon
Member Avatar for BigPaw
0
110
Member Avatar for ms. kj

most likely, you're missing (a) bracket(s). but it would be a lot easier to say that for sure, if you actually posted your code.

Member Avatar for subramanya.vl
0
115
Member Avatar for sach_ak47

davidlad: what did you think peter_budo meant by the above post? this thread is five years old. just because some people seem to need to revive it now and then, doesn't mean it's the right thing to do. the chances of the OP still looking for a solution for this …

Member Avatar for stultuske
0
2K

The End.