4,084 Posted Topics
Re: check the dates of when was posted. this is an ancient thread, that nobody was still following. | |
Re: if you know you are removing eight of the ten elements, and you know that it has to work on computers with limited memory, perhaps. | |
Re: well ... there's this new kind of invention that can help you out there. it's called e-mail. have you guys tried that? | |
Re: which basically means that "asd" is stored somewhere in your memory. if you then perform: str = "new asd"; this doesn't mean that the object "asd" doesn't exist anymore, but you don't have a reference to it anymore. now str will be a reference to "new asd" while "asd" remains … | |
Re: ok ... I have ... no idea what you are talking about. can you be a bit more clear about what you need and what you've done so far? | |
Re: what do you mean by: > and I want to have a button up and down to go the different words helping this button on the text areas. | |
Re: what do you mean: it changes? also, what is your code? | |
Re: yes, how do you decide on which one you need? iterate over that array and compare each instance with the one you're looking for. | |
Re: indeed it does, but do you consider that a valid reason to revive a dead thread, just to repeat that? | |
Re: there is no Sun certification anymore. it's all from Oracle now. anyway, it also depends on the mentality the recruiters in your country have. for instance: over here, a certification is practically worthless (it's a good way to fill two weeks in between projects, but otherwise, ... ) yet, in … | |
Re: a ridiculous cat lover? if you consider having about on the same level as having a girlfriend/wife ... I'm really scared to finding out how much you actually do love your cat :D | |
Re: yes, it compiles, but the first time plusMinus has the value "8" and your while loop is never executed, so your sum will always have the original value, which is 0. | |
Re: 24. } 25. public double balance; 26. public String name; on line 24, you close the class BankAccount. then, you write two variables that are not in a class, and then you start your Tester class, which does not contain balance or name. quite normal it can't find it. My … | |
Re: you're not looking for help, you're looking to cheat on an assignment. first try to write something yourself. | |
Re: you mean the Windows popup on right click? how do you think to do something like that as an eclipse plugin? | |
Re: depends on a lot of circumstances: they may be the highest paying firm out there, but if you don't have any credentials or experience, don't dream about getting the top-dogs paycheck. you want to earn the highest amount you can get? then don't look for what they can offer you, … | |
Re: help with what? upgrading your pc? you obviously don't want help in improving your code, since you don't show the code you have now. you do realize that this might be completely unrelated to your coding, do you? | |
Re: what have you got so far and what problem are you having with it? | |
Re: an int is a primitive, not an object. an int's default value is 0. of course, the array itself is an object, so you can check whether or not the array is null. since an int cannot be null, no, you can't, but, if for instance, your elements are limited … | |
Re: int ti,to,hh1,rh1,hh2,rh2; String th,th1; you add a value to these values by nextInt() (and such methods) but, the compiler will keep in mind that this might not always do what you intend it to do. nextInt will read the next input until the first space, parse it to an int, … | |
for the last few days on the Java forum (and I assume this is the same on the other fora as well), I've seen old threads (years old) to show up on the top of the 'last replied to' threads, with a postername and posterdate of less than a day … | |
Re: you have written all that code, yet you don't know how to read a list of words from a .txt file and use them as input? next to that, maybe it's just me, but it does look a lot like an assignment, of which you copied the original base code, … | |
Re: it's stored in a subversion repository, so use subversion. | |
Re: also, that is not only influenced by your code. you may have written perfect code, yet run it while you are also running tons of other applications which cause serious peaks in your cpu and ram usage, or if you decide to run it on an older system, ... | |
Re: imagine yourself as user. how would you want the menu's to be ordered, at which place? start from there: both functionality and user-friendly material, and go "idea shopping", as lps already sugggested: don't try to re-invent the wheel here. chances are, there are tons of sites like yours. check those … | |
Re: if you want a custom made platform, nobody's stopping you from creating/purchasing one yourself, but if it's for a simple 'discussion forum', I don't see any advantage that 'll give you over using vBulletin or similar. | |
Re: if you are using gwt for your application, you might need some tricks, because search engines tend to look at what you have in your html code, while gwt creates your entire application in javascript. you'll have a basic html page, yes, but sometimes that's not much more than: <html> … | |
Re: just look up "new in HTML 5", that'll land you an extensive list of possibilities that you couldn't dream of before, unless you were also using flash, ... | |
Re: where do you set the value for the countBHDB variable? are you sure you don't mean to do x < countBHDB? add a printstatement, printing the length of the array List, and the value of countBHDB, that might explain a bit what's going wrong. > x<=countBHDB; | |
Re: if (currentChar == 'b') { System.out.print("b"); } else if (currentChar == 'w') { System.out.print("w"); } else if (currentChar == '.') { System.out.print("."); } else if (currentChar == ' ') { System.out.print("\n"); } what 's the use of that? have you tried: if ( currentChar == ' ') System.out.print("\n"); else System.out.print(currentChar); … | |
Re: Just a remark here: @DeanMSands3 : yes, everybody Ãs allowed to talk about everything he/she wants, just like everybody is allowed to ask questions. @Hani1991: a bit like CriticalError: I'm wondering why you post this here. I must admit, your sudden defence of your religion in this forum, kind of … | |
Re: you may want to be a bit more specific here .. | |
Re: > it is hard to learn a programming language like Java in just 21 days or even a month that 31 days. Like Stuugie said, there is a lot more than just getting the basics down. rather correct: it is impossible to learn a programming language like Java in just … | |
Re: help with what? understanding the assignment? it looks pretty straight forward to me. | |
One thing I don't really like about the new platform, is that whenever you have visited a thread, it remains shown as 'visited', there is no clear (visible) indication anymore when a new reply was posted, that you didn't read yet. Isn't it possible to have that feature back? | |
| |
Re: I think the problem is that you've used fixed values as measurements: for instance, if you are working on resolution (and I know these are bogus values, it's just to make the example easier) 1000 width - 750 high if you want to have a centered column, you can add … | |
Re: I hope you are kidding. the "drag-n-drop" work is all done, but the actual work, you want to do in under three hours? tell your church you've got a serious delay. the upside is, considering who they are, they'll have no choice but to be understanding. looks like you'll have … | |
Re: add some print statements in your application. maybe that'll help you figure out where you're going wrong. | |
Re: when you're talking gaming (and especially when planning on taking on recent titles), you might want to save up a bit more. laptops by themselves aren't the best platform to game on (even though there do exist some gaming laptops), you want to go for the cheapest alternative? go for … | |
Re: hey, if the big boys are allowed to steal ... (of course, you need to use Windows OS to get the joke) | |
Re: @lennondevid: what kind of sollution is that? question: "How can I write a letter?" your answer: "Don't. There are many letters written already, use one of those." @Danny.Vin: I need the codings. a remark like that will not make you very popular. Even if you want to create just a … | |
Re: in that case, make sure you have your environmental settings and your classpath in your os set correctly. | |
Re: have you tried ../images/bg-body.gif? if that doesn't solve the problem, you may as well specify what exactly the problem is. | |
Re: public boolean isSuspended() { if (numTickets <= 2) { return true;} return false;} you need to have two return statements, because true will not always be returned, while the method that calls that method actually expects a vale to be returned. what if numTickets is 3? your method wouldn't return … | |
Re: if it is a static webpage, what do you need an admin panel for? all you need is to add html code, images, ... and upload it to the webspace. | |
Re: or, for the String class, you also have the equalsIgnoreCase method, which will return true for both: String a = "aBc"; a.equalsIgnoreCase("aBc"); a.equalsIgnoreCase("abc"); when you want to compare values of Objects, as JamesCherrill pointed out, you'll need the equals method. Only if you want to compare values of primitive types, … | |
Re: first of all, you could have figured out that this thread is 8 years old, and has been revived way to many times already. secondly, you could 've read the answers already given. also, you might want to provide some more information. are we talking a complete separate system? do … | |
Re: depends on what you need. just look the differences between the possibilities (Set, Map, List, ...) check how you save your data, and to which type that resembles, and check whether the (dis-)advantages of that type are what you want and what you can tolerate. |
The End.