No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
what the hell is a blurb?
- Interests
- programming
- PC Specs
- clone
14 Posted Topics
Re: hi herman, i like the code snippet you provided, to unravel the date/time mysteries of java. you saved me a lot of studying java docs one little remark - forgive me - is the word substract, that you use... this should be subtract. but, again, thanks a lot wiederseh´n, peter … | |
Re: hi Queen, this is really a very intriguing example... what were you thinking at the time= by the way...when in this comment/area, my keyboard is acting strange, showing equal/signs instead of question-marks, and slashes instead of minus/signs...and so on. in my browser or java shell all is still ok. any … | |
Re: hello world, it seems that i´m lost in the wrong forum, but i could recommend everyone to go to JAVA immediately. I´m in the programming business since 1969 and learned the trade with ALGOL/60, the mother of all algorithmic languages. I´m using JAVA since 2003 and find it a relief … | |
Re: kjell is right! mark the removal of 'this' in the drawString method. amazing that your compiler allowed that... maybe it's an idea to download jGrasp ([url]www.jgrasp.com)[/url], an easy-to-use developing environment for java, with somewhat less overhead than netbeans. It offers the possibility to run an applet without having to embed … | |
Re: [QUOTE=masijade;519570]An "application" does not have an "instance id". It has a "process id" though. If that is what you mean then you will have to use Runtime.exec() to set of a "ps" command (or the OS specific equivalent as ps is a Unix/Linx command). IOW, this is not the sort … | |
Re: hey iamtwee, give the man a break and spell out 'hello world'...that's a (the) start, isn't it?! and derby....if iamtwee doesn't, i will hello (in the java) world! peter | |
Re: sorry for the anglosaxon community, but this is (best in) dutch... niet zo flauw, wenting! alle begin is moeilijk... peter p.s. is er geen boekje zoals 'java in 10 minuten' in het engels, daar is het (java) voor mij mee begonnen, één van de voorbeeldjes is inmiddels uitgegroeid tot een … | |
Re: [QUOTE=peter_budo;277302]ever heard of Pythagoras' Theorem " [B]a[/B] on power of two plus [B]b[/B] on power of two equals to [B]c[/B] on power of two"? just example [CODE] (x1 - x2 ) = x // your [COLOR="Red"]a[/COLOR] (y1 - y2) = y // your [COLOR="Red"]b[/COLOR] if ( x < 0) then … | |
Re: wellknown problem for us all please leave dos and install jGrasp on your machine than you have someone you can talk to it's a java-shell and I use it all the time and get supported all the way from texas when I have a problem. the address : [URL="http://www.jgrasp.com"]www.jgrasp.com[/URL] good … | |
Re: [QUOTE=iwlu;277224][COLOR=#333399]A bit of problem here, if anyone can help, I would appreciate any and all help with this. Thank you in advance.[/COLOR] [COLOR=#333399]Now I have no errors but when I execute the program I get this:[/COLOR] [COLOR=#333399] [/COLOR] [B]Big Bank: Monthly Checking Account Activity ----------- Account ----------- Beginning With- Ending … | |
Re: sorry, i put my reply in the wrong place...(never too old to learn) [quote=krauz2;274805][COLOR=#000000]I am having trouble getting this program to work. This is my first applet and I can’t seem to get my mind around how to get the commands in correct format. I have completed this program in … | |
Re: I've got an idea : for (int i = 1; i <= nrOfDays; i++) { if (i < startDay) System.out.print(" "); // 3 spaces else System.out.print(""+(i < 10 ? " " : "") + i); if (i % 7 == 0) System.out.println(); } I didn't try it, but it should … | |
Re: you shouldn't add buttons inside actionPerformed simply make the button (one is enough) beforehand (where you make your labels and the rest, and put in actionPerformed : if (answer == ok) correct.setText("right"); else correct.setText("wrong"); or : correct.setText((answer == rightanswer ? "right" : "wrong")); | |
Re: have you tried replacing ....getText() == am etc. by getText().equals(am)... or : ...getText().indexOf(am) >= 0 // when String am doesn't appear in ...getText(), indexOf(..) returns -1 see you peter |
The End.