Dominik Pawlocki

Greenhorn
+ Follow
since Oct 31, 2001
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 Dominik Pawlocki

Hi all!!!
I wrote a small database and I want the errors to be describen in a small independent window which requests the focus completly.There is an error message (in that error window)and a small "ok" button, and I want to disable focus to my application completly until that button is pressed( then the error window disappears).I thought about the requestFocus() method, but it doesn't disable access to the other windows.I hope I made a clear explain ;-) English isn't my native language.
Thank's for help
22 years ago
Hi all !!!
Why does this code :
static double number;
for ( int i=0;i<=200;i++) {
number = i/100 ;
System.out.println("number "+ number);
}
returns variable 'number' as integer ??? Things getting better when variable 'i' is changed to double.
It is important in my program to count a double from two integers( cannot change this int's into doubles).
22 years ago
Why does this code doesn't work??? (it doesn't show wordHello!! in TextArea and it doesn't show wordControl)

[This message has been edited by Cindy Glass (edited December 17, 2001).]
22 years ago
Hi everyone
I need one frame to plot a graph and the second with TextAreA to print the graph's calculation values (the same application of course).How shall I do this? Shall I make two classes?
22 years ago
Hi all ;-)
Situation:
I'm writing an math application,and I need some fields in my GUI to enter the calculation params(lenght for example).
The TextField with getText method (you have explained me grately) returns a String;I need the method read a double or int from the field to use in aplication's further calculations.
How shall I do this?
And what about sending the result back to my window? (setText or drawText use Strings too)
Thank's very much.
22 years ago
How can I read the string entered in my window's TextField or TextArea after the Enter is pressed?
I know how to use the KeyListener to Enter pressing detect,but I don't know how to read this text from my TextField.
22 years ago