O
OziRus
Hi,
I'm new at Java programming language. I know a bit of C-sharp
language. I wrote a game in C-sharp for fun. It is a memory/find-match
game (like Pairs in old Nokia mobile-phones). I wrote it in C# in 4-5
hours with great helps of Visual Studio 2005. But now, I have to write
it in Java for my supererogatory homework.
I've some-little problems with Java that I can solve in C-sharp easily
but not in Java. First of all; In C# , I define a picturebox array to
keep my images in like; "PictureBox[] boxes = new PictureBox[17]" but
I don't know how to do that in Java. I have no PictureBox control -and
also an array- (by the way, I'm using NetBeans IDE).
Second of all; I bind all of my boxes to my event handler picBox_Click
with writing Box.Click -= new EventHandler(picBox_Click) in a
loop ; but again, I don't know how to do that in Java... I know this
languages have different paradigms in these topics but I couldn't get
it yet.
Thanks for your help...
I'm new at Java programming language. I know a bit of C-sharp
language. I wrote a game in C-sharp for fun. It is a memory/find-match
game (like Pairs in old Nokia mobile-phones). I wrote it in C# in 4-5
hours with great helps of Visual Studio 2005. But now, I have to write
it in Java for my supererogatory homework.
I've some-little problems with Java that I can solve in C-sharp easily
but not in Java. First of all; In C# , I define a picturebox array to
keep my images in like; "PictureBox[] boxes = new PictureBox[17]" but
I don't know how to do that in Java. I have no PictureBox control -and
also an array- (by the way, I'm using NetBeans IDE).
Second of all; I bind all of my boxes to my event handler picBox_Click
with writing Box.Click -= new EventHandler(picBox_Click) in a
loop ; but again, I don't know how to do that in Java... I know this
languages have different paradigms in these topics but I couldn't get
it yet.
Thanks for your help...