4,084 Posted Topics

Member Avatar for dragonshadow001
Member Avatar for richieking
0
252
Member Avatar for Delnith

the sticky thread on top of this forum is also a good place to look. Starstreak: the official tutorials are pretty good. a good point of it is, for every change made to the language, or every error in them found, it can easily and quickly be corrected. just try …

Member Avatar for stultuske
0
276
Member Avatar for shaun smith

do you have Lorg/jfree/chart/plot/PlotOrientation; somewhere in your code? lose the capital L in front of that path. jfreechart-1.0.9.jar does contain that class.

Member Avatar for stultuske
0
178
Member Avatar for xixi.li.7
Re: Java

well, you don't have a variable count (as the error message states) and you are using the original LinkedList type, not the type you created, and that type doesn't have a 'splitMid' method. the error messages pretty much tell you what the problem is, what exactly is your question?

Member Avatar for xixi.li.7
0
164
Member Avatar for rajilakshmi

and thinking like that, you never will find it: what you are trying to do is not "loading different frames in a form" a frame is the actual screen. a form would be part of it, placed in another component. what you try to do is change between panels in …

Member Avatar for stultuske
0
130
Member Avatar for NoCodeMonkey

what knowledge/experience do you have? that's what you should put on your resume. don't go making things up.

Member Avatar for ChrisHunter
0
235
Member Avatar for RozenKristal

there is no previous method on Iterator. http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html

Member Avatar for stultuske
0
271
Member Avatar for babi.meloo
Member Avatar for Hemanth.Satkuri
Member Avatar for Hemanth.Satkuri
0
103
Member Avatar for rahul.ch

you're not really 'instantiating' the interface, you are creating an anonymous class which implements the interface, and that's what you are instantiating.

Member Avatar for rahul.ch
0
199
Member Avatar for lena1990

well, if I understood the question correctly, the recipient is supposed to be either yahoo or gmail, so whether or not it is free or paid for is not really important.

Member Avatar for Ezzaral
0
244
Member Avatar for babi.meloo
Member Avatar for techxaidz

we know nothing from the names of your components, input fields, ... how do you expect us to be of much help.

Member Avatar for JamesCherrill
0
118
Member Avatar for linezero

best way to use StringTokenizer: not at all. here 's a quote straight from the StringTokenizer api: > StringTokenizer is a legacy class that is retained for compatibility reasons although its use is discouraged in new code. It is recommended that anyone seeking this functionality use the split method of …

Member Avatar for JamesCherrill
0
306
Member Avatar for Cappagh

if this is a javascript question, [this](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117) might be a better place to ask it. well, what number do you want to increase? the max (5) or the number that is subtracted each time? both values are hardcoded, it's not that difficult to just re-set the value. as a comment: …

Member Avatar for JorgeM
0
197
Member Avatar for philo.meena.1

philo: your above statement makes no sense. if you want to use a DB, learn to work with JDBC, Hibernate, Mybatis, ... if you want to create a DB in java: don't.

Member Avatar for JamesCherrill
0
138
Member Avatar for strizh

maybe to late, but you are not really "overriding" the method correctly anyway, the method should accept an instance of the type Object as a parameter, first check whether or not it is an instance of the class you're working in, and only if that returns true, check whether or …

Member Avatar for stultuske
0
182
Member Avatar for alanso
Member Avatar for stultuske
0
234
Member Avatar for np complete
Member Avatar for mukororokudo

first, check the previous posts. by not even trying to do anything yourself, even after being told that the community rules dictate you have to, your input is not very productive. yes, we know that that is what you need, but this is not coderzzforhire or anything like that. we're …

Member Avatar for Taywin
0
209
Member Avatar for esparkinfo

JavaScript is not Java, I think you would get more suiting replies in [this forum](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117).

Member Avatar for Taywin
0
227
Member Avatar for challarao

[Java constructors](http://docs.oracle.com/javase/tutorial/java/javaOO/constructors.html)

Member Avatar for JamesCherrill
0
302
Member Avatar for kittukrrish
Member Avatar for utchia

check the String api. My guess, the simplest way to do what you're trying to do is the contains method. for instance: titles in your list: "Avengers" "avengers" "The avengers" "The Avengers" ... here's your original code: comix[0] = new Comic("book title", "Author", "isbn", 454.24F); for (int i = 0; …

Member Avatar for Taywin
0
235
Member Avatar for gorgoro

you should understand that it is pretty hard for us to know what your (future?) employer deems a worthy application. if you were hired to do back-end development, or as a front-end developer, that changes a lot. are their applications single screen applications, multiple screens, 3D, .... ?

Member Avatar for gorgoro
0
269
Member Avatar for KarimFawaz

don't know if it's actually solved, (marked as such but without an actual answer ... ) package names start with lowercases java.util.Scanner; not Java.util.Scanner;

Member Avatar for stultuske
0
467
Member Avatar for syedamuhibzahra

the addiction itself ... I agree that isn't really an illnes nor a character flaw ... however, the fact that you capparently couldn't live your life without "at least having to try", that IMHO is a character flaw. the downsides of smoking/drug use/... are well documented and known to everyone. …

Member Avatar for stultuske
0
263
Member Avatar for Blax

online we can email him at .... personally, haven't met anyone yet who could email offline. @NiallLover: if you still "don't get this", read the earlier answers, they actually do explain it all.

Member Avatar for stultuske
0
287
Member Avatar for oneoderja
Member Avatar for sharlynjm

not to mention trying to read [URL="http://www.daniweb.com/forums/announcement9-2.html"]THIS[/URL] before you ask us to write your code

Member Avatar for stultuske
0
123
Member Avatar for oneoderja

1. remove the first constructor 2. complete the second constructor to set all the values (since you can all deduct them from the two you pass on) 3. add a toString method 4. in your main method: a. instantiate a RetailItem b. call the constructor of CashRegister with the RetailItem …

Member Avatar for stultuske
0
3K
Member Avatar for Beastegargoyle

generate 52 cards? no, it will just assign one value, in the range of 0-51. (assuming that your NUMBER_OF_CARDS variable has the value 52)

Member Avatar for NormR1
0
321
Member Avatar for KronoAngel

a few issues: you are constantly adding to your order value, instead of overwriting it. next problem, you are setting the prices for only one single ingredient. lose the else's in those statements. two more problems: you are setting your checkboxes with .setSelected(false); those statements also trigger your listener. so, …

Member Avatar for stultuske
0
321
Member Avatar for techxaidz

JCheckBox[] row = new JCheckBox[5]; the rest: iterate over the row, check each element whether it is checked or not.

Member Avatar for stultuske
0
334
Member Avatar for Ashenvale

your code makes no sense at all. I'll try to get you up to speed: this part PatientAddress pInfo = new PatientAddress(); lName = txtSearchName.getText(); pInfo.searchInfo(lName); will first instantiate a new PatientAddress, which has it's own array of Strings of 50 elements (you aren't adding your address to it, and …

Member Avatar for NormR1
0
99
Member Avatar for phil.sutton

try initializing your salary variable in the constructor of Employee. since you didn't do that, that variable remains null, and will throw a NullPointerException once you try to perform an action on it.

Member Avatar for NormR1
0
324
Member Avatar for MaddTechwf
Member Avatar for joshuamichael0808

ehm .. no, we don't need to look at a picture of the JFrame, we though, however, need to know what exactly it is you need help with. is it the JSlider issue? the JCombobox issue? what have you tried, and what doesn't work? I assume you have figured out …

Member Avatar for JamesCherrill
0
186
Member Avatar for rahul.ch

In your other Thread it seems to me that you don't understand the complete concept of inheritance yet. It would be a good thing to first get to control that. well, a "1" can be cast to a numerical typ. your original HashSet contains elements of the type Object, not …

Member Avatar for rahul.ch
0
302
Member Avatar for rahul.ch
Member Avatar for rahul.ch
0
198
Member Avatar for Ashenvale

should work perfectly. but I would advice to use JFrame's instead of Frame's.

Member Avatar for Ashenvale
0
79
Member Avatar for hokiii

you will need an array anyway. how else are you going to check (in at least somewhat an efficient way) whether or not the number you just generated is a duplicate of one you've already found or not? it's either an array or almost twenty extra variables: very inefficiĆ«nt and …

Member Avatar for stultuske
0
1K
Member Avatar for Boby Smith

Java and JavaScript are not the same, I think you are mistaken with [this forum](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117).

Member Avatar for stultuske
0
61
Member Avatar for sapure

unless the value is fixed, I wouldn't add it to the arguments of netbeans. also: you can see that Input.text and fin.txt are not the same. new File("fin.txt"); goes looking for a fin.txt file in the projects folder, not in the workspace. an ArrayIndexOutOfBoundsException... well, if you don't know what …

Member Avatar for stultuske
0
207
Member Avatar for saifali.malik.33

hmmm ... not sure if I missunderstand the question here ... if we're talking about showing existing components, then it might very well be the point that he wants to change the css theme (visible setting) on the onClick.

Member Avatar for stultuske
0
145
Member Avatar for dantheman4

what I do wonder about, is how you come up with the value '-1' as an answer for question 2. even if you don't know how arrays work (in Java), it should be pretty clear that the only possible values that can be returned, are the values that are stored …

Member Avatar for JamesCherrill
-1
159
Member Avatar for sapure

invoking means calling. first you read ten numbers from the keybord (either command line parameters, or using input, Scanner, or another reading method), and then you enter one number from one to ten. if input = 1 runMethod1 else if input = 2 runMethod2 ...

Member Avatar for sapure
0
316
Member Avatar for nitin1
Member Avatar for stultuske
0
132
Member Avatar for Hemanth.Satkuri

ehm... correct the code? would you first mind telling us what your problem is? you are saying what it does. so, what is it supposed to do?

Member Avatar for Hemanth.Satkuri
0
130
Member Avatar for rammiesteyn

in your integraal method, let's say that the og you pass is 5, and bg is 3. your return statement will never be reached. that's the problem. also, what's the use of putting a return statement inside a loop? you won't return several values, if that's what you're trying to …

Member Avatar for rammiesteyn
0
265

The End.