Search Results

Showing results 1 to 29 of 29
Search took 0.01 seconds.
Search: Posts Made By: toomuchfreetime
Forum: Java Oct 9th, 2009
Replies: 4
Views: 181
Posted By toomuchfreetime
Looks like you have the variables set up the wrong way around


#
public void setVarX( String X ){
#
X = VarX;}


Try it this way
Forum: Java Oct 9th, 2009
Replies: 5
Views: 243
Posted By toomuchfreetime
Anyone willing to give me a few points on my problem here. I would appreciate it very much. At the moment i think i will just stay with the java. But would like to know what everyone else thinks
...
Forum: PHP Oct 7th, 2009
Replies: 15
Views: 506
Posted By toomuchfreetime
Hey are you using mysql command line utility? Your text looks out to me. there is no 'd' in mysqld.sock

i.e /var/run/mysqld/mysql.sock

Not
Forum: Java Oct 7th, 2009
Replies: 3
Views: 175
Posted By toomuchfreetime
It look to me like you have all the code you need in front of you.

Copy the 'setBase(double newBase)' method in the Triangle class and redo it so that it sets the height. as you are already...
Forum: Java Oct 7th, 2009
Replies: 2
Views: 305
Posted By toomuchfreetime
Mmm i don't think it works like that around here. How about you post your code and we can see then if we can help you with it.
Forum: Java Oct 7th, 2009
Replies: 5
Views: 243
Posted By toomuchfreetime
For me it probably would be as i have more experience with java. But i want to do this right and dont mind using an other language if it is the right path to go down.

I just need help in choosing...
Forum: Java Oct 7th, 2009
Replies: 5
Views: 252
Posted By toomuchfreetime
When you say reads do you mean reading from file or just a mistype? I think you mean read from an array. This can be done by checking each number in the array and seeing if they are devisable by 2....
Forum: Java Oct 7th, 2009
Replies: 5
Views: 243
Posted By toomuchfreetime
Thanks for your reply 0805638. I've programed with c as well in fact this year i'm using c in an opengl module and a real time system module. It's good but i prefer the more modern languages...
Forum: Java Oct 6th, 2009
Replies: 5
Views: 243
Posted By toomuchfreetime
Hey all,

I'm doing my final year in collage and have come up with an idea of using rfid readers and chips to track peoples movement within a defined zone.

I've been told that i will be...
Forum: Java Apr 24th, 2008
Replies: 1
Views: 6,172
Posted By toomuchfreetime
Hey

I'm trying to get a splash screen going for my application but having a problem in finding the image once the splash screen is called it returns a null.

I'm trying to use the java standard...
Forum: Java Apr 7th, 2008
Replies: 1
Views: 4,143
Posted By toomuchfreetime
Hey

I'm building a application and using JTree to navigate between the functions. This is working but can't figure out how to set up the JTree to have different icons for each node.

I can have...
Forum: DaniWeb Community Feedback Mar 15th, 2008
Replies: 23
Views: 16,126
Posted By toomuchfreetime
Hey
Was just wondering if there is a way to un-attach, Attachments in a thread?

Because i was having problem with my project and i put problem code up and an attachment of my hangman.java...
Forum: Java Mar 13th, 2008
Replies: 16
Views: 14,265
Posted By toomuchfreetime
Look your right.

I was just saying when Trogan first posted the problem he supplied all the values for the array which led me too see that they were all positive. which led to my answer to that...
Forum: Java Mar 13th, 2008
Replies: 0
Views: 2,269
Posted By toomuchfreetime
I'm having a really anoying problem with my picture display for a kids game. In the code supplyed i've only given the
PicPanel where the picture function is placed.
ButtonHandler where the...
Forum: Java Mar 13th, 2008
Replies: 16
Views: 14,265
Posted By toomuchfreetime
No as Trogan said the values were all positive then this bit of code works. And it will pick out the max number.



int max = 0;

for (int i = 0; i < array.length; i++)
{

if(max <...
Forum: Java Mar 12th, 2008
Replies: 16
Views: 14,265
Posted By toomuchfreetime
Try something like this. It should do the trick.

This is one of the basic control statements for assessing values in arrays.
Good luck.




max = 0;
Forum: Java Mar 11th, 2008
Replies: 5
Views: 2,838
Posted By toomuchfreetime
Thanks a lot for that. I know the code is probably bad practice but you got to learn some way.
Answer was right in front of me!!! as you said just make it global.

Got JMenu working with different...
Forum: Java Mar 11th, 2008
Replies: 5
Views: 2,838
Posted By toomuchfreetime
well what i'm trying to do is keep each JPanel separate from the main program and define them there and then do the actions etc from the main.

I know it probilly is not right as i only starting...
Forum: Java Mar 11th, 2008
Replies: 5
Views: 2,838
Posted By toomuchfreetime
Hey

Seem to be having a problem updating a JLabel updateScore() and don't seem to know why.
this is effecting my keeping score. I know it something small but for life of me can't figure it out....
Forum: Java Mar 2nd, 2008
Replies: 5
Views: 990
Posted By toomuchfreetime
Sorted it.

It was my own fault when you look at a problem for too long the obvious answer is overlooked on mycase.:$ the problem is i was calling the wrong term for my ActionListener. this was...
Forum: Java Mar 2nd, 2008
Replies: 5
Views: 990
Posted By toomuchfreetime
Globally declared


String[] difLevel ={"Easy", "Normal", "Hard"};
JRadioButtonMenuItem[] difficulty;
ButtonGroup radioGroup = new ButtonGroup();
ButtonHandler ItemHandler = new...
Forum: Java Mar 2nd, 2008
Replies: 5
Views: 990
Posted By toomuchfreetime
Thanks alot for that.

it's a great help spent last hour and a bit at it and i can see that it will work but can't figure out how to addActionListener(ItemHandler) to work.

not sure what way...
Forum: Java Mar 1st, 2008
Replies: 5
Views: 990
Posted By toomuchfreetime
Hey

I've been writing this hangman code for last week in college. and nearly got it finished but am after running into a problem. i want to run two different button handlers but can not figure...
Forum: Java Feb 27th, 2008
Replies: 1
Views: 956
Posted By toomuchfreetime
Thanks
Anyway i just figured it out. Its alwas the way. wrecking my head for ages and once i post it i figure it out myself.

show = pickWord.replaceAll("[a-z]"," _ ");
Forum: Java Feb 27th, 2008
Replies: 1
Views: 956
Posted By toomuchfreetime
Hey
can any one help me i'm doing a hangman program and want to display blanks where a to z is. how can i do this?

I've got it replacing "a" but can't get it to replace the rest i.e. b to z
...
Forum: C++ Dec 10th, 2006
Replies: 10
Views: 1,956
Posted By toomuchfreetime
thanks alot i shall try that this evening and let you know how i get on tomorrow.

and the reason i'm not using vectors is because we are not allowed. we have to make dynamic arrays using a...
Forum: C++ Dec 8th, 2006
Replies: 10
Views: 1,956
Posted By toomuchfreetime
The following is a project that i'm working on at the moment and as i say is work in progress but having huge problem in trying to have a dynamicly re-sized array once the array gets too big.

in...
Forum: C Nov 30th, 2006
Replies: 3
Views: 1,886
Posted By toomuchfreetime
Sorry now but still not sure how to implement it into my programme:confused: rough example follows::::




#define MAX_PERSONS 100


struct array
{
Forum: C Nov 30th, 2006
Replies: 3
Views: 1,886
Posted By toomuchfreetime
Hey everyone new to the board and in a bit of bother.

I've got this assignment thats been plaging me for two weeks but i can't do this one bit as i just don't get it.

I've got to write a...
Showing results 1 to 29 of 29

 


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

©2003 - 2009 DaniWeb® LLC