1,034 Posted Topics

Member Avatar for Snakehar

[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.

Member Avatar for Dani
0
220
Member Avatar for The Dude

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???

Member Avatar for The Dude
0
81
Member Avatar for Shackbase

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 …

Member Avatar for The Dude
0
1K
Member Avatar for dcc

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.

Member Avatar for Dani
0
254
Member Avatar for Spasticmoose

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 …

Member Avatar for Spasticmoose
0
173
Member Avatar for tomkeys2006

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.

Member Avatar for server_crash
0
114
Member Avatar for mechdriver
Member Avatar for BeastOverlordH6
-1
176
Member Avatar for grunge man

[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; …

Member Avatar for iamthwee
0
365
Member Avatar for soso30
Member Avatar for grunge man
Member Avatar for grunge man

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?

Member Avatar for server_crash
0
195
Member Avatar for jigvesh

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.

Member Avatar for server_crash
0
289
Member Avatar for dgrblr
Member Avatar for lev_arris

[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, …

Member Avatar for iamthwee
0
146
Member Avatar for grunge man

[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 …

Member Avatar for Lerner
0
290
Member Avatar for jack667

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 …

Member Avatar for BeastOverlordH6
0
228
Member Avatar for MrScruff

[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.

Member Avatar for MrScruff
0
114
Member Avatar for moon_light

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.

Member Avatar for iamthwee
0
113
Member Avatar for webmasts

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 } …

Member Avatar for iamthwee
0
325
Member Avatar for dcc

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!

Member Avatar for nizzy1115
0
225
Member Avatar for iamthwee

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 …

Member Avatar for jwenting
0
107
Member Avatar for hbmarar

Do you know the math behind it? If you know the math then it won't be very hard.

Member Avatar for iamthwee
0
113
Member Avatar for bharatkaza
Member Avatar for Kiba Ookami

Create an executable jar file. There's no need for that other garbage.

Member Avatar for server_crash
0
90
Member Avatar for vieome

How is it configured wrong? Why am I here? ----> Why do you care?

Member Avatar for DMR
0
503
Member Avatar for traianosg

Have you even done any research? You can find billions of tutorials on creating applets.

Member Avatar for server_crash
0
43
Member Avatar for Sheki RDH

Get the first number user clicks +... register that Get the second number Display addition.

Member Avatar for iamthwee
0
160
Member Avatar for Bikin4life90

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.

Member Avatar for DMR
0
219
Member Avatar for ladyd33099

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 …

Member Avatar for server_crash
0
120
Member Avatar for Phaelax

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] …

Member Avatar for Phaelax
0
366
Member Avatar for tazaramya
Member Avatar for Nilesh Pagar
0
136
Member Avatar for Hal

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 …

Member Avatar for AstroNox
0
205
Member Avatar for cczak

I didn't know you could have two decimal points in money.... Oh well. Send me the dough and I'll answer your question.

Member Avatar for Phaelax
0
83
Member Avatar for uniquestar
Member Avatar for server_crash
0
182
Member Avatar for iamthwee

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.

Member Avatar for hooknc
0
121
Member Avatar for epsilonreturns
Member Avatar for psodhi

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.

Member Avatar for iamthwee
0
105
Member Avatar for v_solid_snake

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; }; …

Member Avatar for Bench
0
447
Member Avatar for Dani

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 …

Member Avatar for Dani
0
806
Member Avatar for >shadow<
Member Avatar for nabil1983

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) { }

Member Avatar for server_crash
0
108
Member Avatar for Fredjava

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.

Member Avatar for server_crash
0
153
Member Avatar for RATED3X
Re: Help

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]

Member Avatar for RATED3X
0
123
Member Avatar for Dani

I know you'll hate me for this, but I really didn't like catweener.

Member Avatar for server_crash
0
64
Member Avatar for Reb68

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.

Member Avatar for server_crash
0
86
Member Avatar for Dani

[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.

Member Avatar for server_crash
0
179
Member Avatar for paul221

[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.

Member Avatar for InNeedOfHelp
0
157
Member Avatar for Dani
Member Avatar for dcc
0
150
Member Avatar for jigvesh
Member Avatar for server_crash
0
90
Member Avatar for NoviceOne

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. …

Member Avatar for server_crash
0
100

The End.