1,034 Posted Topics
Re: [QUOTE=iamthwee]>were your intentions to just insult this guy and then blow him off? *cough* *cough*, I suspect that is something she only likes doing with the hubby? ;) [edit] [I]like[/I], maybe the wrong choice of word here[/edit][/QUOTE] That was a pretty dumb comment. | |
Re: I saw that on ebaums. It's funny, but I would have said the same thing. Who would have known he was talking about a rake??? | |
Re: I think the guy on the 2$ bill is the same as the guy on the 20$ bill(Thomas Jefferson).. I bought my router and network card at best buy because they had a huge sign that said 20$ off ALL routers. Actually, it was only offered on a small variety … | |
Re: I had the same thing happen to me. I swear I opened the home page but it took me to profile.php and said file not found. Not sure why it took me to that page. | |
Re: If you already know the syntax then do something mathematical that requires some thought and time to make. For instance: Maybe something simple to compute derivatives or an equation parser. A hex/binary spitter-outer is too simple in my opinion. (unless you are going to write the methods yourself, as I'm … | |
Re: What's the problem? I assume it's with the output? You need to check the ascii ranges for viewable characters. There's no need to encrypt new line characters and those out of the viewable range. | |
Re: At the rate you're going you'll have more enemies than friends. | |
Re: [QUOTE=Lerner]One way would be to: accept input as a string. convert string into an int convert int into a char (or cast int into a char if all you want to do is display it)[/QUOTE] Yep it's pretty simple: [code] int main(int argc, char *argv[]) { int x = 1000001; … ![]() | |
Re: There's no relation. You can make about any object simulate a simple physics vector, but a C++ vector is just a container. If the name was different would you still think there's a relationship? | |
Re: No idea. I've never used the revalidate() for the whole content, but rather only for certain components. The only time I found it useful was when using a JTable and I needed to update the content inside of it. This also changed the size of the table. | |
Re: Looks like you might have one to many curly braces. | |
Re: [QUOTE=lev_arris]Hi guys, I'm currently making a GUI which displays a graph. At the moment it reads coordinates within an array in the code: public int datax[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; public int datay[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, … ![]() | |
Re: [QUOTE=grunge man]um i just starded macking a simple program and i want the user to input a number when it says enter a number then i want it to say that number *3 is, enter then the answer will appear here is what i have and i dont know whats … | |
Re: I don't need to have the product to tell it's a bunch of crap. Here's how you can get rich (like the maker of this product): Think of some dumb get rich scheme that really doesn't work and write a book about it or something. I gurantee customers and lots … | |
Re: [QUOTE=MrScruff] no I don't give extra points for sexual favours. [/QUOTE] I had a really dirty comment for that, but it was a bit over the line so I'll leave it out to avoid a ban :cheesy: [QUOTE] p.s Go Server_Crash!! [/QUOTE] I got numero 4. It's tupac. | |
Re: That's easy. Stacks are FILO so if you pop a parenthesis off, then at the oppposite position (the last) would have to be a parenthesis. Show a little effort and I can help more. ![]() | |
Re: Why are you worrying about finding the length when it's still an integer? Convert it to a string. You'll have to do so sooner or later until you decide to do it some hard way: [code] StringBuffer sb = new StringBuffer(string); newstring = sb.reverse(); if (string.equals(newstring) ) { //palindrome } … ![]() | |
Re: Funny. I've got a gmail account and recieve hundreds of these things. I can easily decipher the phishers because I don't use my gmail account, and they talk like this: Hello pleas Enter. your'e password and whatyour usernames........ I send you eleventy hundred dollers i promise! | |
![]() | Re: It's supported by >= 1.5. Anything written in 1.5 (no matter how the syntax is written) will not work on <= 1.4 machines. I've tried adding source flags and doing a bunch of other stuff and it never made it an actual 1.4 program. The JVM implementation details will always … |
Re: Do you know the math behind it? If you know the math then it won't be very hard. ![]() | |
Re: Create an executable jar file. There's no need for that other garbage. | |
| |
Re: Have you even done any research? You can find billions of tutorials on creating applets. | |
Re: Get the first number user clicks +... register that Get the second number Display addition. ![]() | |
Re: If it's free then send it to me. I'll give my address if you PM. If it's really free i shouldn't be obligated to sign up for other garbage. | |
Re: Drawing on the same surface as all the other crap will cause glitching and all kinds of crap. I suggest you extend JPanel in an external class and make your own definition for the drawing surface and then add it to the real jframe. That will make things much easier … | |
Re: I read where the microsoft encoding name really isn't a valid encoding name! I haven't read anything about what to change it to or anything, though. You could also look into adding support for it via the charsetprovider. My guess is that charset is not supported, so try this: [code] … | |
Re: You know that getMonth() returns a number. What do your URL's look like?? | |
Re: I assume you need help in getting those coordinates??? If so, then it should be fairly simple. If the object is moving across the screen, then obviously you are doing something to change it's coordinates. Just get the values that are changing. If you provide more information I can help … | |
Re: I didn't know you could have two decimal points in money.... Oh well. Send me the dough and I'll answer your question. | |
Re: I emailed you. If I wasn't first then you can still give it to me. | |
![]() | Re: I would just use StringTokenizer. You could easily find a good tutorial on that and it's better than using indexOf and simple math to try and parse everything. |
Re: Here's the code: [code] Oh wait, I don't take orders from you. [/code] See, if you would have at least showed a little effort and proved you at least know something about what you're doing, then I would help. But I don't take orders from you. ![]() | |
Re: I can see how you might have one class and one 'driver' program, but I don't understand why you would want more than one class. You could create, of course, a roman numeral class: [code] class Roman_Numeral { public: Roman_Numeral(const char*); ~Roman_Numeral(); int get_conversion(); char get_numeral(); private: char numeral; }; … | |
Re: I think you're doing a fine job. What I don't like about this site is the community in general. What I mean by that, is the people here are not that friendly. Yes, there are a few, but for the most part they are not friendly. It just seems you … | |
Re: I make about 1 useful post every few weeks I guess. | |
Re: You need to learn about file operations. Here is a basic structure of what you need: File f = new File("file.txt"); BufferedReader br = new BufferedReader(new FileReader(f)); String line = ""; while ( (line = br.readLine()) != null) { } | |
Re: Same here. I like books much better to start with and then I google everything else. I sometimes print off the harder stuff and read it. | |
Re: I don't feel like reading through the code so something like this should work: [code] int x = 100; int numStarts = x/10; for (int i=0; i<numStars; ++i) { System.out.print("*"); } [/code] | |
Re: I know you'll hate me for this, but I really didn't like catweener. | |
Re: Nice sites. I like the information on them. I found it interesting someone is making 50 grand a month in revenue from their site.... impressive. | |
Re: [QUOTE=cscgal]Update: Would LOVE if someone using Opera could take a screenshot and post it here.[/QUOTE] Just testing the qoute. I don't know if I've made mistakes the last few times, but the quote box looked weird. | |
Re: [QUOTE=paul221] i get Exception in thread "main" java.lang.NoClassDefFoundError: myprogram Thanks again.[/QUOTE] Did you save the file as myprogram.java ? Could be your classpath is not correctly set. | |
Re: If I understand correctly, all you need to do is call repaint(); | |
Re: I did it for you good buddy: [quote] 1. T or F. Static methods must be declared before dynamic methods in a class. A -- That's a big 10-4 2. T or F. Static methods can access static variables of a class, but instance methods cannot. A -- False 3. … |
The End.