419 Posted Topics
Re: it does seem too "out there". if i were to guess you have a nullpointer in one of your events. | |
Re: you could probably use "Selenium" to do this for you. it is used more for testing purposes, but it'll do what you want. | |
Re: since you are not using code tags, it's hard to see, but i will just guess and say you haven't closed your brackets properly. | |
Re: you have the while loop, which us going to act as your loop. the problem however is that you never query the user for x again. if you read the code, you are going to ask the user for y/n, but never for new numbers. x is going to be … | |
Re: sounds like a network issue to me. how is your network configured? if this is on a large network (e.g. work, school) the download could be blocked. | |
Re: read the api on String.split(). it doesn't do what you think it is doing. ![]() | |
Re: unfortunately i don't the specific utility you are talking about, but until somebody can answer you, you can just google "man ...." as most man pages you will want are hosted somewhere. there will be some differences, but generally this works well for me. | |
Re: the most common way to pass values between objects is to simply create getter methods. we can be of more help if you give more specific issues, otherwise it just sounds like you want us to do you assignment for you. | |
Re: i believe bestjew is correct, but more importantly, what is "<\description>"? my guess is it is comming from XML, but that is not correct, do you want "</description>" instead? | |
Re: what kind of application are you talking about? generally you would need to create a new instance with the updated jar, as you have mentioned. | |
Re: Do you have a link by any chance? If the div is "hidden" I assume you mean no content, how it is taking up space? Maybe I don't understand the problem entirely... | |
Re: you cannot expect to post your assignment and get a solution. please use code tags, and identify the relevant code to post. | |
Re: out of curiosity, what is generally your "fix" to this issue? (it may provide some clues) | |
Re: you cannot just define variables, you need to initialise them too. | |
Re: in the constructor of away, save the instance of other. in the same way as away, you can have this.other, and access its methods like that. | |
Re: if you are reading a book, doesn't it contain questions? I think a text book is probably the best place to get problems to practice on, as it will probably provide sample implementations and explain good/bad practices within the implementation. | |
Re: firstNumber and secondNumber are Strings (I am pretty sure you know this). since they are strings, == will only evaluate true if they are the same object. you want to use .equals to compare Strings in the way you intend. | |
Re: i don't think it matters greatly how you set out your XML as long as you can parse it correctly. in saying that, i would probably avoid appending the numbers on "row" / "column" and instead just use the natural ordering to produce your level layout. if you do this, … | |
Re: what sort of errors do you get, or nothing happens at all? i have a feeling that your ButtonListener is not using the objects created in Away (the ones you want it to, anyway). | |
Re: you are looking in the wrong place, it is falling over in the array_sum method. can you paste it? | |
Re: you are returning, so when will it ever get to MakeBooking? | |
Re: how else were you thinking of doing this? of course you can do what you have explained. imagine if buttons didn't have "custom" events... | |
Re: // call calculateInventory method public static double calculateInventory(product[]) this is not how you "call" a method, this is a method definition. | |
Re: use code tags, and can you actually copy the section of the stack trace. if it is repeated, 1 instance is enough. | |
Re: you are passing by value, therefore any changes made to "output" are only made within the method. | |
Re: while I don't know specifically about this issue, you may be able to get rid of it by updating all of your software (if it is actually a bug it should get fixed eventually). | |
| |
Re: you could try to return null, but that code is incorrect. | |
Re: you want to make your css adaptable to the different screen resolutions. so, start working with percentages so the browsers can align your elements, avoid using pixels. there are endless css issues you may run into, so if you need further help, list specific issues you get. | |
Re: your variable i is undefined at those lines the compiler is pointing out. perhaps your "for" loop is supposed to encompass more than 1 statement. | |
Re: It just keeps getting the last "lowest" number. What does that mean? From what I see there are no issues... | |
Re: how far is it getting before it bonks? | |
| |
Re: this is "JavaScript" and no, try it yourself first. | |
Re: Formatting the player and it removing essential files seems a little silly, but a possibility. It may also be an encoding issue, maybe you need to encode the audio as something other than mp3. | |
Re: a "back end" generally refers to a database. For anything dynamic, (a on-line store is dynamic), you will most certainly need a database. | |
Re: have you defined the "XMLHttp.prototype.get" method? | |
Re: all -d should do, is put the compiled classed in your specified directory. i am not exactly sure what you are having issues with, if you can be more specific, perhaps we can be of more help. a classnotfound will be the result of the specific class missing from your … | |
Re: This problem is most likely related more with your HTML & CSS than the actual JSP code. | |
Re: for ( grades = 1; grades >= 1; grades++) so you initialise grades to 1. (why? considering you ask the user for grades... you are overwriting what you want to know) you want to loop if grades is greater or equal to 1. each loop you want to increment grades … | |
Re: applets are generally run embedded in a web page, so for security reasons, it won't give you access to the client's filesystem. there may be a workaround, but this type of thing wouldn't be a good idea. | |
Re: posting your assignment doesn't really make me want to help you. | |
Re: nice work, althought I wouldn't think that would cause a infinite, more likely an ArrayIndexOutOfBounds... anyway, it's solved. | |
Re: what does "but in windows it works normal" mean? i am going to assume you have 2 computers and "windows" refers to one of them. make sure you have the boot sequence set up so that the cd-rom is ahead of the hdd in the sequence, otherwise you will get … | |
![]() | Re: How is the wireless network configured? Is it going through a router or through a computer? If the DNS is not correct, perhaps you are going through a computer and you need to put that computer's IP address as the DNS... |
Re: I think there are a few options, DecimalFormat, BigDecimal, or just implement a simple algorithm to limit it for you. [url]http://forums.sun.com/thread.jspa?threadID=475442[/url] | |
Re: you realise this will be visible in the source? why not make use of some kinda backend, even if it is just a simply php script. |
The End.