Forum: PHP Sep 4th, 2008 |
| Replies: 1 Views: 281 |
Forum: PHP Sep 4th, 2008 |
| Replies: 1 Views: 281 |
Forum: MySQL Aug 28th, 2008 |
| Replies: 2 Views: 274 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 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 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 |
Forum: *nix Hardware Configuration Jul 2nd, 2008 |
| Replies: 3 Views: 2,294 |
Forum: *nix Hardware Configuration Jun 25th, 2008 |
| Replies: 3 Views: 2,294 |
Forum: *nix Hardware Configuration Jun 24th, 2008 |
| Replies: 3 Views: 2,294 |
Forum: Java May 15th, 2008 |
| Replies: 9 Views: 1,014 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 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 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 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 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 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 |
Forum: Java May 5th, 2008 |
| Replies: 13 Views: 1,411 |
Forum: Java May 5th, 2008 |
| Replies: 13 Views: 1,411 |
Forum: Java May 5th, 2008 |
| Replies: 13 Views: 1,411 |
Forum: Java May 5th, 2008 |
| Replies: 13 Views: 1,411 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... |