natasha henry

Greenhorn
+ Follow
since Apr 12, 2007
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 natasha henry

thats the thing-the only thing that the ActionListener recognizes is the JOptionPane or the System.out etc., which it successfully executes but nothing else
16 years ago
i think i took the route of all-singing-all-dancing ActionListeners mr. campbell. i decided to apply it to my calculate button and the thing runs but when i click the calculate button there is basically no response, no functionality. i'm wondering if its because i included conditions in the method (if statements) under which it should run? take a look



this is where the action listener is





oh please add this class
so that the calculatory methods can be recognized



[ April 21, 2007: Message edited by: natasha henry ]
16 years ago
WOW- thank you for that little crash course on ActionListeners and it came just in time when i needed it most. i am going to get down to business and as soon as there is anything new i'll make sure to link you.

T----H----A-----N-----K
Y-----O-----U
16 years ago
oh-i thought you included the section for the calculations. so what do you recommend me to do bcuz i need to apply calculations to some of the text fields
16 years ago
if that is the case, could you repost what you have please so i can see what may be so different about it bcuz i am still getting the error messages
16 years ago
you mean that the package and the other class ran without any error and you were able to test the calculations in the textfields?
16 years ago
OK-i am going to show you the program that i am using in the tasha package to call the calculation methods. run these two together and then you will probably see my problem.


[ April 19, 2007: Message edited by: natasha henry ]
16 years ago
dittmer, craig and campbell, how are you? i just wanted you to know firstly that the tips did help alot and you know what, that long coding that i had, worked beautifully, as far as displaying the screen. however, i am at a standstill. i am trying to convert some string input into values by using the parseInt method but i keep getting the error message:
incompatible type found void, required int

get back to me as soon as possible please and lots of love out to you guys.

16 years ago
mr dittmer because of the question of time
i simply am going to resort to creating an application of this program instead of running it as an applet.
thank you for your time
16 years ago
i am going to do what you recommend but i realize that my java software is very very old because it doesn't have the scanner utility in java io and it doesn't even have printf in its the java PrintStream. i am in the process of downloading another software. i'll be back
thanks
16 years ago
oh! sorry if i gave the wrong impression with the all caps

that tip really worked though-thank you

the applet is located in: "G ocuments\Display\Runprogram"

my applet tag is:

<applet
codebase="."
code="Runprogram.Welcome.class"
width="250"
height="250"
>
</applet>



[ April 15, 2007: Message edited by: natasha henry ]

[ April 15, 2007: Message edited by: natasha henry ]
[ April 15, 2007: Message edited by: natasha henry ]
16 years ago
they are occurring at lines 344 and 65
DBrx tester=new DBrx();
and
String name= String.valueOf(customerName.getText());
16 years ago
ANOTHER THING-I HAVE BEEN TRYING FOR THE LONGEST WHILE TO RUN THE APPLET TAG THAT IS IN AN HTML FILE BUT I JUST SEE THE WORDS AND NOT THE APPLET. IF MY BROWSER IS NOT JAVA ENABLED HOW DO I MAKE IT LIKE THAT?
COULD YOU DO A TEST RUN FOR ME AND TELL ME WHAT EXACTLY I AM TO DO?



TANKS A WHOLE HEAP MAN!!!
16 years ago
THANK YOU DITTMER THAT MADE SOME DIFFERENCE BUT SEE IF YOU CAN DIRECT YOUR ATTENTION TO THE IF PART OF THE CODE-I HAVE INDICATED A RECURRING ERROR MSG

16 years ago
thank you for that pointer mr.campbell-the coding is getting there-its almost at the point of completion despite the hundreds of lines to debug. the only problem i have is that i am still get a nullpointer exception at lines 344 and 65.
before i even continue though thank you so much craig wood, campbell ritchie and ulf dittmer, you really really really helped. just one more time and i will be out of hair
SMOOCHES!

HERE IS WHAT I HAVE NOW COMPILE IT AND TELL ME WHAT YOU THINK

16 years ago