Search Results

Showing results 1 to 18 of 18
Search took 0.00 seconds.
Search: Posts Made By: kimbokasteniv ; Forum: Java and child forums
Forum: Java Jun 17th, 2009
Replies: 2
Views: 301
Posted By kimbokasteniv
Alright, that is helpful information. I think that is all I need to know for my purposes, thanks for the help.
Forum: Java Jun 16th, 2009
Replies: 2
Views: 301
Posted By kimbokasteniv
So I am writing a voice activated recording program, and one of the things I would like it to do is plot the current and past volume level on a JPanel.

Write now I am simply reading one byte from...
Forum: Java Apr 2nd, 2008
Replies: 8
Views: 871
Posted By kimbokasteniv
Alright, the combination of those posts resulted in a pretty comprehensive answer. It even answered another question I had on the effects of instantiating within a loop opposed to before it. So,...
Forum: Java Apr 2nd, 2008
Replies: 8
Views: 871
Posted By kimbokasteniv
So, readability aside, it is more efficient to do a fairly simple calculation two or three times than to store the result?

The code in question is going to be called every time the paintComponent...
Forum: Java Apr 1st, 2008
Replies: 8
Views: 871
Posted By kimbokasteniv
When is it more efficient to store the value of a calculation than perform that calculation 2 or more times?

I have always been under the impression that performing a simple arithmetic calculation...
Forum: Java Sep 6th, 2007
Replies: 7
Views: 4,651
Posted By kimbokasteniv
If you got errors when compiling, then I suspect that you did not declare s as a static variable.

You may already be aware of this, but it seems you would have to divide length by two otherwise...
Forum: Java Sep 5th, 2007
Replies: 7
Views: 4,651
Posted By kimbokasteniv
Hmmm, my guess would be that you either pass s as another parameter or instantiate s outside of the method. If you choose the latter you will have to reset s once length = 0.
That's my guess...
Forum: Java Feb 14th, 2007
Replies: 4
Views: 1,251
Posted By kimbokasteniv
Thanks for the reply cudmore, I should be able to find the information I need with the links you provided.

Jwenting, after searching through the index of the current book I'm using: "Fundamentals...
Forum: Java Feb 13th, 2007
Replies: 4
Views: 1,251
Posted By kimbokasteniv
A friend of mine and I are taking an external computer science test. While studying the review it has become apparent that some of the syntax presented is quite unfamiliar.
Here are a few examples:...
Forum: Java Feb 6th, 2007
Replies: 2
Views: 984
Posted By kimbokasteniv
Thanks; I should be able to find any other information with what you have given me.
Forum: Java Feb 6th, 2007
Replies: 2
Views: 1,994
Posted By kimbokasteniv
As for learning swing, try this page:
http://java.sun.com/docs/books/tutorial/uiswing/TOC.html
Forum: Java Feb 6th, 2007
Replies: 2
Views: 984
Posted By kimbokasteniv
I was going through the questions in my study guide for computer science, and I noticed a few blocks of code that contained syntax that I had never used before.

My first question is on the ^...
Forum: Java Jan 2nd, 2007
Replies: 3
Views: 1,320
Posted By kimbokasteniv
Thanks, I was not aware of that.
In the end what I ended up doing was compiling it through the command prompt. Then I changed the current directory I was viewing to that of the java file. Then using...
Forum: Java Jan 2nd, 2007
Replies: 3
Views: 1,320
Posted By kimbokasteniv
I've never actually ran a CLI based program outside of bluej.
And after exporting one of my programs to a jar, I noticed I was not able to get any results when double clicking the jar.
So, I'm...
Forum: Java Nov 22nd, 2006
Replies: 3
Views: 2,266
Posted By kimbokasteniv
I think you may be best off using KeyboardReader to take input.
And you definitely have to use Ancient Dragon's suggestion for the bubble sort.
Forum: Java Nov 22nd, 2006
Replies: 2
Views: 1,085
Posted By kimbokasteniv
Yeah the File Class should have all the methods that you would need.
http://java.sun.com/j2se/1.3/docs/api/java/io/File.html
Forum: Java Nov 22nd, 2006
Replies: 1
Views: 7,131
Posted By kimbokasteniv
Let me focus the question.
When updating a JList would this code do the trick:


public void updateList(JList list, ArrayList objs)
{
DefaultListModel listModel =...
Forum: Java Nov 22nd, 2006
Replies: 1
Views: 7,131
Posted By kimbokasteniv
So this is my first attempt at a GUI in swing, and so far things seem to have been going somewhat smoothly.
However I am un-able to update a JList named objectsL.
I imagine this is because I have...
Showing results 1 to 18 of 18

 


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

©2003 - 2009 DaniWeb® LLC