4,084 Posted Topics

Member Avatar for ronaldpaul

when you're talking about one year experience, you won't be expected to know all the groundbreaking stuff. being in the loop on Spring/Hibernate/... does give you an advantage, though. it also depends on the frameworks the company uses and their what they expect, of which I can't say anything.

Member Avatar for stultuske
0
113
Member Avatar for mahesh m

ehm .... the above code is JavaScript, not Java. my advice, for better help on this, browse [this](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117) forum.

Member Avatar for stultuske
0
111
Member Avatar for ELMX27

or you can convert the number into a String (which can be transformed in a char array) and then just loop over that chararray to print each element.

Member Avatar for stultuske
0
2K
Member Avatar for rami sohaill

define : "something's wrong". is an exception thrown, does it run just not find the element, ..

Member Avatar for rami sohaill
0
224
Member Avatar for chitrasuriya

looks like you did a lot of research yourself ... checked [this](http://stackoverflow.com/questions/2293636/what-is-a-good-java-library-for-parts-of-speech-tagging) link yet?

Member Avatar for stultuske
0
66
Member Avatar for smurfy

employee isn't a database, it's a table or a view, as the error suggests (or should be), but indeed, he should check whether or not the name is correct

Member Avatar for stultuske
0
2K
Member Avatar for smurfy

either that, or add the required jars to your projects path. org.apache.derby.jdbc.EmbeddedDriver is not a part of the jre, so you'll need to have access to these classes in order to use them

Member Avatar for stultuske
0
2K
Member Avatar for andrew.ferrebee
Member Avatar for radhakrishna.p
0
240
Member Avatar for ray.chappel

what do you mean: I don't know where to go from there? it says it all in the description. just check the contents of your nodeslist and use it.

Member Avatar for ray.chappel
0
373
Member Avatar for aabbccbryanmark
Member Avatar for sufu
Member Avatar for tux4life
0
109
Member Avatar for john.stepanek.9

add some print statements in your code to see what methods are being called and what the values of your variables are.

Member Avatar for Starstreak
0
309
Member Avatar for fazae

add a KeyEventListener to a component, and implement the methods from the interface.

Member Avatar for fazae
0
233
Member Avatar for jocelyn.eyog

nothing but very simple basic stuff: a for loop, an if statement, ... write it down in subparts in pseudo code, for instance: - read a String - for n = 0 ; n < input.size get nth letter count # times letter occurs print n for l = 0; …

Member Avatar for stultuske
-1
1K
Member Avatar for shibu2all

a few notes here: 1. learn to use servlets, putting snippets in your jsp page itself is bad design. 2. there is an entire JSP subforum under the 'Web Development' section, might be you want to ask your question there. 3. read your error message: > An exception occurred processing …

Member Avatar for stultuske
0
401
Member Avatar for jalpesh_007

how else would you create a StringBuffer instance? and yes, since ensureCapacity is not a static method, you'll need to have an instance of StringBuffer to call it on. [StringBuffer](http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html)

Member Avatar for jalpesh_007
0
194
Member Avatar for ganges

one of the main advantages of Java is that it's platform independent, which basically means: it doesn't matter what OS you use, Java 'll run on all of them.

Member Avatar for terence193
-1
188
Member Avatar for awfootball7

well ... first of all, you'll have to use it. instantiate it, and call the methods through that instance. I would recommend re-naming your Array class though, for instance MyArray, that way it's easier to see for us that you're talking about a class you wrote and not an actual …

Member Avatar for stultuske
0
741
Member Avatar for awfootball7
Member Avatar for stultuske
0
329
Member Avatar for Lindsey1211

can you post your code here? it's a lot easier to do that, than for all of us to download that zip and go through it ourselves.

Member Avatar for stultuske
0
228
Member Avatar for adecker0033

csstu: next to the fact that you are just repeating what was already told, if it were to be implemented as you suggest, there would still be a compile time error and an added logical error. 1. compile time error: there still would be no return statement if there's a …

Member Avatar for stultuske
0
207
Member Avatar for toldav

use printlines inside your for loops. right now you are adding all the values you want to print to a "totalSum" (although you 've called them lessThan and greaterThan). for instance: replace the line lessThan ++ ; by System.out.println("" + num[j]); you don't need those lessThan and greaterThan variables, you …

Member Avatar for toldav
0
148
Member Avatar for cham1829
Member Avatar for stultuske
0
67
Member Avatar for sk8ergirl
Member Avatar for ruchi18
1
122
Member Avatar for Petranilla

you don't. a JLabel can not be used as an input field. I assume what you mean is: how do I show/display an image in a JLabel? [This](http://stackoverflow.com/questions/3775373/java-how-to-add-image-to-jlabel) might be able to shed some light on that.

Member Avatar for softswing
0
109
Member Avatar for xavier.diazsanchez

also: based on the code you show, there isn't really much of javadoc that would be generated anyway.

Member Avatar for stultuske
0
117
Member Avatar for djcrab

what exactly are you having trouble with? it's easier to check what might be wrong if we know what we should be looking for.

Member Avatar for djcrab
0
248
Member Avatar for StefanRafa0

also, don't do this: catch (Exception ex) { } how are you going to know whether or not there's an Exception thrown? > what ?? :S o_0 he meant: what is it exactly you expect as result, and what is the result you are currently getting?

Member Avatar for stultuske
0
205
Member Avatar for StefanRafa0
Member Avatar for gsfdg

also: don't let your main method throw Exceptions. sure your code 'll compile and run, but where do you plan to catch that Exception?

Member Avatar for stultuske
0
233
Member Avatar for mehmud

your first java-homework ... I'm soooooo proud!! they do grow up so fast, don't they?

Member Avatar for tux4life
0
937
Member Avatar for efth

let's say you have a class that extends JFrame and implements ActionListener, you may want to do this, if within the actionPerformed you need to have access to class members of the class in which the component to which you'll add the listener is located. let's now assume you have …

Member Avatar for efth
0
17K
Member Avatar for jalpesh_007

ehm ... what do you mean: "class OR datatype"? a String object is an object that is an instance of the class String, so the instance is of datatype String. not sure what it is you mean? the above two lines: String str= "hello"; and String s1 = new String("Hi"); …

Member Avatar for jalpesh_007
0
277
Member Avatar for needhelp88

do you know what that exception means? off course it's not a compile time error, since at compilation, the jvm doesn't know what values you'll pass at runtime.

Member Avatar for needhelp88
0
256
Member Avatar for Kewne

what code are you talking about? what java emulator? what phone emulator? what did you try? do you get an error message?

Member Avatar for Kewne
0
248
Member Avatar for aVar++

because you are comparing Strings using the == comparator, while you should use the equals method, like this: if ( HowIsUser.equals("GOOD") || HowIsUser.equals("good")) especially for the String class, there is an easier way to write this: if ( HowIsUser.equalsIgnoreCase("good")) which will return true for both "GOOD" and "good", just as …

Member Avatar for stultuske
0
190
Member Avatar for shishir365

well, one problem is: you post this twice within four minutes. missing return statement is most likely caused by this: if(c==2) return 1; there is no return set in case c != 2, and the compiler is looking for a return statement for each and every scenario.

Member Avatar for stultuske
0
168
Member Avatar for sofien.fkih

a color with a certain color? you may want to be a bit more specific. do you mean you want to change the color of a text in a JLabel, do you want to set the background color of a JFrame, ...

Member Avatar for Ene Uran
0
118
Member Avatar for noorjan

this might help you get started: [Read image blob from database Java](http://bit.ly/UX52Mb)

Member Avatar for radhakrishna.p
0
153
Member Avatar for daxx

that's pretty vague information you're giving us. can you be a bit more specific?

Member Avatar for daxx
0
138
Member Avatar for vishalonne

a suggestion: catch(Exception ex){} return label; } you're hiding your exceptions, print your stacktrace there. what IDE you're using is not really relevant, what is, is whether or not you got an error message and, if so, which one. why are you trying to read your blob into an Ineger? …

Member Avatar for stultuske
0
1K
Member Avatar for daryl_1201

ehm .. why would you post a link like that? far as I can see, it's hardly informative, you're just spreading a link to your own page. also, I would update, or correct, your explanations a bit. 1. an array is not a collection, don't call it that. 2. your …

Member Avatar for stultuske
0
228
Member Avatar for VEL Hassan

what's stopping you from downloading it? [Click Here](http://www.oracle.com/technetwork/java/javame/javamobile/download/overview/index.html)

Member Avatar for peter_budo
0
212
Member Avatar for bikashjit

why not? but keep in mind: there are no "complete a2z" courses, since what you need is knowledge about several things. start with basic Java (just look at the sticky thread on top of this forum) and later on go look for what you need for mobile applications. also: if …

Member Avatar for peter_budo
0
181
Member Avatar for bhadra.anurag

its correct, it just doesn't make any sense. it 'll cause the loop never to be executed, but if that's what the OP was going for ... (although I suspect he may have intended the second 0 to actually be his o variable)

Member Avatar for stultuske
0
703
Member Avatar for baneyramos_09

because usually, "closing" threads isn't necessary. the dates of the posts can tell whether or not the thread is still active. chances are, that if you read a thread that's not on the first (two?) pages, that the thread can be considered 'ancient', and thus, dead.

Member Avatar for stultuske
0
262
Member Avatar for mickky

if you mean an exe, my suggestion: don't. but this might help you out: http://www.advancedinstaller.com/user-guide/tutorial-ai-ext-vs.html

Member Avatar for mickky
0
86
Member Avatar for chaitanya_krish

actually, saying you are using NetBeans as IDE shows that you're notr really experienced. if you were, you would know that String myString = new String("yup"); just like any other code in java, does exactly the same when written in NetBeans, VI, notepad, eclipse, SpringSource, JCreator, ...

Member Avatar for stultuske
0
215
Member Avatar for 2344235643

those aren't questions, those are your assignments. what exactly are you having trouble with?

Member Avatar for stultuske
-4
187
Member Avatar for edensigauke
Member Avatar for stultuske
0
86

The End.