joe kane

Greenhorn
+ Follow
since Jan 26, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by joe kane

Thanks for that, but im just looking for a simply definiction of the following question
e.g. A constructor initializes the instance of a class, it must have the same name as its class, it cannot specify a return type or a return value.
Thats all, I intend reviewing the code also.
Thanks In advance Joe....
19 years ago
Hello all,
I have a few questions I cant seem to find the answers too.
1. Define, Public, Private & Protected
2. What is a constructor
3. What is inheritance
Thats all, if you know the answers please let me know.
Thanks Joe......
19 years ago
Hi all,
I want to make a input box with two inputs using JOptionPane,
e.g.
Message Box
___________________________________________
First Name: [____]
Second Name: [____]
___________________________________________
with an information message, how would I do this?
Thanks in advance Joe Kane
20 years ago
Thanks for that, but I am a noob to Java and do not fully understand your code,
where do I put the "inputDialog" etc...
Message Box
___________________________________________
First Name: [____]
Second Name: [____]
___________________________________________
with an information message, how would I doo this?
Thanks in advance Joe Kane
20 years ago
Hi all,
I was wondering is it possible for there to be 2 input boxes in one JOptionPane?

This Displays 1 input box but can I have two?
e.g.

Is it possible?
Thanks loads in advance
Thanks Joe Kane
20 years ago
Hi all,
I was wondering is it possible for there to be 2 input boxes in one JOptionPane?

This Displays 1 input box but can I have two?
e.g.

Is it possible?
Thanks loads in advance
Thanks Joe Kane
20 years ago
Thanks for that Jeanne.....
20 years ago
Hi all,
Hi,
I was wondering how do you validate an inputbox so that only letters can be entered?


I know this validates it so only number can be entered, but what for the other way around?
Thanks loads in advance
Joe Kane
20 years ago
Anyone have any ideas,
Thanks in advance joe kane
20 years ago
Hi,
I was wondering how do you validate a inputbox so that only letters can be entered e.g. A --> Z

I know this validates it so only number can be entered, but what for the other way around?
Thanks Joe Kane
20 years ago
Hi,
Creating the input for the user so they can input there name & Start time & finish time.
Thanks joe.....
20 years ago

Here is the code I have to validate the time in TIME.java (Class)
20 years ago
Hi all,
I want to write a programe that does the following:
An input where the user can enter their,
1.Name / 2.Start time / 3.Finish time (24hr Clock & 2 decimal places)
Then the program displays their Name and how many hours between start & finish.
I know I need different classes
e.g. Time.java --> to validate the time
Employee.java
EmployeeTest.java
I am a noob to the Java, any help is much apricated, I will post my code ASAP
Thanks joePC
20 years ago
Thanks for the help, but im very new to java and im not too sure where the code goes for the decimal format...?

Here is the program I have, it works 100%, it just needs the decimal format on 3 numbers,
Thanks loads in advance if you can help.....
Thanks joe Kane
20 years ago
I was wondering how do you, when returning a value that can have loads of decimal places how would you stop it at only two decimal places..
Thanks in advance joe kane
20 years ago