Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~15.2K People Reached
About Me

this is me in a nutshell, "help! i'm in a nutshell!!"

Interests
listening to music, arguing about the fia's decision to penalise hamilton, programming, driving, eating…
PC Specs
my mainframe is black and has 2gigs of space and 160gigs of memory. my screen is black too and is several…

28 Posted Topics

Member Avatar for stupidenator

ok, what i've done on my little chat thingy is quite "basic". i have my server running and then a client would log in and the server would take the username and see if anyone is connected with that name yet(stores them in a vector - too busy at work …

Member Avatar for stultuske
1
2K
Member Avatar for redflame777

ok, what you need to do, is to split them up. keep the main method in Payrollprogram and then everything to do with the details of a client, you keep in a different class. to then access the clients, you'll do exactly the same thing as you were doing. i'm …

Member Avatar for javaAddict
0
325
Member Avatar for guessvic

what kind of error checking? like when the user tries to put a king on a 7? you can use a method to check that and if the user is being a moron, then you can display a joptionpane or you can throw one of your own exceptions which will …

Member Avatar for geerthan08
0
330
Member Avatar for Easter Bunny

ok, now i'm no n00b, so i checked the ram and harddrive space. there is more than enough memory (1gb total and only about 300mb used) and harddrive (can't remember exactly, but it was more than 10gb unused) space left. i have scoured the internet for ideas and now i'm …

0
76
Member Avatar for Easter Bunny

ok, i have to get two mysql tables to work as one. one is called sale_mast_data and the other is called sale_mast_data_h. they both have the same columns. the only difference is that the one with the "_h" has the history of previous shift sales. the two tables both contain …

Member Avatar for Easter Bunny
0
109
Member Avatar for ingeborgdot@yah

does your error message look something like the picture of the error i get? that's what i've been getting on two different computers. i'm upgrading from xp home sp2 to xp pro. i've tried 2 different xp pro sp3 disks, an xp pro sp2 disk and an xp pro sp3 …

Member Avatar for werty
0
189
Member Avatar for patricksquare

i'm trying to run your code in my head (i'm not at my pc), but i'm in weekend mode, so it's not working. :) if you check the apis for String, you see there's a method that will convert a normal string to an array. also, you can use StringTokenizer …

Member Avatar for peter_budo
0
2K
Member Avatar for Easter Bunny

i have a small app that reads a forecourt program's database. i want to get the current shift's info from that and display/print it out. SELECT name, liters, amount FROM salemast ORDER BY name the above statement was my first idea, but that didn't add them. just got a long …

Member Avatar for Easter Bunny
0
102
Member Avatar for zwench

i think i'm following: when you click the button, you read a line from the file and stick the student's details in the textfields. when you've reached the last student and you click the button again, you want the file to be closed off and the label at the top …

Member Avatar for zwench
0
179
Member Avatar for cmatos15

instead of doing an if...else thing, perhaps a "switch" will be better? [code=java] private String getNumber( int i ) { switch ( i ) { case 0 : return "zero"; case 1 : return "one"; . . . } [/code] just for some reason i find doing more than one …

Member Avatar for Easter Bunny
-1
258
Member Avatar for redflame777

ok. you haven't told the program you are going to use all those variables that you have in there. you need to start off by listing your variables: [CODE] import java.util.Scanner; // scanner for input public class Payrollprogram { int id, pay, value... etc; //list the integers that the program …

Member Avatar for Easter Bunny
0
104
Member Avatar for kiboko

are the distances saved in a string array as well, or are they entered as strings by the user? to convert a string to an integer so that you can add and subtract etc, you should take a look at the Integer class. am i understanding you correctly there?

Member Avatar for Easter Bunny
0
76
Member Avatar for mrjoli021

what exactly is happening there? i did notice that i didn't see a return in your code there. also (this won't change the way the program functions), instead of saying "day = --day", you can say "day--".

Member Avatar for masijade
0
221
Member Avatar for naf87

i imagine he wants to get a list of all the processes running, like task manager?

Member Avatar for Easter Bunny
0
90
Member Avatar for Easter Bunny

i have a clients.dat file with client info in it. i have gone through it to find the record i want to delete, used PushBackBuffer to unread the one i want top delete, skipped that bit and carried on reading the rest and writing it to clients.tmp. after i have …

Member Avatar for Easter Bunny
0
142
Member Avatar for Easter Bunny

when i copied mp3's to my dad's harddrive (connected on my pc) i got this window popping up (this was quite some time ago). then about 5minutes ago i copied "format.exe" to a stiffy for a machine i want to install "virus98" on (i've got an old game that doesn't …

Member Avatar for DMR
0
344
Member Avatar for Easter Bunny

if you get that error, and it mentions that "savscan.exe" had some error and gives you a long number reference thing - i can't remember what it was, but it looks like this(or might even be this): Internal Error 2753: Savscan.exe.3333244e_f73a_407a_b74a_569a9e09d5b3 you've dug norton out of the registry, reinstalled it …

Member Avatar for ZR1-2
0
170
Member Avatar for Easter Bunny

i don't know how to explain it in the title, but this is what happens: at startup, you get to the loading screen(windows xp pro with the three moving blocks). as soon as that's done, you get the blueish screen that has "windows xp" just to the right of the …

Member Avatar for Easter Bunny
0
313
Member Avatar for mahes_

[QUOTE=mahes_]i know that..i was asking for smth like this... import java.util.Scanner Public class..{ public static void main(...) { variable; Scanner sc = new Scanner(System.in); Switch(choice) { case1 : System.out.print("ans" + mulTest()); } public static void mulTest() { }[/QUOTE] i don't think that would work. java is going to have a …

Member Avatar for mahes_
0
6K
Member Avatar for Easter Bunny

good day, i upgraded a pc from virus 98 to xp pro and i'm stuck with a freaking outlook express that doesn't work. if you open it, it says computer is out of memory or disk is full. the error number (i'm assuming it's the error number) is "0x80012ce, 3". …

Member Avatar for wharden
0
359
Member Avatar for switty

[QUOTE=server_crash]JButtons and KeyListeners.[/QUOTE] slap some jlabels on them, then put them on a jframe and some jpanels. post your code here and we'll point at out screens and say that should stay... that should go... and so on.

Member Avatar for switty
0
192
Member Avatar for davidlim

copied to my pc, compiled, changed [code] public String getAddEmployee(String id, String name, String hireDate, double pay) { return addEmployee = new; } [/code] to this: [code] public String getAddEmployee(String id, String name, String hireDate, double pay) { return addEmployee; } [/code] seems to work fine. didn't check if it …

Member Avatar for Easter Bunny
0
245
Member Avatar for Leo Vite

you could have an int which will say how many spaces to use and then while you are going through the loop and sticking down stars, you decrease the amount of spaces by one if the piramid gets fatter and then increase the spaces and decrease the amount of stars …

Member Avatar for Leo Vite
0
125
Member Avatar for Easter Bunny

hi guys. got a problem with norton. lady openen an email with an attachment and hey presto! norton disabled. eventually found and deleted the virus (wiwshost.exe - trojan.tooso.j) by scanning her harddrive with my pc. ran one of those tools from symantec as well, but it found nothing. now i'm …

Member Avatar for crunchie
0
135
Member Avatar for nccliang

[QUOTE=jwenting] Aren't we lucky it's so well documented in the API docs then?[/QUOTE] that's why i don't like c++. doesn't have documentation like java. studying computer science through correspondence and i have to do that.

Member Avatar for Easter Bunny
0
117
Member Avatar for gzero14
Member Avatar for server_crash

try getting the model of the combobox and then getting the selected item? i'll check my stuff and see what i do.

Member Avatar for server_crash
0
99
Member Avatar for freesoft_2000

chech this out, hopefully it's what you want. ;) [url]http://java.sun.com/developer/onlineTraining/Programming/JDCBook/advprint.html[/url]

Member Avatar for freesoft_2000
0
187

The End.