Kacper Szmigiel

Greenhorn
+ Follow
since Sep 18, 2012
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kacper Szmigiel

Hey, dude, but internet is polish But, as you wish:





Hope it's ok.
11 years ago
Hello! Can you tell me what's wrong with this code? I turn on server, client - everything is ok, connection etc. But when I write something on client's input sender's thread is just stopping the program. Client doesn't send anything (there isn't any comunicate) and we can't write anything. Here's the client's code:



And server:

11 years ago
Hello. I'm making some small, console, text game, and I want to play music (in MP3 format) in the background. Is it possible?



If I need some special libs, what libs do I need, and how to use them (other source of information than documentation).
Greets, Kacper.
11 years ago
OK, I'vegot it. ClassB just extends ClassA and ObjectA is declarated as ClassA's variable.
Thanks.
11 years ago
Hello.
I have a short question. How to make object available for every method? For example i want to make object A of class ClassA and run A.make(); in one of ClassB's method. Is it available?
I greet, Kacper.
11 years ago

fred rosenberger wrote:Throw all your code away.



Done!

fred rosenberger wrote:sit down with pencil and paper, and write out what your code needs to do first.



Working on this

Any other advices?
11 years ago
So... I'm writing some short text game in console. Why? I just line these games. I already have something about 100 lines of code (intro etc.) but I don't really know anything about making text games. Do you have any technical tips for me? Any special libraries? Some Java API libs that I should to know? Greetings, Kacper.
11 years ago
Oh yeah, my fault. It's about line 24, and the full text of error is:

error: cannot find symbol
przycisk.setText("Zostałem kliknięty");
symbol: variable przycisk
location: class ProstyGUI1



Also, I've compared example from Head First. Java. and my own code. And there's the diffrence:

In my code:



And in the example:



So does the way I will make JButton przycisk (as a component of class or as variable in method). It's all about the diffrence between local and global?
11 years ago
Sorry, bad button
11 years ago


I get "variable przycisk of type Object" in line 26, during compiling. Why?
11 years ago
Wow, I'm impressed. It's not often to found programmers that old, even in internet
11 years ago

Ivan Jozsef Balazs wrote:Anyway, if someone started programming earlier, in good old Cobol, Fortran or C days



What the hell? Are you 60 years old?
11 years ago

Ivan Jozsef Balazs wrote:
The Polish Notation is always welcome ;-)



Not in every corner of the internet, trust me

Here is final, compiled version of my program. Unzip it and type: java directory/glowna

http://speedy.sh/MxXxK/Fibonacci-numbers.rar

And here you have code:

http://speedy.sh/QEWM5/Fiboncci-numbers-code.rar

EDIT.

>Who knows what "a" and "v" stand for in Polish?

Nothing
11 years ago
Thank you all for answers. It was important to me 'cause of my Fibonacci Numbers program. I've made it by this:



11 years ago
"Thread.sleep called in infine loop." What's wrong? It's by Kemal's method.
11 years ago