User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 455,999 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,794 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 20 of 20
Search took 0.01 seconds.
Posts Made By: K?!
Forum: PHP Sep 4th, 2008
Replies: 1
Views: 281
Posted By K?!
Re: Looping through the first row of a 2 dimensional array

Problem solved, the code itself worked, the problem was that i made a mistake putting the data from the database into this 2 dimensional array, everything was placed in $matches[0]...

Greets, K?!
Forum: PHP Sep 4th, 2008
Replies: 1
Views: 281
Posted By K?!
Looping through the first row of a 2 dimensional array

What's wrong about this code?
($matches is a 2 dimensional array)

for($i = 0; $i < count($matches); $i++)
{
echo $matches[$i][0]->getName_team_home()."<br />";
}

It's not the actual code, it's just...
Forum: MySQL Aug 28th, 2008
Replies: 2
Views: 274
Posted By K?!
Re: Sorting

Oh, i think my description was wrong. I meant that there should be 2 levels of sorting (maybe more, but these 2 levels are the problem).

Example: [Allstars vs. Bulls] contains
Team_match:
*...
Forum: MySQL Aug 27th, 2008
Replies: 2
Views: 274
Posted By K?!
Sorting

Hi, i don't know how to do the following or even if it's possible.

These are 3 tables from my database sport:
[team]-|-----<-[team_match]->-----|-[match]


Team:

id (int)
name (text)
Forum: PHP Aug 16th, 2008
Replies: 4
Views: 486
Posted By K?!
Re: Php's alternative to Java's "this" and "super"

Thank you :-).
Greets, K?!

Edit: Synking, i don't know if javascript uses this and super, but i meant java.
"This" and "super" are used to another variable then the one you would use normally. For...
Forum: PHP Aug 14th, 2008
Replies: 4
Views: 486
Posted By K?!
Php's alternative to Java's "this" and "super"

I'd like to know if there is an alternative to "this" and "super" from Java in PHP.

Greets, K?!
Forum: *nix Hardware Configuration Jul 2nd, 2008
Replies: 3
Views: 2,294
Posted By K?!
Re: Ubuntu: problem connecting to router (wired as well as wireless)

Me again, it's not a bump.
The problem is solved, though i have to say there's been a whole history :p

First i installed PCLinuxOs 2007 as dual boot with Vista, but both systems hung sometimes.

So...
Forum: *nix Hardware Configuration Jun 25th, 2008
Replies: 3
Views: 2,294
Posted By K?!
Re: Ubuntu: problem connecting to router (wired as well as wireless)

Another problem found: I said thet i was able to connect to the internet if i used the utp cable that was connected directly to the cable-modem. But it seems that this connection only lasts for the...
Forum: *nix Hardware Configuration Jun 24th, 2008
Replies: 3
Views: 2,294
Posted By K?!
Ubuntu: problem connecting to router (wired as well as wireless)

Hey everyone

I'm having a problem with connecting to my router with Ubuntu (the newest version).
As well wired as wireless connection hass problems.

I'm able to connect to the internet with the utp...
Forum: Java May 15th, 2008
Replies: 9
Views: 1,014
Posted By K?!
Re: Creating Hover Effect for JButton

Ok guys, found it :).

In stead of trying to do this:
btnCard[evt.getComponent().getActionCommand()].setBackground(Color.GREEN);
I can do this:
evt.getComponent().setBackground(Color.GREEN);

Thanks...
Forum: Java May 15th, 2008
Replies: 9
Views: 1,014
Posted By K?!
Re: Creating Hover Effect for JButton

By the way, freshface001,

I thought your suggestion was the same like Ezzaral's, so i decided to copy his code instead.
Is it really the same or am i wrong?

Thanks for helping.
Greets.
Forum: Java May 15th, 2008
Replies: 9
Views: 1,014
Posted By K?!
Re: Creating Hover Effect for JButton

Well, the problem is, the buttons don't have any text. Only an image of a card.
That's why i was told to use "setActionCommand()" and "getActionCommand()".

I tried to use getActionCommand() on the...
Forum: Java May 14th, 2008
Replies: 9
Views: 1,014
Posted By K?!
Re: Creating Hover Effect for JButton

Thanks for the help already.

It should work but there's still one problem.
I'm using an array of buttons (12). Somehow i'd have to be able to access the number of the button in the array. I was told...
Forum: Java May 13th, 2008
Replies: 9
Views: 1,014
Posted By K?!
Re: Creating Hover Effect for JButton

No, something that changes about the button.
Like a link on a webpage: e.g. it gets underlined when the arrow hovers above it.

Thanks in advance.
K?!
Forum: Java May 13th, 2008
Replies: 9
Views: 1,014
Posted By K?!
Creating Hover Effect for JButton

Hello

I'd like to create a hover effect for JButtons, but i can't find it for the moment.

It doesn't have to be antything spectacular, it just has to be visible.

Thanks in advance.
Greets, K?!.
Forum: Java May 5th, 2008
Replies: 13
Views: 1,411
Posted By K?!
Re: Action Listener for an Array of Buttons

K :).

By the way, it works.
Not the whole game ofcourse, but at least my action handler works :)
Forum: Java May 5th, 2008
Replies: 13
Views: 1,411
Posted By K?!
Re: Action Listener for an Array of Buttons

Thank you for your help masijade.

Sorry if it looks like i'm trying to let others make my project ;).
It's not what i meant to do :).

Greets, Kenny.
Forum: Java May 5th, 2008
Replies: 13
Views: 1,411
Posted By K?!
Re: Action Listener for an Array of Buttons

I'm encountering the folowing problem, i can't access my counter.

That way, i can't access my cards :(.

Any hints?
Thanks in advance.

Greets.
Forum: Java May 5th, 2008
Replies: 13
Views: 1,411
Posted By K?!
Re: Action Listener for an Array of Buttons

Oh, thats nice to know :-O
Thank you :)

Greets, Kenny.
Forum: Java May 5th, 2008
Replies: 13
Views: 1,411
Posted By K?!
Action Listener for an Array of Buttons

Hello everyone

As you can see, this is my first post.
We're trying to write a cards game and it uses 12 cards.
Someone taught me to put the buttons in an array, which i think is a really good...
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 9:50 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC