Search Results

Showing results 1 to 24 of 24
Search took 0.00 seconds.
Search: Posts Made By: K?! ; Forum: Java and child forums
Forum: Java May 13th, 2009
Replies: 7
Views: 296
Posted By K?!
Yes, someone told me that before, but I wasn't able to make it work at that time.

I got the program to work at the moment (also removing the previous panels), the only thing is that the program...
Forum: Java May 13th, 2009
Replies: 7
Views: 296
Posted By K?!
Clarification: If a JPanel is held by a JFrame and I want to use a method from the JFrame, but i'm coding in the JPane, then I need to be able to access the JFrame class while coding in the JPanel...
Forum: Java May 13th, 2009
Replies: 7
Views: 296
Posted By K?!
Hi masijade

In the meanwhile I found the answer to the problem, but (like usual) now there is another one :icon_wink: .

My main problem was, how can i control the JFrame. Like, when a class...
Forum: Java May 13th, 2009
Replies: 7
Views: 296
Posted By K?!
Hi all

I'm having trouble using panels in a GUI.
I created panels for steps through a programme. Like when you're installing something, you click "Next" and the GUI switches to the following...
Forum: Java May 7th, 2009
Replies: 4
Views: 337
Posted By K?!
Ok, thank you :)
I'll be trying that out ;)

Greets
Kenny
Forum: Java May 5th, 2009
Replies: 4
Views: 337
Posted By K?!
Hi all

Is it possible to use only the classes you need in a panel or something? I'm finding it hard to explain my question, i'll give an example:
We need to make a program to organise swimming...
Forum: Java Apr 2nd, 2009
Replies: 4
Views: 816
Posted By K?!
Ok, pitty, but thanks for the help.
Greets, Kenny
Forum: Java Apr 2nd, 2009
Replies: 4
Views: 816
Posted By K?!
Ok thanks, that's a possible solution.
But isn't there already a class in java that can store just an hour, minutes, seconds and milliseconds?
Edit: Or just minutes, seconds and milliseconds, cause...
Forum: Java Apr 2nd, 2009
Replies: 4
Views: 816
Posted By K?!
Hi all

Is there any class to store time in easily, without having to store a date too?

We have to create a program for swimming competitions. The swimmers in a match need a time (the time they...
Forum: Java Mar 27th, 2009
Replies: 5
Views: 347
Posted By K?!
Ok, thanks :icon_wink:
Forum: Java Mar 27th, 2009
Replies: 5
Views: 347
Posted By K?!
Hi

I have one more question.
I know I could test this, but we're still designing, and there's little time, so if anyone who already knows could just tell me that would come in quite handy.

Is...
Forum: Java Mar 24th, 2009
Replies: 5
Views: 347
Posted By K?!
Great, didn't know that was possible :)
Thanks, that's really a great help :)

Greets, Kenny.
Forum: Java Mar 24th, 2009
Replies: 5
Views: 347
Posted By K?!
Hi all

We have to create a program that will require a lot of database interaction.

I would like to create a JList with all events where a user can select an event he would like to edit.
Is...
Forum: Java May 15th, 2008
Replies: 9
Views: 2,744
Posted By K?!
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);
...
Forum: Java May 15th, 2008
Replies: 9
Views: 2,744
Posted By K?!
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: 2,744
Posted By K?!
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...
Forum: Java May 14th, 2008
Replies: 9
Views: 2,744
Posted By K?!
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...
Forum: Java May 13th, 2008
Replies: 9
Views: 2,744
Posted By K?!
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: 2,744
Posted By K?!
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,...
Forum: Java May 5th, 2008
Replies: 13
Views: 3,815
Posted By K?!
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: 3,815
Posted By K?!
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: 3,815
Posted By K?!
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: 3,815
Posted By K?!
Oh, thats nice to know :-O
Thank you :)

Greets, Kenny.
Forum: Java May 5th, 2008
Replies: 13
Views: 3,815
Posted By K?!
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 24 of 24

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC