4,084 Posted Topics

Member Avatar for mical700
Member Avatar for solomon_13000

is there an errormessage? have you added a check which verifies the image is found on the url you provide?

Member Avatar for solomon_13000
0
363
Member Avatar for happygeek

what do you mean by that "Microsoft (h?)as it(s?) own flaws" comment? "Java is the best and would always remain good" .... that would depend on what exactly it is you are trying to write code for. It's not as if Java doesn't have its limitations.

Member Avatar for gyno
3
562
Member Avatar for ScarWars9
Member Avatar for DarkBerzerk™

K4tFilms on his/hers probably first and only visit has deducted that the site "is lame"... must be a RoseIndia fan. to respond to the original post: > and when he ask question and alot of ppl try to find solution for him...he never say thanks for the solution or even …

Member Avatar for Reverend Jim
-13
354
Member Avatar for Sacrificer_911
Member Avatar for Sacrificer_911
0
310
Member Avatar for Himanshu Chawla

first of all: jquery, javascript and ajax are not really related to Java. jquery is a library/framework in JavaScript. JavaScript is a scripting language, prerequisites, being willing to put in some effort, I guess. advance Java vs core Java? good question, since not everybody that says "advance Java" means the …

Member Avatar for rotten69
-1
448
Member Avatar for bably raj

[this](http://docs.oracle.com/javase/tutorial/jdbc/index.html) could help. or looking into hibernate or JPA would be able to help you out.

Member Avatar for stultuske
0
62
Member Avatar for Nagarajan M
Member Avatar for Roshan92

Since I assume you have no experience with JPA or Hibernate, I'll suggest you [this](http://docs.oracle.com/javase/tutorial/jdbc/index.html). EDIT: a good advice: never EVER write code like this: `catch(Exception ex){}` how will you ever know whether or not an exception has been caught there, let allone how to solve the problem?

Member Avatar for stultuske
0
274
Member Avatar for wallet123

`System.out.println("Test1: "+ applicationForm.getFname());` my guess, you didn't set the value of applicationForm before calling the method in which this line is. make sure you call the `doSet(ApplicationForm applicationForm)` method at initialization of your application

Member Avatar for stultuske
0
429
Member Avatar for nova4005

also, for efficiĂ«ncy reasons (well, in a small piece of code like this, it won't matter that much, but still) you are better to use either a switch statement or an if else if structure. to copy a bit of your code: if (rollTotal == 5) { rollHist[3] += 1; …

Member Avatar for JamesCherrill
1
238
Member Avatar for zacant

a print statement? what is it you are having trouble with? also: since you compare instances of Grade, you may want to choose compareTo instead of the < operator.

Member Avatar for JamesCherrill
0
613
Member Avatar for rsewak
Member Avatar for hwoarang69
Member Avatar for Donjos10
Member Avatar for bobit

your Circle class should have only one attribute, the radius, so remove the doubles area and perimeter. you'll need to calculate those from the radius. your Figure class ... well, it makes no sense. just remove it from your project. `public class Cylinder extends Circle` this looks good to me, …

Member Avatar for stultuske
0
575
Member Avatar for gronkite
Member Avatar for somjit{}
0
804
Member Avatar for bobit

bguild: > The point of extending a class is not to reuse the code in that class. this makes no sense. the actual point of inheritance is that you can re-use the code without re-writing it . > The real benefit of extending a class A is when there exists …

Member Avatar for JamesCherrill
0
2K
Member Avatar for stultuske

maybe a thought: no longer anonymous downvotes. not to discourage downvoting when appropriate, but rather so the downvoted person knows who to ask at least some explanation as to the why.

Member Avatar for stultuske
0
374
Member Avatar for <M/>

there, you don't have the separate numbers, so what if you want to perform other operations on them? create an array of x ints, and each iteration, save the value to myArray[i];

Member Avatar for <M/>
0
431
Member Avatar for asifalizaman

define: installer. you can create a jar file containing your entire application if need be, just copy paste run.

Member Avatar for asifalizaman
1
171
Member Avatar for harinath_2007

not to mention "reduce the stress" you'll get right before a deadline, when you have to "hurry-hurry-hurry" to remove all of that code, and hoping you've got them all. wrote a comment to make sure you'ld find them all? well, then just hope one of your colleagues didn't play a …

Member Avatar for ~s.o.s~
-1
268
Member Avatar for IIM

also: reputation is a nice reward, but it isn't the main part of this forum (at least it shouldn't be :) ) personally, I d'rather keep track of up/downvoted posts to check where I may have gave an answer that someone believed to be from the "what the ..... is …

Member Avatar for pritaeas
0
571
Member Avatar for hwoarang69

try adding some print statements to check what the values of those variables are. if the expression never returns true, then it's pretty normal it never prints "hi".

Member Avatar for Lamirp
0
154
Member Avatar for toldav

well, we don't know what getArea returns, nor how or when it is set (we can only guess), so how are we supposed to see whether the > operator will return the wanted result. as far as I know, we can't even be sure this code'll compile.

Member Avatar for stultuske
0
189
Member Avatar for jalpesh_007

question 1: sure ... why not? you can have an unlimited nr of classes in one .java file. and each class can have an unlimited amount of main methods (overloading). if you are talking about a main method with the signature of thĂ© main method, then, no. only a top-level …

Member Avatar for JamesCherrill
0
148
Member Avatar for Nagarajan M

doubt you'll be able to do that. first of all, are you sure your Myapp application was written in Java? also: "That jar file should work in non java system also" ????? jar means: Java ARchive. how would you imagine that being runnable in a "non java system"? anyway, maybe …

Member Avatar for stultuske
0
3K
Member Avatar for adikimicky

the problem (most likely) is that you haven't correctly set your environment settings in your OS. make sure your classpath is set and that it's set right. otherwise, you won't be able to run your application by just double clicking, and you'll have to go through the command line.

Member Avatar for ghincelino
0
255
Member Avatar for thunderjuice

//global data private double[] circles = new double[10]; what exactly do you mean by that? first, there are no global variables in Java, just to avoid confusion. secondly, if I understood correctly, you are trying to create an array of Circle objects, not an array of doubles, so what do …

Member Avatar for thunderjuice
0
267
Member Avatar for StefanRafa0

ehm ... I assume you know what "127.0.0.1" is? unless you have such a server running on the machine on which you run the application (which is very unlikely) you'll need to provide another server address.

Member Avatar for StefanRafa0
0
332
Member Avatar for smellysocks

I guess you're looking for [this](http://en.wikipedia.org/wiki/Big_O_notation)

Member Avatar for stultuske
0
68
Member Avatar for jalpesh_007

google is great - google is wise. lots of links out there that can help you with this [this](http://stackoverflow.com/questions/8192204/sending-the-jframe-information-to-the-printer), for instance.

Member Avatar for jalpesh_007
0
300
Member Avatar for Shania_01

not sure about what the exact code is, but it seems to me you are using the indices of seperate classes or instances thereof. also: your code seems way more complex then it should be.

Member Avatar for rubberman
0
143
Member Avatar for yunniesshi

ehm ... who wrote the above code? if you did, you managed to figure out how to create a Timer for one second. adjust that to one minute. that would be step 1.

Member Avatar for IIM
0
2K
Member Avatar for aabbccbryanmark
Member Avatar for aabbccbryanmark
0
2K
Member Avatar for tux4life

well, if you check my profile, you'll see I have about 183 down votes (given by 30 members) ... was one way that someone (no idea who it was) felt the need to search as much posts of mine (s)he could find and down-vote it. when that 's noticed by …

Member Avatar for stultuske
0
239
Member Avatar for M4trixSh4d0w

pretty normal, that font pack is from Windows itself, in Linux (or any other non-Windows OS) that font won't be found and therefore cause an error to occur. it's like scanning the 'Windows' folder on your hard drive: unless you're working in Windows, it won't work.

Member Avatar for M4trixSh4d0w
0
509
Member Avatar for JavaGr33nh0rn
Member Avatar for gabriel.riveraperossenkopp

actually, if your question was (which I thought it was) how to do that using a constructor, your question isn't solved, you just wrote a way 'around' it. at this point, your class has no explicit added constructor, which means that the compiler will add the default (no argument) constructor …

Member Avatar for elhkei
0
717
Member Avatar for carrl00

why do you pass frame as a parameter? also, you are showing and running an input dialog, but you're not saving the returned value anywhere, what's the use of that? could you please be a bit more specific of what the problem is exactly?

Member Avatar for stultuske
0
190
Member Avatar for xHellghostx

it looks to me like he's trying to do something like multiple inheritance, he's trying to create a class C which inherits both the members of A and B. this is not possible in Java, though.

Member Avatar for stultuske
0
283
Member Avatar for JavaPrograms

of course this is possible. but then we're talking about jsp, jsf, gwt, ... or some other front-end framework. it's basically the same as printing it in the console: array of chars for each char, print/write a line that displays that char.

Member Avatar for stultuske
0
216
Member Avatar for michelleruth

also: a small note here... > It just prints out a blank screen this is not a question, it is a statement. and everyone that went through your code could only say: "so it does". if you want us to be able to help, be a bit more specific. do …

Member Avatar for stultuske
0
85
Member Avatar for yup790

you're using methods in there of which we don't know the code. do you expect us to guess? > It works with files with upto and including 5 lines. what do you mean by that? yes, it does, since you coded it that way. you're saying that the user needs …

Member Avatar for stultuske
0
155
Member Avatar for slygoth

Radhakrishna.p: how exactly is this answer different then the one given yesterday?

Member Avatar for bguild
0
156
Member Avatar for shibu2all

well, if you code it like that, it will work like that, but we won't write your code for you. put in a bit effort yourself,it's doable.

Member Avatar for stultuske
0
154
Member Avatar for baby666

the question is very understandable, it just doesn't make sense. what she is summing up are different looping-mechanisms (iterations) in Java, and we're supposed to point out all the differences and simmilarities. @baby666: they are not related to two dimentional sales person in any way, they just can be used …

Member Avatar for stultuske
0
109
Member Avatar for avinash_545

radhi: extending a class => public class Subclass extends Superclass and that's it. no, it's not your coding, what M4trixSh4d0w tried to tell you, is that you are reviving a dead thread, which you shouldn't. your question has nothing at all to do with the OP's question. if you have …

Member Avatar for stultuske
0
201
Member Avatar for gamcdonald

local variables don't have default values. now, let's assume that n = 0, that's a possibility the compiler takes into account: your for loop will never run, so total will not get a value, and then, you try to print an int without a value. just change int total; into …

Member Avatar for stultuske
0
377

The End.